diff options
author | Alexis211 <alexis211@gmail.com> | 2009-10-20 18:30:50 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-10-20 18:30:50 +0200 |
commit | 90b49b6f171108f272ff529f7546bd9625ca7d17 (patch) | |
tree | c32f714fc7936867decb3a359effbc1f5c07dc64 /Source/Kernel/TaskManager/Thread.class.h | |
parent | 866580161b826443bed3862b8315cefd505de37c (diff) | |
download | Melon-90b49b6f171108f272ff529f7546bd9625ca7d17.tar.gz Melon-90b49b6f171108f272ff529f7546bd9625ca7d17.zip |
Implemented static syscalls, specific to a class and not an object.
Diffstat (limited to 'Source/Kernel/TaskManager/Thread.class.h')
-rw-r--r-- | Source/Kernel/TaskManager/Thread.class.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Kernel/TaskManager/Thread.class.h b/Source/Kernel/TaskManager/Thread.class.h index 5938e2e..35a9fd6 100644 --- a/Source/Kernel/TaskManager/Thread.class.h +++ b/Source/Kernel/TaskManager/Thread.class.h @@ -43,6 +43,8 @@ class Thread : public Ressource { u32int finishSC(u32int errcode); public: + static u32int scall(u8int, u32int, u32int, u32int, u32int); + Thread(thread_entry_t entry_point, void* data, bool iskernel = false); //Assumes process is current process, or is kprocess if isk Thread(Process* process, thread_entry_t entry_point, void* data); ~Thread(); |