equal
deleted
inserted
replaced
41 extern uint32_t ZGlobalSeqNum; |
41 extern uint32_t ZGlobalSeqNum; |
42 |
42 |
43 // Granule shift/size |
43 // Granule shift/size |
44 const size_t ZGranuleSizeShift = ZPlatformGranuleSizeShift; |
44 const size_t ZGranuleSizeShift = ZPlatformGranuleSizeShift; |
45 const size_t ZGranuleSize = (size_t)1 << ZGranuleSizeShift; |
45 const size_t ZGranuleSize = (size_t)1 << ZGranuleSizeShift; |
46 |
|
47 // Max heap size shift/size |
|
48 const size_t ZMaxHeapSizeShift = ZPlatformMaxHeapSizeShift; |
|
49 const size_t ZMaxHeapSize = (size_t)1 << ZMaxHeapSizeShift; |
|
50 |
46 |
51 // Page types |
47 // Page types |
52 const uint8_t ZPageTypeSmall = 0; |
48 const uint8_t ZPageTypeSmall = 0; |
53 const uint8_t ZPageTypeMedium = 1; |
49 const uint8_t ZPageTypeMedium = 1; |
54 const uint8_t ZPageTypeLarge = 2; |
50 const uint8_t ZPageTypeLarge = 2; |