Home
last modified time | relevance | path

Searched refs:e820_entries (Results 1 – 15 of 15) sorted by relevance

/openbmc/qemu/hw/i386/
H A De820_memory_layout.c13 static size_t e820_entries; variable
22 e820_table = g_renew(struct e820_entry, e820_table, e820_entries + 1); in e820_add_entry()
23 e820_table[e820_entries].address = cpu_to_le64(address); in e820_add_entry()
24 e820_table[e820_entries].length = cpu_to_le64(length); in e820_add_entry()
25 e820_table[e820_entries].type = cpu_to_le32(type); in e820_add_entry()
26 e820_entries++; in e820_add_entry()
37 return e820_entries; in e820_get_table()
42 if (idx < e820_entries && e820_table[idx].type == cpu_to_le32(type)) { in e820_get_entry()
/openbmc/linux/arch/x86/platform/pvh/
H A Denlighten.c52 pvh_bootparams.e820_entries = pvh_start_info.memmap_entries; in init_pvh_bootparams()
54 for (i = 0; i < pvh_bootparams.e820_entries ; i++, ep++) { in init_pvh_bootparams()
66 if (pvh_bootparams.e820_entries < E820_MAX_ENTRIES_ZEROPAGE - 1) { 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()
73 pvh_bootparams.e820_entries++; in init_pvh_bootparams()
/openbmc/linux/arch/x86/xen/
H A Denlighten_pvh.c67 boot_params_p->e820_entries = memmap.nr_entries; in mem_map_via_hcall()
88 for (i = 0; i < bootp->e820_entries; i++) { in xen_reserve_extra_memory()
103 for (i = 0; i < bootp->e820_entries && extra_pages; i++) { in xen_reserve_extra_memory()
116 if (bootp->e820_entries == in xen_reserve_extra_memory()
124 (bootp->e820_entries - i) * sizeof(*e)); in xen_reserve_extra_memory()
125 bootp->e820_entries++; in xen_reserve_extra_memory()
/openbmc/linux/arch/x86/include/asm/
H A Dbootparam_utils.h69 BOOT_PARAM_PRESERVE(e820_entries), in sanitize_boot_params()
/openbmc/linux/arch/x86/boot/
H A Dmemory.c69 boot_params.e820_entries = count; in detect_memory_e820()
/openbmc/linux/arch/x86/kernel/
H A Dcrash.c237 nr_e820_entries = params->e820_entries; in add_e820_entry()
242 params->e820_entries++; in add_e820_entry()
H A Dkexec-bzimage64.c107 params->e820_entries = nr_e820_entries; in setup_e820_entries()
273 nr_e820_entries = params->e820_entries; in setup_boot_parameters()
H A De820.c1272 if (append_e820_table(boot_params.e820_table, boot_params.e820_entries) < 0) { in e820__memory_setup_default()
/openbmc/linux/arch/x86/boot/compressed/
H A Dpgtable_64.c68 for (i = boot_params_ptr->e820_entries - 1; i >= 0; i--) { in find_trampoline_placement()
H A Dkaslr.c780 for (i = 0; i < boot_params_ptr->e820_entries; i++) { in process_e820_entries()
/openbmc/u-boot/arch/x86/include/asm/
H A Dbootparam.h106 __u8 e820_entries; /* 0x1e8 */ member
/openbmc/linux/Documentation/arch/x86/
H A Dzero-page.rst36 1E8/001 ALL e820_entries Number of entries in e820_table (below)
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dbootparam.h207 __u8 e820_entries; /* 0x1e8 */ member
/openbmc/u-boot/arch/x86/lib/
H A Dzimage.c245 setup_base->e820_entries = install_e820_map( in setup_zimage()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dx86-stub.c647 params->e820_entries = (u8)nr_entries; in setup_e820()