| /arch/x86/boot/ |
| A D | main.c | 18 struct boot_params boot_params __attribute__((aligned(16))); variable 38 BUILD_BUG_ON(sizeof(boot_params) != 4096); in copy_boot_params() 39 memcpy(&boot_params.hdr, &hdr, sizeof(hdr)); in copy_boot_params() 50 if (oldcmd->cl_offset < boot_params.hdr.setup_move_size) in copy_boot_params() 72 boot_params.kbd_status = oreg.al; in keyboard_init() 97 boot_params.ist_info.signature = oreg.eax; in query_ist() 98 boot_params.ist_info.command = oreg.ebx; in query_ist() 99 boot_params.ist_info.event = oreg.ecx; in query_ist() 100 boot_params.ist_info.perf_level = oreg.edx; in query_ist() 122 if (boot_params.hdr.loadflags & CAN_USE_HEAP) { in init_heap() [all …]
|
| A D | video-vesa.c | 177 boot_params.screen_info.red_size = dac_size; in vesa_dac_set_8bits() 178 boot_params.screen_info.green_size = dac_size; in vesa_dac_set_8bits() 179 boot_params.screen_info.blue_size = dac_size; in vesa_dac_set_8bits() 182 boot_params.screen_info.red_pos = 0; in vesa_dac_set_8bits() 183 boot_params.screen_info.green_pos = 0; in vesa_dac_set_8bits() 184 boot_params.screen_info.blue_pos = 0; in vesa_dac_set_8bits() 185 boot_params.screen_info.rsvd_pos = 0; in vesa_dac_set_8bits() 200 boot_params.screen_info.vesapm_seg = oreg.es; in vesa_store_pm_info() 201 boot_params.screen_info.vesapm_off = oreg.di; in vesa_store_pm_info() 220 memcpy(&boot_params.screen_info.red_size, in vesa_store_mode_params_graphics() [all …]
|
| A D | apm.c | 45 boot_params.apm_bios_info.cseg = oreg.ax; in query_apm_bios() 46 boot_params.apm_bios_info.offset = oreg.ebx; in query_apm_bios() 47 boot_params.apm_bios_info.cseg_16 = oreg.cx; in query_apm_bios() 48 boot_params.apm_bios_info.dseg = oreg.dx; in query_apm_bios() 49 boot_params.apm_bios_info.cseg_len = oreg.si; in query_apm_bios() 50 boot_params.apm_bios_info.cseg_16_len = oreg.hsi; in query_apm_bios() 51 boot_params.apm_bios_info.dseg_len = oreg.di; in query_apm_bios() 69 boot_params.apm_bios_info.version = oreg.ax; in query_apm_bios() 70 boot_params.apm_bios_info.flags = oreg.cx; in query_apm_bios()
|
| A D | video.c | 30 boot_params.screen_info.orig_x = oreg.dl; in store_cursor_position() 31 boot_params.screen_info.orig_y = oreg.dh; in store_cursor_position() 34 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; in store_cursor_position() 52 boot_params.screen_info.orig_video_page = oreg.bh; in store_video_mode() 94 boot_params.screen_info.orig_video_cols = x; in store_mode_params() 95 boot_params.screen_info.orig_video_lines = y; in store_mode_params() 244 saved.curx = boot_params.screen_info.orig_x; in save_screen() 245 saved.cury = boot_params.screen_info.orig_y; in save_screen() 259 int xs = boot_params.screen_info.orig_video_cols; in restore_screen() 319 u16 mode = boot_params.hdr.vid_mode; in set_video() [all …]
|
| A D | memory.c | 22 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() 69 boot_params.e820_entries = count; in detect_memory_e820() 92 boot_params.alt_mem_k = (oreg.bx << 6) + oreg.ax; in detect_memory_e801() 101 boot_params.alt_mem_k = oreg.ax; in detect_memory_e801() 113 boot_params.screen_info.ext_mem_k = oreg.ax; in detect_memory_88()
|
| A D | pm.c | 23 if (boot_params.hdr.realmode_swtch) { in realmode_switch_hook() 25 : : "m" (boot_params.hdr.realmode_swtch) in realmode_switch_hook() 123 protected_mode_jump(boot_params.hdr.code32_start, in go_to_protected_mode() 124 (u32)&boot_params + (ds() << 4)); in go_to_protected_mode()
|
| A D | edd.c | 57 if (!(boot_params.hdr.loadflags & CAN_USE_HEAP)) in read_mbr_sig() 59 if (mbrbuf_end > (char *)(size_t)boot_params.hdr.heap_end_ptr) in read_mbr_sig() 147 edp = boot_params.eddbuf; in query_edd() 148 mbrptr = boot_params.edd_mbr_sig_buffer; in query_edd() 166 && boot_params.eddbuf_entries < EDDMAXNR) { in query_edd() 169 boot_params.eddbuf_entries++; in query_edd() 173 boot_params.edd_mbr_sig_buf_entries = devno-0x80+1; in query_edd()
|
| A D | video-bios.c | 50 if (new_mode != boot_params.screen_info.orig_video_mode) { in set_bios_mode() 54 ireg.ax = boot_params.screen_info.orig_video_mode; in set_bios_mode() 67 u8 saved_mode = boot_params.screen_info.orig_video_mode; in bios_probe()
|
| /arch/x86/include/asm/ |
| A D | bootparam_utils.h | 26 .start = offsetof(struct boot_params, struct_member), \ 27 .len = sizeof_mbr(struct boot_params, struct_member), \ 35 static void sanitize_boot_params(struct boot_params *boot_params) in sanitize_boot_params() argument 51 if (boot_params->sentinel) { in sanitize_boot_params() 52 static struct boot_params scratch; in sanitize_boot_params() 53 char *bp_base = (char *)boot_params; in sanitize_boot_params() 87 memcpy(boot_params, save_base, sizeof(*boot_params)); in sanitize_boot_params()
|
| A D | mem_encrypt.h | 19 struct boot_params; 50 void sme_encrypt_kernel(struct boot_params *bp); 51 void sme_enable(struct boot_params *bp); 84 static inline void sme_encrypt_kernel(struct boot_params *bp) { } in sme_encrypt_kernel() 85 static inline void sme_enable(struct boot_params *bp) { } in sme_enable()
|
| A D | setup.h | 53 extern unsigned long __startup_64(unsigned long p2v_offset, struct boot_params *bp); 81 extern struct boot_params boot_params; 87 !!(boot_params.hdr.loadflags & KASLR_FLAG); in kaslr_enabled()
|
| /arch/x86/boot/compressed/ |
| A D | misc.h | 142 void sev_enable(struct boot_params *bp); 155 static inline void sev_enable(struct boot_params *bp) in sev_enable() 224 enum efi_type efi_get_type(struct boot_params *bp); 225 unsigned long efi_get_system_table(struct boot_params *bp); 226 int efi_get_conf_table(struct boot_params *bp, unsigned long *cfg_tbl_pa, 228 unsigned long efi_find_vendor_table(struct boot_params *bp, 233 static inline enum efi_type efi_get_type(struct boot_params *bp) in efi_get_type() 238 static inline unsigned long efi_get_system_table(struct boot_params *bp) in efi_get_system_table() 243 static inline int efi_get_conf_table(struct boot_params *bp, in efi_get_conf_table() 250 static inline unsigned long efi_find_vendor_table(struct boot_params *bp, in efi_find_vendor_table()
|
| A D | efi.c | 19 enum efi_type efi_get_type(struct boot_params *bp) in efi_get_type() 60 unsigned long efi_get_system_table(struct boot_params *bp) in efi_get_system_table() 87 static struct efi_setup_data *get_kexec_setup_data(struct boot_params *bp, in get_kexec_setup_data() 131 int efi_get_conf_table(struct boot_params *bp, unsigned long *cfg_tbl_pa, in efi_get_conf_table() 208 unsigned long efi_find_vendor_table(struct boot_params *bp, in efi_find_vendor_table()
|
| /arch/x86/kernel/ |
| A D | setup.c | 78 struct boot_params boot_params; variable 357 if (!boot_params.hdr.type_of_loader || in early_reserve_initrd() 371 if (!boot_params.hdr.type_of_loader || in reserve_initrd() 480 pa_data = boot_params.hdr.setup_data; in parse_setup_data() 529 screen_info = boot_params.screen_info; in parse_boot_params() 531 edid_info = boot_params.edid_info; in parse_boot_params() 534 apm_info.bios = boot_params.apm_bios_info; in parse_boot_params() 535 ist_info = boot_params.ist_info; in parse_boot_params() 560 if (!boot_params.hdr.root_flags) in parse_boot_params() 571 pa_data = boot_params.hdr.setup_data; in memblock_x86_reserve_range_setup_data() [all …]
|
| A D | asm-offsets.c | 94 OFFSET(BP_scratch, boot_params, scratch); in common() 95 OFFSET(BP_secure_boot, boot_params, secure_boot); in common() 96 OFFSET(BP_loadflags, boot_params, hdr.loadflags); in common() 97 OFFSET(BP_hardware_subarch, boot_params, hdr.hardware_subarch); in common() 98 OFFSET(BP_version, boot_params, hdr.version); in common() 99 OFFSET(BP_kernel_alignment, boot_params, hdr.kernel_alignment); in common() 100 OFFSET(BP_init_size, boot_params, hdr.init_size); in common() 101 OFFSET(BP_pref_address, boot_params, hdr.pref_address); in common()
|
| A D | kexec-bzimage64.c | 57 static int setup_initrd(struct boot_params *params, in setup_initrd() 103 static int setup_e820_entries(struct boot_params *params) in setup_e820_entries() 140 static int setup_efi_info_memmap(struct boot_params *params, in setup_efi_info_memmap() 162 prepare_add_efi_setup_data(struct boot_params *params, in prepare_add_efi_setup_data() 190 struct efi_info *current_ei = &boot_params.efi_info; in setup_efi_state() 199 params->secure_boot = boot_params.secure_boot; in setup_efi_state() 289 params->acpi_rsdp_addr = boot_params.acpi_rsdp_addr; in setup_boot_parameters() 358 memcpy(params->eddbuf, boot_params.eddbuf, in setup_boot_parameters() 360 params->eddbuf_entries = boot_params.eddbuf_entries; in setup_boot_parameters() 440 struct boot_params *params; in bzImage64_load() [all …]
|
| A D | head64.c | 184 unsigned long cmd_line_ptr = boot_params.hdr.cmd_line_ptr; in get_cmd_line_ptr() 186 cmd_line_ptr |= (u64)boot_params.ext_cmd_line_ptr << 32; in get_cmd_line_ptr() 202 memcpy(&boot_params, real_mode_data, sizeof(boot_params)); in copy_bootdata() 203 sanitize_boot_params(&boot_params); in copy_bootdata() 294 if (!boot_params.hdr.version) in x86_64_start_reservations() 299 switch (boot_params.hdr.hardware_subarch) { in x86_64_start_reservations()
|
| A D | head32.c | 62 sanitize_boot_params(&boot_params); in i386_start_kernel() 67 switch (boot_params.hdr.hardware_subarch) { in i386_start_kernel() 133 struct boot_params __maybe_unused *params; in mk_early_pgtbl_32() 148 params = (struct boot_params *)__pa_nodebug(&boot_params); in mk_early_pgtbl_32()
|
| A D | kdebugfs.c | 102 pa_data = boot_params.hdr.setup_data; in create_setup_data_nodes() 161 .data = &boot_params, 162 .size = sizeof(boot_params), 172 debugfs_create_x16("version", S_IRUGO, dbp, &boot_params.hdr.version); in boot_params_kdebugfs_init()
|
| A D | ksysfs.c | 25 return sprintf(buf, "0x%04x\n", boot_params.hdr.version); in version_show() 34 memcpy(buf, (void *)&boot_params + off, count); in boot_params_data_read() 44 .size = sizeof(boot_params), 74 u64 pa_data = boot_params.hdr.setup_data; in get_setup_data_paddr() 94 u64 pa_data = boot_params.hdr.setup_data, pa_next; in get_setup_data_size() 333 pa_data = boot_params.hdr.setup_data; in create_setup_data_nodes()
|
| /arch/x86/xen/ |
| A D | enlighten_pvh.c | 72 struct boot_params *bootp = &boot_params; in pvh_reserve_extra_memory() 147 void __init xen_pvh_init(struct boot_params *boot_params) in xen_pvh_init() argument 156 xen_efi_init(boot_params); in xen_pvh_init() 168 &boot_params->screen_info); in xen_pvh_init() 172 void __init mem_map_via_hcall(struct boot_params *boot_params_p) in mem_map_via_hcall()
|
| A D | efi.c | 132 void __init xen_efi_init(struct boot_params *boot_params) in xen_efi_init() argument 141 strscpy((char *)&boot_params->efi_info.efi_loader_signature, "Xen", in xen_efi_init() 142 sizeof(boot_params->efi_info.efi_loader_signature)); in xen_efi_init() 143 boot_params->efi_info.efi_systab = (__u32)__pa(efi_systab_xen); in xen_efi_init() 144 boot_params->efi_info.efi_systab_hi = (__u32)(__pa(efi_systab_xen) >> 32); in xen_efi_init() 146 boot_params->secure_boot = xen_efi_get_secureboot(); in xen_efi_init()
|
| A D | xen-ops.h | 132 extern void xen_efi_init(struct boot_params *boot_params); 134 static inline void __init xen_efi_init(struct boot_params *boot_params) in xen_efi_init() argument
|
| /arch/x86/include/asm/xen/ |
| A D | hypervisor.h | 63 void __init xen_pvh_init(struct boot_params *boot_params); 64 void __init mem_map_via_hcall(struct boot_params *boot_params_p);
|
| /arch/x86/platform/pvh/ |
| A D | enlighten.c | 23 struct boot_params __initdata pvh_bootparams; 40 void __init __weak mem_map_via_hcall(struct boot_params *ptr __maybe_unused) in mem_map_via_hcall() 105 void __init __weak xen_pvh_init(struct boot_params *boot_params) in xen_pvh_init() argument
|