| /linux/arch/x86/boot/ |
| H 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() 180 boot_params.screen_info.rsvd_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() [all …]
|
| H 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()
|
| H 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()
|
| H 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()
|
| H 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()
|
| /linux/arch/x86/include/asm/ |
| H 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()
|
| H A D | kbdleds.h | 15 return boot_params.kbd_status & 0x20 ? (1 << VC_NUMLOCK) : 0; in kbd_defleds()
|
| H A D | crash.h | 9 struct boot_params *params);
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-boot_params | 1 What: /sys/kernel/boot_params 4 Description: The /sys/kernel/boot_params directory contains two 9 If there's no setup_data in boot_params the subdirectory will 12 "data" file is the binary representation of struct boot_params. 18 structure in boot_params. setup_data is maintained in kernel 26 The whole boot_params directory structure is like below:: 28 /sys/kernel/boot_params
|
| /linux/arch/x86/xen/ |
| H 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()
|
| H 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()
|
| H A D | setup.c | 956 if (xen_is_e820_reserved(boot_params.hdr.ramdisk_image, in xen_memory_setup() 957 boot_params.hdr.ramdisk_size)) { in xen_memory_setup() 960 new_area = xen_find_free_area(boot_params.hdr.ramdisk_size); in xen_memory_setup() 966 start = boot_params.hdr.ramdisk_image; in xen_memory_setup() 967 size = boot_params.hdr.ramdisk_size; in xen_memory_setup() 972 boot_params.hdr.ramdisk_image = new_area; in xen_memory_setup() 973 boot_params.ext_ramdisk_image = new_area >> 32; in xen_memory_setup()
|
| /linux/arch/x86/kernel/ |
| H A D | head64.c | 187 unsigned long cmd_line_ptr = boot_params.hdr.cmd_line_ptr; in get_cmd_line_ptr() 189 cmd_line_ptr |= (u64)boot_params.ext_cmd_line_ptr << 32; in get_cmd_line_ptr() 205 memcpy(&boot_params, real_mode_data, sizeof(boot_params)); in copy_bootdata() 206 sanitize_boot_params(&boot_params); in copy_bootdata() 297 if (!boot_params.hdr.version) in x86_64_start_reservations() 302 switch (boot_params.hdr.hardware_subarch) { in x86_64_start_reservations()
|
| H 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()
|
| H 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()
|
| H 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()
|
| H A D | early_printk.c | 425 boot_params.screen_info.orig_video_isVGA == 1) { in setup_early_printk() 426 max_xpos = boot_params.screen_info.orig_video_cols; in setup_early_printk() 427 max_ypos = boot_params.screen_info.orig_video_lines; in setup_early_printk() 428 current_ypos = boot_params.screen_info.orig_y; in setup_early_printk()
|
| /linux/arch/x86/boot/compressed/ |
| H 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()
|
| H A D | sev.c | 238 static struct cc_blob_sev_info *find_cc_blob_efi(struct boot_params *bp) in find_cc_blob_efi() 263 static struct cc_blob_sev_info *find_cc_blob(struct boot_params *bp) in find_cc_blob() 286 static bool early_snp_init(struct boot_params *bp) in early_snp_init() 360 void sev_enable(struct boot_params *bp) in sev_enable()
|
| /linux/arch/x86/platform/pvh/ |
| H A D | enlighten.c | 23 struct boot_params __initdata pvh_bootparams; 35 void __init __weak mem_map_via_hcall(struct boot_params *ptr __maybe_unused) in mem_map_via_hcall() 100 void __init __weak xen_pvh_init(struct boot_params *boot_params) in xen_pvh_init() argument
|
| /linux/arch/x86/mm/ |
| H A D | mem_encrypt_amd.c | 179 struct boot_params *boot_data; in sme_unmap_bootdata() 186 boot_data = (struct boot_params *)real_mode_data; in sme_unmap_bootdata() 189 __sme_early_map_unmap_mem(real_mode_data, sizeof(boot_params), false); in sme_unmap_bootdata() 199 struct boot_params *boot_data; in sme_map_bootdata() 205 __sme_early_map_unmap_mem(real_mode_data, sizeof(boot_params), true); in sme_map_bootdata() 208 boot_data = (struct boot_params *)real_mode_data; in sme_map_bootdata()
|
| H A D | ioremap.c | 611 paddr = boot_params.efi_info.efi_memmap_hi; in memremap_is_efi_data() 613 paddr |= boot_params.efi_info.efi_memmap; in memremap_is_efi_data() 617 paddr = boot_params.efi_info.efi_systab_hi; in memremap_is_efi_data() 619 paddr |= boot_params.efi_info.efi_systab; in memremap_is_efi_data() 648 paddr = boot_params.hdr.setup_data; in __memremap_is_setup_data()
|
| /linux/arch/x86/platform/efi/ |
| H A D | efi.c | 194 struct efi_info *e = &boot_params.efi_info; in efi_memblock_x86_reserve_range() 467 (boot_params.efi_info.efi_systab_hi || in efi_init() 468 boot_params.efi_info.efi_memmap_hi)) { in efi_init() 473 efi_systab_phys = boot_params.efi_info.efi_systab | in efi_init() 474 ((__u64)boot_params.efi_info.efi_systab_hi << 32); in efi_init() 925 return boot_params.secure_boot; in __x86_efi_boot_mode()
|
| /linux/drivers/net/wireless/rsi/ |
| H A D | rsi_91x_mgmt.c | 920 struct rsi_boot_params *boot_params; in rsi_load_bootup_params() local 931 boot_params = (struct rsi_boot_params *)skb->data; in rsi_load_bootup_params() 936 memcpy(&boot_params->bootup_params, in rsi_load_bootup_params() 941 boot_params->desc_word[7] = cpu_to_le16(UMAC_CLK_40BW); in rsi_load_bootup_params() 943 memcpy(&boot_params->bootup_params, in rsi_load_bootup_params() 947 boot_params->desc_word[7] = cpu_to_le16(UMAC_CLK_20BW); in rsi_load_bootup_params() 952 boot_params->desc_word[7] = cpu_to_le16(UMAC_CLK_40MHZ); in rsi_load_bootup_params() 963 boot_params->desc_word[0] = cpu_to_le16(sizeof(struct bootup_params) | in rsi_load_bootup_params() 965 boot_params->desc_word[1] = cpu_to_le16(BOOTUP_PARAMS_REQUEST); in rsi_load_bootup_params() 975 struct rsi_boot_params_9116 *boot_params; in rsi_load_9116_bootup_params() local [all …]
|
| /linux/arch/x86/boot/startup/ |
| H A D | map_kernel.c | 33 static unsigned long __init sme_postprocess_startup(struct boot_params *bp, in sme_postprocess_startup() 88 struct boot_params *bp) in __startup_64()
|