PAGE_SZ
if (dirty_bitmap[MEM_LOC_STACK / (PAGE_SZ * 8)] == 0) {
if (dirty_bitmap[MEM_LOC_STACK / (PAGE_SZ * 8)] == 0) {
#define DIRTY_BITMAP_SZ (MEM_TOTAL_SZ / (PAGE_SZ * 8))
#define SEG_SZ (PAGE_CNT * PAGE_SZ)
#define MAP_OFF ((512UL * GBYTE) - PAGE_SZ)
#define PAGE_CNT (SEG_SZ / PAGE_SZ)
const uint64_t off = i * PAGE_SZ;
#define SEG_SZ (PAGE_CNT * PAGE_SZ)
uint64_t *p = (uint64_t *)((uintptr_t)seg_obj + i * PAGE_SZ);
const uint64_t off = i * PAGE_SZ;