/linux-4.4.14/arch/x86/include/asm/ |
D | bootparam_utils.h | 20 static void sanitize_boot_params(struct boot_params *boot_params) in sanitize_boot_params() argument 36 if (boot_params->sentinel) { in sanitize_boot_params() 38 memset(&boot_params->ext_ramdisk_image, 0, in sanitize_boot_params() 39 (char *)&boot_params->efi_info - in sanitize_boot_params() 40 (char *)&boot_params->ext_ramdisk_image); in sanitize_boot_params() 41 memset(&boot_params->kbd_status, 0, in sanitize_boot_params() 42 (char *)&boot_params->hdr - in sanitize_boot_params() 43 (char *)&boot_params->kbd_status); in sanitize_boot_params() 44 memset(&boot_params->_pad7[0], 0, in sanitize_boot_params() 45 (char *)&boot_params->edd_mbr_sig_buffer[0] - in sanitize_boot_params() [all …]
|
D | setup.h | 68 extern struct boot_params boot_params; 73 return !!(boot_params.hdr.loadflags & KASLR_FLAG); in kaslr_enabled()
|
D | kbdleds.h | 14 return boot_params.kbd_status & 0x20 ? (1 << VC_NUMLOCK) : 0; in kbd_defleds()
|
D | crash.h | 7 struct boot_params *params);
|
/linux-4.4.14/arch/x86/boot/ |
D | video-vesa.c | 179 boot_params.screen_info.red_size = dac_size; in vesa_dac_set_8bits() 180 boot_params.screen_info.green_size = dac_size; in vesa_dac_set_8bits() 181 boot_params.screen_info.blue_size = dac_size; in vesa_dac_set_8bits() 182 boot_params.screen_info.rsvd_size = dac_size; in vesa_dac_set_8bits() 184 boot_params.screen_info.red_pos = 0; in vesa_dac_set_8bits() 185 boot_params.screen_info.green_pos = 0; in vesa_dac_set_8bits() 186 boot_params.screen_info.blue_pos = 0; in vesa_dac_set_8bits() 187 boot_params.screen_info.rsvd_pos = 0; in vesa_dac_set_8bits() 202 boot_params.screen_info.vesapm_seg = oreg.es; in vesa_store_pm_info() 203 boot_params.screen_info.vesapm_off = oreg.di; in vesa_store_pm_info() [all …]
|
D | main.c | 19 struct boot_params boot_params __attribute__((aligned(16))); variable 39 BUILD_BUG_ON(sizeof boot_params != 4096); in copy_boot_params() 40 memcpy(&boot_params.hdr, &hdr, sizeof hdr); in copy_boot_params() 42 if (!boot_params.hdr.cmd_line_ptr && in copy_boot_params() 50 if (oldcmd->cl_offset < boot_params.hdr.setup_move_size) in copy_boot_params() 55 boot_params.hdr.cmd_line_ptr = in copy_boot_params() 72 boot_params.kbd_status = oreg.al; in keyboard_init() 95 boot_params.ist_info.signature = oreg.eax; in query_ist() 96 boot_params.ist_info.command = oreg.ebx; in query_ist() 97 boot_params.ist_info.event = oreg.ecx; in query_ist() [all …]
|
D | apm.c | 47 boot_params.apm_bios_info.cseg = oreg.ax; in query_apm_bios() 48 boot_params.apm_bios_info.offset = oreg.ebx; in query_apm_bios() 49 boot_params.apm_bios_info.cseg_16 = oreg.cx; in query_apm_bios() 50 boot_params.apm_bios_info.dseg = oreg.dx; in query_apm_bios() 51 boot_params.apm_bios_info.cseg_len = oreg.si; in query_apm_bios() 52 boot_params.apm_bios_info.cseg_16_len = oreg.hsi; in query_apm_bios() 53 boot_params.apm_bios_info.dseg_len = oreg.di; in query_apm_bios() 71 boot_params.apm_bios_info.version = oreg.ax; in query_apm_bios() 72 boot_params.apm_bios_info.flags = oreg.cx; in query_apm_bios()
|
D | video.c | 32 boot_params.screen_info.orig_x = oreg.dl; in store_cursor_position() 33 boot_params.screen_info.orig_y = oreg.dh; in store_cursor_position() 36 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; in store_cursor_position() 39 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; in store_cursor_position() 53 boot_params.screen_info.orig_video_mode = oreg.al & 0x7f; in store_video_mode() 54 boot_params.screen_info.orig_video_page = oreg.bh; in store_video_mode() 76 if (boot_params.screen_info.orig_video_mode == 0x07) { in store_mode_params() 86 boot_params.screen_info.orig_video_points = font_size; in store_mode_params() 96 boot_params.screen_info.orig_video_cols = x; in store_mode_params() 97 boot_params.screen_info.orig_video_lines = y; in store_mode_params() [all …]
|
D | memory.c | 24 struct e820entry *desc = boot_params.e820_map; in detect_memory_e820() 69 } while (ireg.ebx && count < ARRAY_SIZE(boot_params.e820_map)); in detect_memory_e820() 71 return boot_params.e820_entries = count; in detect_memory_e820() 94 boot_params.alt_mem_k = (oreg.bx << 6) + oreg.ax; in detect_memory_e801() 103 boot_params.alt_mem_k = oreg.ax; in detect_memory_e801() 117 boot_params.screen_info.ext_mem_k = oreg.ax; in detect_memory_88()
|
D | edd.c | 59 if (!(boot_params.hdr.loadflags & CAN_USE_HEAP)) in read_mbr_sig() 61 if (mbrbuf_end > (char *)(size_t)boot_params.hdr.heap_end_ptr) in read_mbr_sig() 149 edp = boot_params.eddbuf; in query_edd() 150 mbrptr = boot_params.edd_mbr_sig_buffer; in query_edd() 168 && boot_params.eddbuf_entries < EDDMAXNR) { in query_edd() 171 boot_params.eddbuf_entries++; in query_edd() 175 boot_params.edd_mbr_sig_buf_entries = devno-0x80+1; in query_edd()
|
D | pm.c | 24 if (boot_params.hdr.realmode_swtch) { in realmode_switch_hook() 26 : : "m" (boot_params.hdr.realmode_swtch) in realmode_switch_hook() 124 protected_mode_jump(boot_params.hdr.code32_start, in go_to_protected_mode() 125 (u32)&boot_params + (ds() << 4)); in go_to_protected_mode()
|
D | video-bios.c | 52 if (new_mode != boot_params.screen_info.orig_video_mode) { in set_bios_mode() 56 ireg.ax = boot_params.screen_info.orig_video_mode; in set_bios_mode() 69 u8 saved_mode = boot_params.screen_info.orig_video_mode; in bios_probe()
|
D | boot.h | 37 extern struct boot_params boot_params; 277 unsigned long cmd_line_ptr = boot_params.hdr.cmd_line_ptr; in cmdline_find_option() 287 unsigned long cmd_line_ptr = boot_params.hdr.cmd_line_ptr; in cmdline_find_option_bool()
|
D | video-vga.c | 258 boot_params.screen_info.orig_video_ega_bx = oreg.bx; in vga_probe() 270 boot_params.screen_info.orig_video_isVGA = 1; in vga_probe()
|
D | pmjump.S | 27 movl %edx, %esi # Pointer to boot_params table
|
D | video-mode.c | 170 boot_params.hdr.vid_mode = real_mode; in set_mode()
|
/linux-4.4.14/arch/x86/kernel/ |
D | setup.c | 146 struct boot_params boot_params; variable 252 memcpy(edd.mbr_signature, boot_params.edd_mbr_sig_buffer, in copy_edd() 254 memcpy(edd.edd_info, boot_params.eddbuf, sizeof(edd.edd_info)); in copy_edd() 255 edd.mbr_signature_nr = boot_params.edd_mbr_sig_buf_entries; in copy_edd() 256 edd.edd_info_nr = boot_params.eddbuf_entries; in copy_edd() 306 u64 ramdisk_image = boot_params.hdr.ramdisk_image; in get_ramdisk_image() 308 ramdisk_image |= (u64)boot_params.ext_ramdisk_image << 32; in get_ramdisk_image() 314 u64 ramdisk_size = boot_params.hdr.ramdisk_size; in get_ramdisk_size() 316 ramdisk_size |= (u64)boot_params.ext_ramdisk_size << 32; in get_ramdisk_size() 359 if (!boot_params.hdr.type_of_loader || in early_reserve_initrd() [all …]
|
D | kexec-bzimage64.c | 57 static int setup_initrd(struct boot_params *params, in setup_initrd() 69 static int setup_cmdline(struct kimage *image, struct boot_params *params, in setup_cmdline() 99 static int setup_e820_entries(struct boot_params *params) in setup_e820_entries() 117 static int setup_efi_info_memmap(struct boot_params *params, in setup_efi_info_memmap() 139 prepare_add_efi_setup_data(struct boot_params *params, in prepare_add_efi_setup_data() 164 setup_efi_state(struct boot_params *params, unsigned long params_load_addr, in setup_efi_state() 168 struct efi_info *current_ei = &boot_params.efi_info; in setup_efi_state() 199 setup_boot_parameters(struct kimage *image, struct boot_params *params, in setup_boot_parameters() 209 params->hdr.hardware_subarch = boot_params.hdr.hardware_subarch; in setup_boot_parameters() 212 memcpy(¶ms->screen_info, &boot_params.screen_info, in setup_boot_parameters() [all …]
|
D | asm-offsets.c | 82 OFFSET(BP_scratch, boot_params, scratch); in common() 83 OFFSET(BP_loadflags, boot_params, hdr.loadflags); in common() 84 OFFSET(BP_hardware_subarch, boot_params, hdr.hardware_subarch); in common() 85 OFFSET(BP_version, boot_params, hdr.version); in common() 86 OFFSET(BP_kernel_alignment, boot_params, hdr.kernel_alignment); in common() 87 OFFSET(BP_pref_address, boot_params, hdr.pref_address); in common() 88 OFFSET(BP_code32_start, boot_params, hdr.code32_start); in common()
|
D | head64.c | 120 unsigned long cmd_line_ptr = boot_params.hdr.cmd_line_ptr; in get_cmd_line_ptr() 122 cmd_line_ptr |= (u64)boot_params.ext_cmd_line_ptr << 32; in get_cmd_line_ptr() 132 memcpy(&boot_params, real_mode_data, sizeof boot_params); in copy_bootdata() 133 sanitize_boot_params(&boot_params); in copy_bootdata() 190 if (!boot_params.hdr.version) in x86_64_start_reservations()
|
D | ksysfs.c | 26 return sprintf(buf, "0x%04x\n", boot_params.hdr.version); in version_show() 35 memcpy(buf, (void *)&boot_params + off, count); in boot_params_data_read() 45 .size = sizeof(boot_params), 75 u64 pa_data = boot_params.hdr.setup_data; in get_setup_data_paddr() 97 u64 pa_data = boot_params.hdr.setup_data; in get_setup_data_size() 272 pa_data = boot_params.hdr.setup_data; in create_setup_data_nodes()
|
D | head32.c | 35 sanitize_boot_params(&boot_params); in i386_start_kernel() 38 switch (boot_params.hdr.hardware_subarch) { in i386_start_kernel()
|
D | kdebugfs.c | 120 pa_data = boot_params.hdr.setup_data; in create_setup_data_nodes() 161 .data = &boot_params, 162 .size = sizeof(boot_params), 175 &boot_params.hdr.version); in boot_params_kdebugfs_init()
|
D | tboot.c | 65 if (!boot_params.tboot_addr) in tboot_probe() 71 if (!e820_any_mapped(boot_params.tboot_addr, in tboot_probe() 72 boot_params.tboot_addr, E820_RESERVED)) { in tboot_probe() 84 set_fixmap(FIX_TBOOT_BASE, boot_params.tboot_addr); in tboot_probe() 88 boot_params.tboot_addr); in tboot_probe() 99 boot_params.tboot_addr); in tboot_probe()
|
D | e820.c | 1057 new_nr = boot_params.e820_entries; in default_machine_specific_memory_setup() 1058 sanitize_e820_map(boot_params.e820_map, in default_machine_specific_memory_setup() 1059 ARRAY_SIZE(boot_params.e820_map), in default_machine_specific_memory_setup() 1061 boot_params.e820_entries = new_nr; in default_machine_specific_memory_setup() 1062 if (append_e820_map(boot_params.e820_map, boot_params.e820_entries) in default_machine_specific_memory_setup() 1067 if (boot_params.alt_mem_k in default_machine_specific_memory_setup() 1068 < boot_params.screen_info.ext_mem_k) { in default_machine_specific_memory_setup() 1069 mem_size = boot_params.screen_info.ext_mem_k; in default_machine_specific_memory_setup() 1072 mem_size = boot_params.alt_mem_k; in default_machine_specific_memory_setup()
|
D | early_printk.c | 366 boot_params.screen_info.orig_video_isVGA == 1) { in setup_early_printk() 367 max_xpos = boot_params.screen_info.orig_video_cols; in setup_early_printk() 368 max_ypos = boot_params.screen_info.orig_video_lines; in setup_early_printk() 369 current_ypos = boot_params.screen_info.orig_y; in setup_early_printk()
|
D | crash.c | 73 struct boot_params *params; 514 static int add_e820_entry(struct boot_params *params, struct e820entry *entry) in add_e820_entry() 531 struct boot_params *params = cmd->params; in memmap_entry_callback() 567 int crash_setup_memmap_entries(struct kimage *image, struct boot_params *params) in crash_setup_memmap_entries()
|
D | head_32.S | 135 movl $pa(boot_params),%edi 140 movl pa(boot_params) + NEW_CL_POINTER,%esi 249 cmpw $0x207, pa(boot_params + BP_version) 254 movl pa(boot_params + BP_hardware_subarch), %eax
|
/linux-4.4.14/Documentation/ABI/testing/ |
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: 27 /sys/kernel/boot_params
|
/linux-4.4.14/arch/x86/boot/compressed/ |
D | misc.h | 35 extern struct boot_params *real_mode; /* Pointer to real-mode data */ 70 unsigned char *choose_kernel_location(struct boot_params *boot_params, 79 unsigned char *choose_kernel_location(struct boot_params *boot_params, in choose_kernel_location() argument
|
D | eboot.c | 376 setup_efi_pci32(struct boot_params *params, void **pci_handle, in setup_efi_pci32() 483 setup_efi_pci64(struct boot_params *params, void **pci_handle, in setup_efi_pci64() 536 static void setup_efi_pci(struct boot_params *params) in setup_efi_pci() 1023 void setup_graphics(struct boot_params *boot_params) in setup_graphics() argument 1033 si = &boot_params->screen_info; in setup_graphics() 1061 struct boot_params *make_boot_params(struct efi_config *c) in make_boot_params() 1063 struct boot_params *boot_params; in make_boot_params() local 1100 (unsigned long *)&boot_params); in make_boot_params() 1106 memset(boot_params, 0x0, 0x4000); in make_boot_params() 1108 hdr = &boot_params->hdr; in make_boot_params() [all …]
|
D | aslr.c | 298 unsigned char *choose_kernel_location(struct boot_params *boot_params, in choose_kernel_location() argument 319 boot_params->hdr.loadflags |= KASLR_FLAG; in choose_kernel_location()
|
D | misc.c | 117 struct boot_params *real_mode; /* Pointer to real-mode data */
|
/linux-4.4.14/arch/x86/xen/ |
D | efi.c | 37 strncpy((char *)&boot_params.efi_info.efi_loader_signature, "Xen", in xen_efi_init() 38 sizeof(boot_params.efi_info.efi_loader_signature)); in xen_efi_init() 39 boot_params.efi_info.efi_systab = (__u32)__pa(efi_systab_xen); in xen_efi_init() 40 boot_params.efi_info.efi_systab_hi = (__u32)(__pa(efi_systab_xen) >> 32); in xen_efi_init()
|
D | enlighten.c | 1364 edd_info = boot_params.eddbuf; in xen_boot_params_init_edd() 1365 mbr_signature = boot_params.edd_mbr_sig_buffer; in xen_boot_params_init_edd() 1390 boot_params.eddbuf_entries = nr; in xen_boot_params_init_edd() 1400 boot_params.edd_mbr_sig_buf_entries = nr; in xen_boot_params_init_edd() 1678 boot_params.hdr.type_of_loader = (9 << 4) | 0; in xen_start_kernel() 1679 boot_params.hdr.ramdisk_image = initrd_start; in xen_start_kernel() 1680 boot_params.hdr.ramdisk_size = xen_start_info->mod_len; in xen_start_kernel() 1681 boot_params.hdr.cmd_line_ptr = __pa(xen_start_info->cmd_line); in xen_start_kernel() 1704 boot_params.kbd_status = op.u.firmware_info.u.kbd_shift_flags; in xen_start_kernel() 1732 x86_64_start_reservations((char *)__pa_symbol(&boot_params)); in xen_start_kernel()
|
D | setup.c | 886 if (xen_is_e820_reserved(boot_params.hdr.ramdisk_image, in xen_memory_setup() 887 boot_params.hdr.ramdisk_size)) { in xen_memory_setup() 890 new_area = xen_find_free_area(boot_params.hdr.ramdisk_size); in xen_memory_setup() 896 start = boot_params.hdr.ramdisk_image; in xen_memory_setup() 897 size = boot_params.hdr.ramdisk_size; in xen_memory_setup() 902 boot_params.hdr.ramdisk_image = new_area; in xen_memory_setup() 903 boot_params.ext_ramdisk_image = new_area >> 32; in xen_memory_setup()
|
D | vga.c | 13 struct screen_info *screen_info = &boot_params.screen_info; in xen_init_vga()
|
/linux-4.4.14/arch/x86/platform/efi/ |
D | early_printk.c | 34 base = boot_params.screen_info.lfb_base; in early_efi_map_fb() 35 size = boot_params.screen_info.lfb_size; in early_efi_map_fb() 51 base = boot_params.screen_info.lfb_base; in early_efi_map() 70 len = boot_params.screen_info.lfb_linelength; in early_efi_clear_scanline() 85 len = boot_params.screen_info.lfb_linelength; in early_efi_scroll_up() 86 height = boot_params.screen_info.lfb_height; in early_efi_scroll_up() 134 si = &boot_params.screen_info; in early_efi_write() 205 si = &boot_params.screen_info; in early_efi_setup()
|
D | efi.c | 196 struct efi_info *e = &boot_params.efi_info; in efi_memblock_x86_reserve_range() 471 if (boot_params.efi_info.efi_systab_hi || in efi_init() 472 boot_params.efi_info.efi_memmap_hi) { in efi_init() 476 efi_phys.systab = (efi_system_table_t *)boot_params.efi_info.efi_systab; in efi_init() 479 (boot_params.efi_info.efi_systab | in efi_init() 480 ((__u64)boot_params.efi_info.efi_systab_hi<<32)); in efi_init()
|
/linux-4.4.14/arch/x86/kernel/cpu/microcode/ |
D | amd.c | 78 struct boot_params *p; in find_ucode_in_initrd() 84 p = (struct boot_params *)__pa_nodebug(&boot_params); in find_ucode_in_initrd() 90 start = (void *)(boot_params.hdr.ramdisk_image + PAGE_OFFSET); in find_ucode_in_initrd() 91 size = boot_params.hdr.ramdisk_size; in find_ucode_in_initrd() 430 (cont - boot_params.hdr.ramdisk_image)); in save_microcode_in_initrd_amd()
|
D | intel.c | 736 struct boot_params *p; in load_ucode_intel_bsp() 738 p = (struct boot_params *)__pa_nodebug(&boot_params); in load_ucode_intel_bsp() 751 size = boot_params.hdr.ramdisk_size; in load_ucode_intel_bsp() 752 start = (size ? boot_params.hdr.ramdisk_image + PAGE_OFFSET : 0); in load_ucode_intel_bsp()
|
/linux-4.4.14/drivers/net/wireless/rsi/ |
D | rsi_91x_mgmt.c | 764 struct rsi_boot_params *boot_params; in rsi_load_bootup_params() local 775 boot_params = (struct rsi_boot_params *)skb->data; in rsi_load_bootup_params() 780 memcpy(&boot_params->bootup_params, in rsi_load_bootup_params() 785 boot_params->desc_word[7] = cpu_to_le16(UMAC_CLK_40BW); in rsi_load_bootup_params() 787 memcpy(&boot_params->bootup_params, in rsi_load_bootup_params() 791 boot_params->desc_word[7] = cpu_to_le16(UMAC_CLK_20BW); in rsi_load_bootup_params() 796 boot_params->desc_word[7] = cpu_to_le16(UMAC_CLK_40MHZ); in rsi_load_bootup_params() 807 boot_params->desc_word[0] = cpu_to_le16(sizeof(struct bootup_params) | in rsi_load_bootup_params() 809 boot_params->desc_word[1] = cpu_to_le16(BOOTUP_PARAMS_REQUEST); in rsi_load_bootup_params()
|
/linux-4.4.14/arch/mips/loongson64/common/ |
D | env.c | 72 struct boot_params *boot_p; in prom_init_env() 79 boot_p = (struct boot_params *)fw_arg2; in prom_init_env()
|
/linux-4.4.14/arch/x86/platform/olpc/ |
D | olpc_ofw.c | 91 struct olpc_ofw_header *hdr = &boot_params.olpc_ofw_header; in olpc_ofw_detect()
|
/linux-4.4.14/Documentation/x86/ |
D | boot.txt | 61 to struct boot_params for loading bzImage and ramdisk 607 - If 1, kernel/boot_params/cmdline/ramdisk can be above 4G. 1039 should be to setup the boot parameters (struct boot_params, 1040 traditionally known as "zero page"). The memory for struct boot_params 1043 boot_params and examined. The end of setup header can be calculated as 1049 boot_params as that of 16-bit boot protocol, the boot loader should 1050 also fill the additional fields of the struct boot_params as that 1053 After setting up the struct boot_params, the boot loader can load the 1066 address of the struct boot_params; %ebp, %edi and %ebx must be zero. 1074 should be to setup the boot parameters (struct boot_params, [all …]
|
D | zero-page.txt | 1 The additional fields in struct boot_params as a part of 32-bit boot
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
D | bootparam.h | 114 struct boot_params { struct
|
/linux-4.4.14/arch/x86/lguest/ |
D | boot.c | 1195 e820_add_region(boot_params.e820_map[0].addr, in lguest_memory_setup() 1196 boot_params.e820_map[0].size, in lguest_memory_setup() 1197 boot_params.e820_map[0].type); in lguest_memory_setup()
|
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/ |
D | boot_param.h | 177 struct boot_params { struct
|
/linux-4.4.14/drivers/misc/mic/host/ |
D | mic_x100.c | 386 struct boot_params __iomem *bp = mdev->aper.va + mdev->bootaddr; in mic_x100_load_ramdisk()
|
/linux-4.4.14/arch/x86/pci/ |
D | common.c | 650 pa_data = boot_params.hdr.setup_data; in pcibios_add_device()
|
/linux-4.4.14/Documentation/ |
D | intel_txt.txt | 133 - The location of the shared page is passed via the boot_params
|
/linux-4.4.14/arch/x86/ |
D | Kconfig.debug | 311 This option will cause struct boot_params to be exported via debugfs.
|
/linux-4.4.14/tools/lguest/ |
D | lguest.c | 489 struct boot_params boot; in load_bzimage() 3224 struct boot_params *boot; in main()
|