Changeset 2057

Show
Ignore:
Timestamp:
05/27/09 08:03:56 (3 years ago)
Author:
mwhitworth
Message:

Add SYS_SAVE_BASE, fix condition in SysGetCall.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/trunk/include/sys.h

    r1668 r2057  
    4747 
    4848#define SYS_TLS_BASE                    59 
    49 #define SYSCALL_MAX             60 
     49#define SYS_SAVE_BASE                   60 
     50#define SYSCALL_MAX             61 
    5051 
    5152#define SysEntry(addr, bytes) { (DWORD)addr, bytes } 
     
    6061static inline addr_t SysGetCall(DWORD index, DWORD argBytes) 
    6162{ 
    62         if (index > SYSCALL_MAX) 
     63        if (index >= SYSCALL_MAX) 
    6364                return 0; 
    6465