Changeset 2057
- Timestamp:
- 05/27/09 08:03:56 (3 years ago)
- Files:
-
- 1 modified
-
Whitix/trunk/include/sys.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/trunk/include/sys.h
r1668 r2057 47 47 48 48 #define SYS_TLS_BASE 59 49 #define SYSCALL_MAX 60 49 #define SYS_SAVE_BASE 60 50 #define SYSCALL_MAX 61 50 51 51 52 #define SysEntry(addr, bytes) { (DWORD)addr, bytes } … … 60 61 static inline addr_t SysGetCall(DWORD index, DWORD argBytes) 61 62 { 62 if (index > SYSCALL_MAX)63 if (index >= SYSCALL_MAX) 63 64 return 0; 64 65
