Changeset 8a1afd2 in mainline for kernel/arch/ia32/src/mm/frame.c
- Timestamp:
- 2018-10-17T22:51:33Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1d18bbc0, d723a80
- Parents:
- 7900e5d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/mm/frame.c
r7900e5d r8a1afd2 47 47 48 48 #define PHYSMEM_LIMIT32 UINT64_C(0x100000000) 49 50 size_t hardcoded_unmapped_ktext_size = 0;51 size_t hardcoded_unmapped_kdata_size = 0;52 49 53 50 static void init_e820_memory(pfn_t minconf, bool low) … … 155 152 156 153 #ifdef CONFIG_SMP 154 size_t unmapped_size = 155 (uintptr_t) unmapped_kdata_end - BOOT_OFFSET; 156 157 157 minconf = max(minconf, 158 ADDR2PFN(AP_BOOT_OFFSET + hardcoded_unmapped_ktext_size + 159 hardcoded_unmapped_kdata_size)); 158 ADDR2PFN(AP_BOOT_OFFSET + unmapped_size)); 160 159 #endif 161 160 … … 168 167 /* Reserve AP real mode bootstrap memory */ 169 168 frame_mark_unavailable(AP_BOOT_OFFSET >> FRAME_WIDTH, 170 (hardcoded_unmapped_ktext_size + 171 hardcoded_unmapped_kdata_size) >> FRAME_WIDTH); 169 unmapped_size >> FRAME_WIDTH); 172 170 #endif 173 171 }
Note:
See TracChangeset
for help on using the changeset viewer.