Sketch Timer and implement Interrupt support
This commit is contained in:
@@ -40,10 +40,13 @@ enum __syscall_PriorityChain {
|
||||
static __constexpr const uint32_t SkipHandler = 0;
|
||||
static __constexpr const uint32_t ExecuteHandler = 1;
|
||||
|
||||
typedef uint32_t (*InterruptVerifier)();
|
||||
typedef uint32_t (*InterruptHandler)(uint32_t);
|
||||
|
||||
struct __no_align __syscall_InterruptElement {
|
||||
struct __syscall_InterruptElement *next;
|
||||
void (*handler)(uint32_t);
|
||||
uint32_t (*verifier)();
|
||||
struct __syscall_InterruptElement* next;
|
||||
InterruptHandler handler_function;
|
||||
InterruptVerifier verifier_function;
|
||||
uint32_t notUsed;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user