/* Physical address ceiling shared by the 32-bit kernel and the UEFI loader. */ #ifndef PHYS_H #define PHYS_H /* 1 GB: the kernel identity-maps [0, MM_MAX_PHYS) with 4 MB pages, and ring-3 * address space starts at USER_BASE (0x40000000), so the identity map cannot * grow past 1 GB without a highmem zone. The frame bitmap (32 KB at 1 GB) * is placed in RAM by mm_init(), not in the kernel's BSS. */ #define MM_MAX_PHYS (1024u * 1024 * 1024) #endif