Changeset 9971


Ignore:
Timestamp:
Jul 10, 2008, 9:34:09 AM (11 years ago)
Author:
gb
Message:

Trunk changes (early WINDOWS conditionalization, int->natural.)
Remove some unused variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/lisp-kernel/memprotect.h

    r7828 r9971  
    2929#endif
    3030
    31 int
    32 ProtectMemory(LogicalAddress, int);
     31#ifdef WINDOWS
     32#define PROT_NONE (0)
     33#define PROT_READ (1)
     34#define PROT_WRITE (2)
     35#define PROT_EXEC (3)
     36
     37#define MAP_PRIVATE (1)
     38#define MAP_FIXED (2)
     39#define MAP_ANON (3)
     40
     41void *mmap(void *, size_t, int, int, int, off_t);
     42
     43#define MAP_FAILED ((void *)(-1))
     44
     45#endif
    3346
    3447int
    35 UnProtectMemory(LogicalAddress, int);
     48ProtectMemory(LogicalAddress, natural);
     49
     50int
     51UnProtectMemory(LogicalAddress, natural);
    3652
    3753typedef enum {
Note: See TracChangeset for help on using the changeset viewer.