Home
last modified time | relevance | path

Searched refs:e820_table (Results 1 - 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/arch/x86/kernel/
H A De820.c28 * the first 128 E820 memory entries in boot_params.e820_table and the remaining
50 * - 'e820_table': this is the main E820 table that is massaged by the
59 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 *tabl
[all...]
H A Dresource.c31 for (i = 0; i < e820_table->nr_entries; i++) { in remove_e820_regions()
32 entry = &e820_table->entries[i]; in remove_e820_regions()
H A Dkexec-bzimage64.c108 memcpy(&params->e820_table, &e820_table_kexec->entries, nr_e820_entries*sizeof(struct e820_entry)); in setup_e820_entries()
229 if (params->e820_table[i].type != E820_TYPE_RAM) in setup_boot_parameters()
231 start = params->e820_table[i].addr; in setup_boot_parameters()
232 end = params->e820_table[i].addr + params->e820_table[i].size - 1; in setup_boot_parameters()
H A Dtboot.c196 for (i = 0; i < e820_table->nr_entries; i++) { in tboot_setup_sleep()
197 if ((e820_table->entries[i].type != E820_TYPE_RAM) in tboot_setup_sleep()
198 && (e820_table->entries[i].type != E820_TYPE_RESERVED_KERN)) in tboot_setup_sleep()
201 add_mac_region(e820_table->entries[i].addr, e820_table->entries[i].size); in tboot_setup_sleep()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A De820.c28 * the first 128 E820 memory entries in boot_params.e820_table and the remaining
50 * - 'e820_table': this is the main E820 table that is massaged by the
59 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 *tabl
[all...]
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 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 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()
/kernel/linux/linux-5.10/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;
22 extern int e820__update_table(struct e820_table *table);
H A Dtypes.h94 struct e820_table { struct
/kernel/linux/linux-6.6/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;
22 extern int e820__update_table(struct e820_table *table);
H A Dtypes.h94 struct e820_table { struct
/kernel/linux/linux-5.10/arch/x86/platform/pvh/
H A 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()
/kernel/linux/linux-6.6/arch/x86/platform/pvh/
H A 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()
/kernel/linux/linux-5.10/arch/x86/xen/
H A Denlighten_pvh.c47 memmap.nr_entries = ARRAY_SIZE(boot_params_p->e820_table); in mem_map_via_hcall()
48 set_xen_guest_handle(memmap.buffer, boot_params_p->e820_table); in mem_map_via_hcall()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/arch/x86/xen/
H A Denlighten_pvh.c66 memmap.nr_entries = ARRAY_SIZE(boot_params_p->e820_table); in mem_map_via_hcall()
67 set_xen_guest_handle(memmap.buffer, boot_params_p->e820_table); in mem_map_via_hcall()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
H A Dx86-stub.c456 struct boot_e820_entry *entry = params->e820_table; in setup_e820()
525 if (nr_entries == ARRAY_SIZE(params->e820_table)) { in setup_e820()
543 if (nr_entries > ARRAY_SIZE(params->e820_table)) { in setup_e820()
544 u32 nr_e820ext = nr_entries - ARRAY_SIZE(params->e820_table); in setup_e820()
595 if (nr_desc > ARRAY_SIZE(params->e820_table)) { in allocate_e820()
596 u32 nr_e820ext = nr_desc - ARRAY_SIZE(params->e820_table); in allocate_e820()
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Dx86_fake_mem.c72 e820__update_table(e820_table); in efi_fake_memmap_early()
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/
H A Dx86-stub.c529 struct boot_e820_entry *entry = params->e820_table; in setup_e820()
605 if (nr_entries == ARRAY_SIZE(params->e820_table)) { in setup_e820()
623 if (nr_entries > ARRAY_SIZE(params->e820_table)) { in setup_e820()
624 u32 nr_e820ext = nr_entries - ARRAY_SIZE(params->e820_table); in setup_e820()
671 if (nr_desc > ARRAY_SIZE(params->e820_table) - EFI_MMAP_NR_SLACK_SLOTS) { in allocate_e820()
672 u32 nr_e820ext = nr_desc - ARRAY_SIZE(params->e820_table) + in allocate_e820()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dbootparam_utils.h75 BOOT_PARAM_PRESERVE(e820_table), in sanitize_boot_params()
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dbootparam_utils.h75 BOOT_PARAM_PRESERVE(e820_table), in sanitize_boot_params()

Completed in 11 milliseconds

12