3.9.37 Manage CPU Registers and Error Handler

osGetCount - Get the count register of CPU.
osGetIntMask - Get the interrupt mask.
osSetIntMask - Set the interrupt mask.
osSetErrorHandler - Set the error handling routine of the debug library.