From 90b49b6f171108f272ff529f7546bd9625ca7d17 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Tue, 20 Oct 2009 18:30:50 +0200 Subject: Implemented static syscalls, specific to a class and not an object. --- Source/Library/Interface/Process.iface.h | 4 ++++ Source/Library/Interface/Thread.iface.h | 4 ++++ Source/Library/Interface/VirtualTerminal.iface.h | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'Source/Library/Interface') diff --git a/Source/Library/Interface/Process.iface.h b/Source/Library/Interface/Process.iface.h index fe70833..2126dc6 100644 --- a/Source/Library/Interface/Process.iface.h +++ b/Source/Library/Interface/Process.iface.h @@ -2,6 +2,10 @@ #define DEF_PROCESS_IFACE_H #define PRIF_OBJTYPE 0x20 + +//S = static, GET = get, C = current, PR = process +#define PRIF_SGETCPR 0 + #define PRIF_EXIT 0x01 #define PRIF_ALLOCPAGE 0x02 #define PRIF_FREEPAGE 0x03 diff --git a/Source/Library/Interface/Thread.iface.h b/Source/Library/Interface/Thread.iface.h index ac572b4..0dac2e1 100644 --- a/Source/Library/Interface/Thread.iface.h +++ b/Source/Library/Interface/Thread.iface.h @@ -2,6 +2,10 @@ #define DEF_THREAD_IFACE_H #define THIF_OBJTYPE 0x21 + +//S = static, GET = get, C = current, TH = thread +#define THIF_SGETCTH 0 + #define THIF_SLEEP 0x01 #define THIF_FINISH 0x02 diff --git a/Source/Library/Interface/VirtualTerminal.iface.h b/Source/Library/Interface/VirtualTerminal.iface.h index 528e9e5..412cf8f 100644 --- a/Source/Library/Interface/VirtualTerminal.iface.h +++ b/Source/Library/Interface/VirtualTerminal.iface.h @@ -2,6 +2,10 @@ #define DEF_VITRUALTERMINAL_IFACE_H #define VTIF_OBJTYPE 0x10 + +//S = static, GET = get, PR = process, VT = virtualterminal +#define VTIF_SGETPRVT 0 + #define VTIF_PUT 0x01 #define VTIF_WRITEHEX 0x02 #define VTIF_WRITEDEC 0x03 -- cgit v1.2.3