/arch/x86/boot/ |
H A D | main.c | 18 struct boot_params boot_params __attribute__((aligned(16))); variable in typeref:struct:boot_params 38 BUILD_BUG_ON(sizeof boot_params != 4096); 39 memcpy(&boot_params.hdr, &hdr, sizeof hdr); 41 if (!boot_params.hdr.cmd_line_ptr && 49 if (oldcmd->cl_offset < boot_params.hdr.setup_move_size) 54 boot_params.hdr.cmd_line_ptr = 88 boot_params.ist_info.signature = oreg.eax; 89 boot_params.ist_info.command = oreg.ebx; 90 boot_params [all...] |
H A D | mca.c | 33 if (len > sizeof(boot_params.sys_desc_table)) 34 len = sizeof(boot_params.sys_desc_table); 36 copy_from_fs(&boot_params.sys_desc_table, oreg.bx, len);
|
H A D | apm.c | 47 boot_params.apm_bios_info.cseg = oreg.ax; 48 boot_params.apm_bios_info.offset = oreg.ebx; 49 boot_params.apm_bios_info.cseg_16 = oreg.cx; 50 boot_params.apm_bios_info.dseg = oreg.dx; 51 boot_params.apm_bios_info.cseg_len = oreg.si; 52 boot_params.apm_bios_info.cseg_16_len = oreg.hsi; 53 boot_params.apm_bios_info.dseg_len = oreg.di; 71 boot_params.apm_bios_info.version = oreg.ax; 72 boot_params.apm_bios_info.flags = oreg.cx;
|
H A D | memory.c | 24 struct e820entry *desc = boot_params.e820_map; 69 } while (ireg.ebx && count < ARRAY_SIZE(boot_params.e820_map)); 71 return boot_params.e820_entries = count; 94 boot_params.alt_mem_k = (oreg.bx << 6) + oreg.ax; 103 boot_params.alt_mem_k = oreg.ax; 117 boot_params.screen_info.ext_mem_k = oreg.ax;
|
H A D | video-vesa.c | 178 boot_params.screen_info.red_size = dac_size; 179 boot_params.screen_info.green_size = dac_size; 180 boot_params.screen_info.blue_size = dac_size; 181 boot_params.screen_info.rsvd_size = dac_size; 183 boot_params.screen_info.red_pos = 0; 184 boot_params.screen_info.green_pos = 0; 185 boot_params.screen_info.blue_pos = 0; 186 boot_params.screen_info.rsvd_pos = 0; 201 boot_params.screen_info.vesapm_seg = oreg.es; 202 boot_params [all...] |
H A D | video.c | 28 boot_params.screen_info.orig_x = oreg.dl; 29 boot_params.screen_info.orig_y = oreg.dh; 32 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; 35 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; 49 boot_params.screen_info.orig_video_mode = oreg.al & 0x7f; 50 boot_params.screen_info.orig_video_page = oreg.bh; 72 if (boot_params.screen_info.orig_video_mode == 0x07) { 82 boot_params.screen_info.orig_video_points = font_size; 92 boot_params.screen_info.orig_video_cols = x; 93 boot_params [all...] |
H A D | pm.c | 24 if (boot_params.hdr.realmode_swtch) { 26 : : "m" (boot_params.hdr.realmode_swtch) 124 protected_mode_jump(boot_params.hdr.code32_start, 125 (u32)&boot_params + (ds() << 4));
|
H A D | edd.c | 58 if (!(boot_params.hdr.loadflags & CAN_USE_HEAP)) 60 if (mbrbuf_end > (char *)(size_t)boot_params.hdr.heap_end_ptr) 148 edp = boot_params.eddbuf; 149 mbrptr = boot_params.edd_mbr_sig_buffer; 167 && boot_params.eddbuf_entries < EDDMAXNR) { 170 boot_params.eddbuf_entries++; 174 boot_params.edd_mbr_sig_buf_entries = devno-0x80+1;
|
H A D | video-bios.c | 52 if (new_mode != boot_params.screen_info.orig_video_mode) { 56 ireg.ax = boot_params.screen_info.orig_video_mode; 69 u8 saved_mode = boot_params.screen_info.orig_video_mode;
|
H A D | boot.h | 39 extern struct boot_params boot_params; 292 return __cmdline_find_option(boot_params.hdr.cmd_line_ptr, option, buffer, bufsize); 297 return __cmdline_find_option_bool(boot_params.hdr.cmd_line_ptr, option);
|
H A D | video-mode.c | 170 boot_params.hdr.vid_mode = real_mode;
|
/arch/x86/kernel/ |
H A D | asm-offsets.c | 65 OFFSET(BP_scratch, boot_params, scratch); 66 OFFSET(BP_loadflags, boot_params, hdr.loadflags); 67 OFFSET(BP_hardware_subarch, boot_params, hdr.hardware_subarch); 68 OFFSET(BP_version, boot_params, hdr.version); 69 OFFSET(BP_kernel_alignment, boot_params, hdr.kernel_alignment); 70 OFFSET(BP_pref_address, boot_params, hdr.pref_address); 71 OFFSET(BP_code32_start, boot_params, hdr.code32_start);
|
H A D | head32.c | 39 if (boot_params.hdr.type_of_loader && boot_params.hdr.ramdisk_image) { 41 u64 ramdisk_image = boot_params.hdr.ramdisk_image; 42 u64 ramdisk_size = boot_params.hdr.ramdisk_size; 49 switch (boot_params.hdr.hardware_subarch) {
|
H A D | head64.c | 49 memcpy(&boot_params, real_mode_data, sizeof boot_params); 50 if (boot_params.hdr.cmd_line_ptr) { 51 command_line = __va(boot_params.hdr.cmd_line_ptr); 106 if (boot_params.hdr.type_of_loader && boot_params.hdr.ramdisk_image) { 108 unsigned long ramdisk_image = boot_params.hdr.ramdisk_image; 109 unsigned long ramdisk_size = boot_params.hdr.ramdisk_size;
|
H A D | setup.c | 146 struct boot_params __initdata boot_params; variable in typeref:struct:__initdata 148 struct boot_params boot_params; variable in typeref:struct:boot_params 252 * from boot_params into a safe place. 257 memcpy(edd.mbr_signature, boot_params.edd_mbr_sig_buffer, 259 memcpy(edd.edd_info, boot_params.eddbuf, sizeof(edd.edd_info)); 260 edd.mbr_signature_nr = boot_params.edd_mbr_sig_buf_entries; 261 edd.edd_info_nr = boot_params.eddbuf_entries; 322 u64 ramdisk_image = boot_params [all...] |
H A D | kdebugfs.c | 120 pa_data = boot_params.hdr.setup_data; 159 .data = &boot_params, 160 .size = sizeof(boot_params), 168 dbp = debugfs_create_dir("boot_params", NULL); 173 &boot_params.hdr.version);
|
H A D | tboot.c | 64 if (!boot_params.tboot_addr) 70 if (!e820_any_mapped(boot_params.tboot_addr, 71 boot_params.tboot_addr, E820_RESERVED)) { 83 set_fixmap(FIX_TBOOT_BASE, boot_params.tboot_addr); 87 boot_params.tboot_addr); 98 boot_params.tboot_addr);
|
H A D | early_printk.c | 229 boot_params.screen_info.orig_video_isVGA == 1) { 230 max_xpos = boot_params.screen_info.orig_video_cols; 231 max_ypos = boot_params.screen_info.orig_video_lines; 232 current_ypos = boot_params.screen_info.orig_y;
|
H A D | e820.c | 656 * Because of the size limitation of struct boot_params, only first 658 * boot_params.e820_map, others are passed via SETUP_E820_EXT node of 1016 new_nr = boot_params.e820_entries; 1017 sanitize_e820_map(boot_params.e820_map, 1018 ARRAY_SIZE(boot_params.e820_map), 1020 boot_params.e820_entries = new_nr; 1021 if (append_e820_map(boot_params.e820_map, boot_params.e820_entries) 1026 if (boot_params.alt_mem_k 1027 < boot_params [all...] |
/arch/x86/boot/compressed/ |
H A D | misc.h | 26 extern struct boot_params *real_mode; /* Pointer to real-mode data */
|
H A D | eboot.c | 447 void setup_graphics(struct boot_params *boot_params) argument 457 si = &boot_params->screen_info; 689 * Because the x86 boot code expects to be passed a boot_params we 693 static efi_status_t make_boot_params(struct boot_params *boot_params, argument 697 struct efi_info *efi = &boot_params->efi_info; 698 struct apm_bios_info *bi = &boot_params->apm_bios_info; 699 struct sys_desc_table *sdt = &boot_params->sys_desc_table; 700 struct e820entry *e820_map = &boot_params 881 struct boot_params *boot_params; local [all...] |
/arch/x86/include/asm/ |
H A D | setup.h | 19 #define PARAM_SIZE 4096 /* sizeof(struct boot_params) */ 67 extern struct boot_params boot_params;
|
H A D | bootparam.h | 96 struct boot_params { struct
|
/arch/x86/platform/efi/ |
H A D | efi.c | 351 if (boot_params.efi_info.efi_memmap_hi) { 355 pmap = boot_params.efi_info.efi_memmap; 357 pmap = (boot_params.efi_info.efi_memmap | 358 ((__u64)boot_params.efi_info.efi_memmap_hi<<32)); 361 memmap.nr_map = boot_params.efi_info.efi_memmap_size / 362 boot_params.efi_info.efi_memdesc_size; 363 memmap.desc_version = boot_params.efi_info.efi_memdesc_version; 364 memmap.desc_size = boot_params.efi_info.efi_memdesc_size; 666 if (boot_params.efi_info.efi_systab_hi || 667 boot_params [all...] |
/arch/x86/platform/olpc/ |
H A D | olpc_ofw.c | 91 struct olpc_ofw_header *hdr = &boot_params.olpc_ofw_header;
|