diff options
Diffstat (limited to 'src/library/grapes/syscall.c')
-rw-r--r-- | src/library/grapes/syscall.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library/grapes/syscall.c b/src/library/grapes/syscall.c index a00d9e8..38adc01 100644 --- a/src/library/grapes/syscall.c +++ b/src/library/grapes/syscall.c @@ -29,3 +29,7 @@ void printk(char* str) { void thread_new(void (*entry)(void*), void *data) { call(5, (unsigned)entry, (unsigned)data, 0, 0, 0); } + +void irq_wait(int number) { + call(6, number, 0, 0, 0, 0); +} |