CPU Internal Register Access & Error Handler
osGetCount
...
Gets the CPU's count register.
osGetIntMask
...
Gets the interrupt mask.
osSetIntMask
...
Sets the interrupt mask.
osSetErrorHandler
...
Sets the debug library's error handling routine.