The R Project SVN R

Rev

Rev 11091 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11091 Rev 11100
Line 965... Line 965...
965
static int PageSize=0;
965
static int PageSize=0;
966
 
966
 
967
#define AlignPage(add) (((add) + (PageSize-1)) & ~(PageSize-1))
967
#define AlignPage(add) (((add) + (PageSize-1)) & ~(PageSize-1))
968
#define AlignPage64K(add) (((add) + (0x10000 - 1)) & ~(0x10000 - 1))
968
#define AlignPage64K(add) (((add) + (0x10000 - 1)) & ~(0x10000 - 1))
969
 
969
 
970
/* reserve 64MB to ensure large contiguous space */
970
/* reserve 256MB to ensure large contiguous space */
971
#define RESERVED_SIZE (64*1024*1024)
971
#define RESERVED_SIZE (256*1024*1024)
972
#define NEXT_SIZE (8*1024*1024)
972
#define NEXT_SIZE (8*1024*1024)
973
/* On most Windows systems, the bottom 2Gb of address space is
973
/* On most Windows systems, the bottom 2Gb of address space is
974
   user space (on a few it is 3Gb) */
974
   user space (on a few it is 3Gb) */
975
#define TOP_MEMORY ((unsigned long)2*1024*1024*1024)
975
#define TOP_MEMORY ((unsigned long)2*1024*1024*1024)
976
 
976