Changeset 826
- Timestamp:
- 08/06/08 14:36:24 (4 years ago)
- Files:
-
- 1 modified
-
Whitix/trunk/kernel/sys.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/trunk/kernel/sys.c
r626 r826 21 21 #include <module.h> 22 22 #include <i386/virtual.h> 23 #include <types.h> 23 24 24 25 struct SysCall sysCallTable[SYSCALL_MAX]; … … 44 45 SYMBOL_EXPORT(SysRegisterRange); 45 46 46 DWORDSysGetCall(DWORD index, DWORD argBytes)47 addr_t SysGetCall(DWORD index, DWORD argBytes) 47 48 { 48 49 if (index > SYSCALL_MAX) 49 50 return 0; 50 51 51 if (sysCallTable[index].numBytes != argBytes) 52 /* The number of argument bytes past can be greater than the number of bytes 53 * needed by the function's parameters; it allows for future compatability. 54 */ 55 56 if (sysCallTable[index].numBytes < argBytes) 52 57 return 0; 53 58
