| /linux/arch/x86/kernel/ |
| H A D | e820.c | 58 __initdata static struct e820_table e820_table_init; 59 __initdata static struct e820_table e820_table_kexec_init; 60 __initdata static struct e820_table e820_table_firmware_init; 62 __refdata struct e820_table *e820_table = &e820_table_init; variable 63 __refdata struct e820_table *e820_table_kexec = &e820_table_kexec_init; 64 __refdata struct e820_table *e820_table_firmware = &e820_table_firmware_init; 76 static bool _e820__mapped_any(struct e820_table *table, in _e820__mapped_any() 101 return _e820__mapped_any(e820_table, start, end, type); in e820__mapped_any() 116 for (idx = 0; idx < e820_table->nr_entries; idx++) { in __e820__mapped_all() 117 struct e820_entry *entry = &e820_table->entries[idx]; in __e820__mapped_all() [all …]
|
| H A D | kexec-bzimage64.c | 117 memcpy(¶ms->e820_table, &e820_table_kexec->entries, nr_e820_entries*sizeof(struct e820_entry)); in setup_e820_entries() 345 params->e820_table[i].addr, in setup_boot_parameters() 346 params->e820_table[i].addr + params->e820_table[i].size - 1, in setup_boot_parameters() 347 params->e820_table[i].type); in setup_boot_parameters() 348 if (params->e820_table[i].type != E820_TYPE_RAM) in setup_boot_parameters() 350 start = params->e820_table[i].addr; in setup_boot_parameters() 351 end = params->e820_table[i].addr + params->e820_table[i].size - 1; in setup_boot_parameters()
|
| H A D | resource.c | 38 for (i = 0; i < e820_table->nr_entries; i++) { in remove_e820_regions() 39 entry = &e820_table->entries[i]; in remove_e820_regions()
|
| H A D | tboot.c | 202 for (i = 0; i < e820_table->nr_entries; i++) { in tboot_setup_sleep() 203 if (e820_table->entries[i].type != E820_TYPE_RAM) in tboot_setup_sleep() 206 add_mac_region(e820_table->entries[i].addr, e820_table->entries[i].size); in tboot_setup_sleep()
|
| H A D | setup.c | 772 e820__update_table(e820_table); in trim_bios_range() 1024 e820__update_table(e820_table); in setup_arch()
|
| H A D | kvm.c | 988 for (i = 0; i < e820_table->nr_entries; i++) { in kvm_init_platform() 989 struct e820_entry *entry = &e820_table->entries[i]; in kvm_init_platform()
|
| H A D | crash.c | 276 memcpy(¶ms->e820_table[nr_e820_entries], entry, sizeof(struct e820_entry)); in add_e820_entry()
|
| H A D | early-quirks.c | 589 e820__update_table(e820_table); in intel_graphics_stolen()
|
| /linux/arch/x86/platform/pvh/ |
| H A D | enlighten.c | 51 pvh_bootparams.e820_table[i].addr = ep->addr; in init_pvh_bootparams() 52 pvh_bootparams.e820_table[i].size = ep->size; in init_pvh_bootparams() 53 pvh_bootparams.e820_table[i].type = ep->type; in init_pvh_bootparams() 63 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].addr = in init_pvh_bootparams() 65 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].size = in init_pvh_bootparams() 67 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].type = in init_pvh_bootparams()
|
| /linux/arch/x86/xen/ |
| H A D | enlighten_pvh.c | 76 struct boot_e820_entry *e = &bootp->e820_table[i]; in pvh_reserve_extra_memory() 91 struct boot_e820_entry *e = &bootp->e820_table[i]; in pvh_reserve_extra_memory() 104 ARRAY_SIZE(bootp->e820_table)) in pvh_reserve_extra_memory() 177 memmap.nr_entries = ARRAY_SIZE(boot_params_p->e820_table); in mem_map_via_hcall() 178 set_xen_guest_handle(memmap.buffer, boot_params_p->e820_table); in mem_map_via_hcall()
|
| H A D | setup.c | 44 static struct e820_table xen_e820_table __initdata; 946 e820__update_table(e820_table); in xen_memory_setup()
|
| /linux/arch/x86/boot/ |
| H A D | memory.c | 22 struct boot_e820_entry *desc = boot_params.e820_table; in detect_memory_e820() 67 } while (ireg.ebx && count < ARRAY_SIZE(boot_params.e820_table)); in detect_memory_e820()
|
| /linux/arch/x86/power/ |
| H A D | hibernate.c | 73 static inline u32 compute_e820_crc32(struct e820_table *table) in compute_e820_crc32() 75 int size = offsetof(struct e820_table, entries) + in compute_e820_crc32()
|
| /linux/Documentation/arch/x86/ |
| H A D | zero-page.rst | 36 1E8/001 ALL e820_entries Number of entries in e820_table (below) 44 2D0/A00 ALL e820_table E820 memory map table
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | x86-stub.c | 574 struct boot_e820_entry *entry = params->e820_table; in setup_e820() 650 if (nr_entries == ARRAY_SIZE(params->e820_table)) { in setup_e820() 668 if (nr_entries > ARRAY_SIZE(params->e820_table)) { in setup_e820() 669 u32 nr_e820ext = nr_entries - ARRAY_SIZE(params->e820_table); in setup_e820() 716 if (nr_desc > ARRAY_SIZE(params->e820_table) - EFI_MMAP_NR_SLACK_SLOTS) { in allocate_e820() 717 u32 nr_e820ext = nr_desc - ARRAY_SIZE(params->e820_table) + in allocate_e820()
|
| /linux/arch/x86/include/asm/ |
| H A D | bootparam_utils.h | 75 BOOT_PARAM_PRESERVE(e820_table), in sanitize_boot_params()
|
| /linux/arch/x86/boot/compressed/ |
| H A D | pgtable_64.c | 70 entry = &boot_params_ptr->e820_table[i]; in find_trampoline_placement()
|
| H A D | kaslr.c | 752 entry = &boot_params_ptr->e820_table[i]; in process_e820_entries()
|
| /linux/arch/x86/include/uapi/asm/ |
| H A D | bootparam.h | 159 struct boot_e820_entry e820_table[E820_MAX_ENTRIES_ZEROPAGE]; /* 0x2d0 */ member
|
| /linux/arch/x86/platform/efi/ |
| H A D | quirks.c | 300 e820__update_table(e820_table); in efi_arch_mem_reserve()
|
| H A D | efi.c | 165 e820__update_table(e820_table); in do_add_efi_memmap()
|