| 31 | } |
| 32 | |
| 33 | void OSInitAlarm(void) |
| 34 | { |
| 35 | if (__OSGetExceptionHandler(8) != DecrementerExceptionHandler) |
| 36 | { |
| 37 | AlarmQueue.head = AlarmQueue.tail = NULL; |
| 38 | __OSSetExceptionHandler(8, DecrementerExceptionHandler); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | void OSCreateAlarm(OSAlarm* alarm) |
| 43 | { |
no test coverage detected