MAX_PHYSMEM_BITS
#if !defined(MAX_PHYSMEM_BITS) || !defined(SECTION_SIZE_BITS)
#define MAX_MEM (1UL << MAX_PHYSMEM_BITS)
u64 max_mem = 1UL << (MAX_PHYSMEM_BITS);
if (ddw_sz >= MAX_PHYSMEM_BITS)
len = MAX_PHYSMEM_BITS;
(len == MAX_PHYSMEM_BITS) ||
unsigned long range = 1 << (MAX_PHYSMEM_BITS - 20); /* in 1MB blocks */
ident_map_size = min(ident_map_size, 1UL << MAX_PHYSMEM_BITS);
BUILD_BUG_ON(MAX_DCSS_ADDR > (1UL << MAX_PHYSMEM_BITS));
.phys_bits = MAX_PHYSMEM_BITS,
if (physaddr >> MAX_PHYSMEM_BITS)
#define MAXMEM (1UL << MAX_PHYSMEM_BITS)
boot_cpu_data.x86_phys_bits = MAX_PHYSMEM_BITS;
direct_map_physmem_end = ((1ULL << MAX_PHYSMEM_BITS) - 1);
kaslr_regions[0].size_tb = 1 << (MAX_PHYSMEM_BITS - TB_SHIFT);
ret = walk_system_ram_range(0, 1ULL << MAX_PHYSMEM_BITS, NULL,
# ifdef MAX_PHYSMEM_BITS
# define DIRECT_MAP_PHYSMEM_END ((1ULL << MAX_PHYSMEM_BITS) - 1)
#define SECTIONS_SHIFT (MAX_PHYSMEM_BITS - SECTION_SIZE_BITS)
#ifdef MAX_PHYSMEM_BITS
#define SWP_PFN_BITS (MAX_PHYSMEM_BITS - PAGE_SHIFT)
VMCOREINFO_NUMBER(MAX_PHYSMEM_BITS);
#elif defined(MAX_PHYSMEM_BITS)
#define SWAP_CACHE_PFN_BITS (MAX_PHYSMEM_BITS - PAGE_SHIFT)
#ifdef MAX_PHYSMEM_BITS
#define MAX_POSSIBLE_PHYSMEM_BITS MAX_PHYSMEM_BITS