Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
H A 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 …]
H A Dkexec-bzimage64.c108 memcpy(&params->e820_table, &e820_table_kexec->entries, nr_e820_entries*sizeof(struct e820_entry)); in setup_e820_entries()
280 params->e820_table[i].addr, in setup_boot_parameters()
281 params->e820_table[i].addr + params->e820_table[i].size - 1, in setup_boot_parameters()
282 params->e820_table[i].type); in setup_boot_parameters()
283 if (params->e820_table[i].type != E820_TYPE_RAM) in setup_boot_parameters()
285 start = params->e820_table[i].addr; in setup_boot_parameters()
286 end = params->e820_table[i].addr + params->e820_table[i].size - 1; in setup_boot_parameters()
H A 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()
H A 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()
H A Dsetup.c617 e820__update_table(e820_table); in trim_bios_range()
933 e820__update_table(e820_table); in setup_arch()
H A Dcrash.c257 memcpy(&params->e820_table[nr_e820_entries], entry, sizeof(struct e820_entry)); in add_e820_entry()
/linux/arch/x86/include/asm/e820/
H A Dapi.h7 extern struct e820_table *e820_table;
8 extern struct e820_table *e820_table_kexec;
9 extern struct e820_table *e820_table_firmware;
20 extern u64 e820__range_update_table(struct e820_table *t, u64 start, u64 size, enum e820_type old_…
23 extern int e820__update_table(struct e820_table *table);
H A Dtypes.h94 struct e820_table { struct
/linux/arch/x86/platform/pvh/
H A Denlighten.c56 pvh_bootparams.e820_table[i].addr = ep->addr; in init_pvh_bootparams()
57 pvh_bootparams.e820_table[i].size = ep->size; in init_pvh_bootparams()
58 pvh_bootparams.e820_table[i].type = ep->type; in init_pvh_bootparams()
68 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].addr = in init_pvh_bootparams()
70 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].size = in init_pvh_bootparams()
72 pvh_bootparams.e820_table[pvh_bootparams.e820_entries].type = in init_pvh_bootparams()
/linux/arch/x86/xen/
H A Denlighten_pvh.c74 struct boot_e820_entry *e = &bootp->e820_table[i]; in pvh_reserve_extra_memory()
89 struct boot_e820_entry *e = &bootp->e820_table[i]; in pvh_reserve_extra_memory()
102 ARRAY_SIZE(bootp->e820_table)) in pvh_reserve_extra_memory()
160 memmap.nr_entries = ARRAY_SIZE(boot_params_p->e820_table); in mem_map_via_hcall()
161 set_xen_guest_handle(memmap.buffer, boot_params_p->e820_table); in mem_map_via_hcall()
H A Dsetup.c47 static struct e820_table xen_e820_table __initdata;
949 e820__update_table(e820_table); in xen_memory_setup()
/linux/arch/x86/boot/
H A 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/arch/x86/power/
H A 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/Documentation/arch/x86/
H A 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/arch/x86/include/asm/
H A Dbootparam_utils.h75 BOOT_PARAM_PRESERVE(e820_table), in sanitize_boot_params()
/linux/arch/x86/boot/compressed/
H A Dpgtable_64.c71 entry = &boot_params_ptr->e820_table[i]; in find_trampoline_placement()
H A Dkaslr.c756 entry = &boot_params_ptr->e820_table[i]; in process_e820_entries()
/linux/arch/x86/include/uapi/asm/
H A Dbootparam.h159 struct boot_e820_entry e820_table[E820_MAX_ENTRIES_ZEROPAGE]; /* 0x2d0 */ member