Changed the use of critical sections to instead use scheduler locking as the BIOS functions exit with interrupts enabled no matter what the state when the BIOS function was called.
Changed the use of critical sections to instead use scheduler locking as the BIOS functions exit with interrupts enabled no matter what the state when the BIOS function was called.

FreeRTOS/FreeRTOS-Kernel,FreeRTOS/FreeRTOS-Kernel