diff options
author | Alexis211 <alexis211@gmail.com> | 2010-03-02 17:21:32 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2010-03-02 17:21:32 +0100 |
commit | 6266a24cd2f71a0bad0e55c1eedd480790868c0f (patch) | |
tree | cc0c8c9f36ffa29ee3a1aa3ebafaff05f654e442 /src/library/grapes/syscall.c | |
parent | 3e1998280319e8060e797ca39b3b0b1bc766d569 (diff) | |
download | TCE-6266a24cd2f71a0bad0e55c1eedd480790868c0f.tar.gz TCE-6266a24cd2f71a0bad0e55c1eedd480790868c0f.zip |
old uncommited changes commited
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); +} |