Home
last modified time | relevance | path

Searched refs:e820_table (Results 1 – 24 of 24) sorted by relevance

/linux-5.19.10/arch/x86/kernel/
De820.c59 static struct e820_table e820_table_init __initdata;
60 static struct e820_table e820_table_kexec_init __initdata;
61 static struct e820_table e820_table_firmware_init __initdata;
63 struct e820_table *e820_table __refdata = &e820_table_init;
64 struct e820_table *e820_table_kexec __refdata = &e820_table_kexec_init;
65 struct e820_table *e820_table_firmware __refdata = &e820_table_firmware_init;
77 static bool _e820__mapped_any(struct e820_table *table, in _e820__mapped_any()
102 return _e820__mapped_any(e820_table, start, end, type); in e820__mapped_any()
117 for (i = 0; i < e820_table->nr_entries; i++) { in __e820__mapped_all()
118 struct e820_entry *entry = &e820_table->entries[i]; in __e820__mapped_all()
[all …]
Dresource.c38 for (i = 0; i < e820_table->nr_entries; i++) { in remove_e820_regions()
39 entry = &e820_table->entries[i]; in remove_e820_regions()
Dtboot.c203 for (i = 0; i < e820_table->nr_entries; i++) { in tboot_setup_sleep()
204 if ((e820_table->entries[i].type != E820_TYPE_RAM) in tboot_setup_sleep()
205 && (e820_table->entries[i].type != E820_TYPE_RESERVED_KERN)) in tboot_setup_sleep()
208 add_mac_region(e820_table->entries[i].addr, e820_table->entries[i].size); in tboot_setup_sleep()
Dkexec-bzimage64.c107 memcpy(&params->e820_table, &e820_table_kexec->entries, nr_e820_entries*sizeof(struct e820_entry)); in setup_e820_entries()
228 if (params->e820_table[i].type != E820_TYPE_RAM) in setup_boot_parameters()
230 start = params->e820_table[i].addr; in setup_boot_parameters()
231 end = params->e820_table[i].addr + params->e820_table[i].size - 1; in setup_boot_parameters()
Dsetup.c678 e820__update_table(e820_table); in trim_bios_range()
989 e820__update_table(e820_table); in setup_arch()
Dcrash.c283 memcpy(&params->e820_table[nr_e820_entries], entry, sizeof(struct e820_entry)); in add_e820_entry()
Dkvm.c959 for (i = 0; i < e820_table->nr_entries; i++) { in kvm_init_platform()
960 struct e820_entry *entry = &e820_table->entries[i]; in kvm_init_platform()
Dearly-quirks.c590 e820__update_table(e820_table); in intel_graphics_stolen()
/linux-5.19.10/arch/x86/platform/pvh/
Denlighten.c55 pvh_bootparams.e820_table[i].addr = ep->addr; in init_pvh_bootparams()
56 pvh_bootparams.e820_table[i].size = ep->size; in init_pvh_bootparams()
57 pvh_bootparams.e820_table[i].type = ep->type; in init_pvh_bootparams()
67 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].addr = in init_pvh_bootparams()
69 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].size = in init_pvh_bootparams()
71 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].type = in init_pvh_bootparams()
/linux-5.19.10/arch/x86/include/asm/e820/
Dapi.h7 extern struct e820_table *e820_table;
8 extern struct e820_table *e820_table_kexec;
9 extern struct e820_table *e820_table_firmware;
22 extern int e820__update_table(struct e820_table *table);
Dtypes.h94 struct e820_table { struct
/linux-5.19.10/arch/x86/xen/
Denlighten_pvh.c53 memmap.nr_entries = ARRAY_SIZE(boot_params_p->e820_table); in mem_map_via_hcall()
54 set_xen_guest_handle(memmap.buffer, boot_params_p->e820_table); in mem_map_via_hcall()
Dsetup.c46 static struct e820_table xen_e820_table __initdata;
847 e820__update_table(e820_table); in xen_memory_setup()
/linux-5.19.10/arch/x86/boot/
Dmemory.c22 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-5.19.10/arch/x86/power/
Dhibernate.c72 static inline u32 compute_e820_crc32(struct e820_table *table) in compute_e820_crc32()
74 int size = offsetof(struct e820_table, entries) + in compute_e820_crc32()
/linux-5.19.10/Documentation/x86/
Dzero-page.rst36 1E8/001 ALL e820_entries Number of entries in e820_table (below)
44 2D0/A00 ALL e820_table E820 memory map table
/linux-5.19.10/drivers/firmware/efi/libstub/
Dx86-stub.c552 struct boot_e820_entry *entry = params->e820_table; in setup_e820()
621 if (nr_entries == ARRAY_SIZE(params->e820_table)) { in setup_e820()
639 if (nr_entries > ARRAY_SIZE(params->e820_table)) { in setup_e820()
640 u32 nr_e820ext = nr_entries - ARRAY_SIZE(params->e820_table); in setup_e820()
691 if (nr_desc > ARRAY_SIZE(params->e820_table)) { in allocate_e820()
692 u32 nr_e820ext = nr_desc - ARRAY_SIZE(params->e820_table); in allocate_e820()
/linux-5.19.10/drivers/firmware/efi/
Dx86_fake_mem.c72 e820__update_table(e820_table); in efi_fake_memmap_early()
/linux-5.19.10/arch/x86/include/asm/
Dbootparam_utils.h75 BOOT_PARAM_PRESERVE(e820_table), in sanitize_boot_params()
/linux-5.19.10/arch/x86/boot/compressed/
Dpgtable_64.c76 entry = &boot_params->e820_table[i]; in find_trampoline_placement()
Dkaslr.c764 entry = &boot_params->e820_table[i]; in process_e820_entries()
/linux-5.19.10/arch/x86/include/uapi/asm/
Dbootparam.h219 struct boot_e820_entry e820_table[E820_MAX_ENTRIES_ZEROPAGE]; /* 0x2d0 */ member
/linux-5.19.10/arch/x86/platform/efi/
Dquirks.c292 e820__update_table(e820_table); in efi_arch_mem_reserve()
Defi.c191 e820__update_table(e820_table); in do_add_efi_memmap()