Home
last modified time | relevance | path

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

/linux-6.1.9/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.c202 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()
204 && (e820_table->entries[i].type != E820_TYPE_RESERVED_KERN)) in tboot_setup_sleep()
207 add_mac_region(e820_table->entries[i].addr, e820_table->entries[i].size); in tboot_setup_sleep()
Dkexec-bzimage64.c108 memcpy(&params->e820_table, &e820_table_kexec->entries, nr_e820_entries*sizeof(struct e820_entry)); in setup_e820_entries()
276 if (params->e820_table[i].type != E820_TYPE_RAM) in setup_boot_parameters()
278 start = params->e820_table[i].addr; in setup_boot_parameters()
279 end = params->e820_table[i].addr + params->e820_table[i].size - 1; in setup_boot_parameters()
Dcrash.c283 memcpy(&params->e820_table[nr_e820_entries], entry, sizeof(struct e820_entry)); in add_e820_entry()
Dkvm.c958 for (i = 0; i < e820_table->nr_entries; i++) { in kvm_init_platform()
959 struct e820_entry *entry = &e820_table->entries[i]; in kvm_init_platform()
Dsetup.c751 e820__update_table(e820_table); in trim_bios_range()
1062 e820__update_table(e820_table); in setup_arch()
Dearly-quirks.c590 e820__update_table(e820_table); in intel_graphics_stolen()
/linux-6.1.9/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-6.1.9/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-6.1.9/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.c47 static struct e820_table xen_e820_table __initdata;
848 e820__update_table(e820_table); in xen_memory_setup()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/firmware/efi/libstub/
Dx86-stub.c558 struct boot_e820_entry *entry = params->e820_table; in setup_e820()
627 if (nr_entries == ARRAY_SIZE(params->e820_table)) { in setup_e820()
645 if (nr_entries > ARRAY_SIZE(params->e820_table)) { in setup_e820()
646 u32 nr_e820ext = nr_entries - ARRAY_SIZE(params->e820_table); in setup_e820()
697 if (nr_desc > ARRAY_SIZE(params->e820_table)) { in allocate_e820()
698 u32 nr_e820ext = nr_desc - ARRAY_SIZE(params->e820_table); in allocate_e820()
/linux-6.1.9/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-6.1.9/drivers/firmware/efi/
Dx86_fake_mem.c72 e820__update_table(e820_table); in efi_fake_memmap_early()
/linux-6.1.9/arch/x86/include/asm/
Dbootparam_utils.h75 BOOT_PARAM_PRESERVE(e820_table), in sanitize_boot_params()
/linux-6.1.9/arch/x86/boot/compressed/
Dpgtable_64.c76 entry = &boot_params->e820_table[i]; in find_trampoline_placement()
Dkaslr.c765 entry = &boot_params->e820_table[i]; in process_e820_entries()
/linux-6.1.9/arch/x86/include/uapi/asm/
Dbootparam.h228 struct boot_e820_entry e820_table[E820_MAX_ENTRIES_ZEROPAGE]; /* 0x2d0 */ member
/linux-6.1.9/arch/x86/platform/efi/
Dquirks.c292 e820__update_table(e820_table); in efi_arch_mem_reserve()
Defi.c168 e820__update_table(e820_table); in do_add_efi_memmap()