Searched refs:boot_params (Results 1 - 25 of 33) sorted by relevance

12

/arch/x86/boot/
H A Dmain.c18 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 Dmca.c33 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 Dapm.c47 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 Dmemory.c24 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 Dvideo-vesa.c178 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 Dvideo.c28 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 Dpm.c24 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 Dedd.c58 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 Dvideo-bios.c52 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 Dboot.h39 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 Dvideo-mode.c170 boot_params.hdr.vid_mode = real_mode;
/arch/x86/kernel/
H A Dasm-offsets.c65 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 Dhead32.c39 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 Dhead64.c49 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 Dsetup.c146 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 Dkdebugfs.c120 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 Dtboot.c64 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 Dearly_printk.c229 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 De820.c656 * 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 Dmisc.h26 extern struct boot_params *real_mode; /* Pointer to real-mode data */
H A Deboot.c447 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 Dsetup.h19 #define PARAM_SIZE 4096 /* sizeof(struct boot_params) */
67 extern struct boot_params boot_params;
H A Dbootparam.h96 struct boot_params { struct
/arch/x86/platform/efi/
H A Defi.c351 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 Dolpc_ofw.c91 struct olpc_ofw_header *hdr = &boot_params.olpc_ofw_header;

Completed in 145 milliseconds

12