Home
last modified time | relevance | path

Searched refs:boot_params (Results 1 – 25 of 245) sorted by relevance

12345678910

/arch/x86/boot/
Dmain.c17 struct boot_params boot_params __attribute__((aligned(16))); variable
37 BUILD_BUG_ON(sizeof boot_params != 4096); in copy_boot_params()
38 memcpy(&boot_params.hdr, &hdr, sizeof hdr); in copy_boot_params()
40 if (!boot_params.hdr.cmd_line_ptr && in copy_boot_params()
48 if (oldcmd->cl_offset < boot_params.hdr.setup_move_size) in copy_boot_params()
53 boot_params.hdr.cmd_line_ptr = in copy_boot_params()
82 : "=a" (boot_params.ist_info.signature), in query_ist()
83 "=b" (boot_params.ist_info.command), in query_ist()
84 "=c" (boot_params.ist_info.event), in query_ist()
85 "=d" (boot_params.ist_info.perf_level) in query_ist()
[all …]
Dvideo-vesa.c191 boot_params.screen_info.red_size = dac_size; in vesa_dac_set_8bits()
192 boot_params.screen_info.green_size = dac_size; in vesa_dac_set_8bits()
193 boot_params.screen_info.blue_size = dac_size; in vesa_dac_set_8bits()
194 boot_params.screen_info.rsvd_size = dac_size; in vesa_dac_set_8bits()
196 boot_params.screen_info.red_pos = 0; in vesa_dac_set_8bits()
197 boot_params.screen_info.green_pos = 0; in vesa_dac_set_8bits()
198 boot_params.screen_info.blue_pos = 0; in vesa_dac_set_8bits()
199 boot_params.screen_info.rsvd_pos = 0; in vesa_dac_set_8bits()
216 boot_params.screen_info.vesapm_seg = es; in vesa_store_pm_info()
217 boot_params.screen_info.vesapm_off = di; in vesa_store_pm_info()
[all …]
Dapm.c59 boot_params.apm_bios_info.cseg = ax; in query_apm_bios()
60 boot_params.apm_bios_info.offset = ebx; in query_apm_bios()
61 boot_params.apm_bios_info.cseg_16 = cx; in query_apm_bios()
62 boot_params.apm_bios_info.dseg = dx; in query_apm_bios()
63 boot_params.apm_bios_info.cseg_len = (u16)esi; in query_apm_bios()
64 boot_params.apm_bios_info.cseg_16_len = esi >> 16; in query_apm_bios()
65 boot_params.apm_bios_info.dseg_len = di; in query_apm_bios()
89 boot_params.apm_bios_info.version = ax; in query_apm_bios()
90 boot_params.apm_bios_info.flags = cx; in query_apm_bios()
Dvideo.c30 boot_params.screen_info.orig_x = curpos; in store_cursor_position()
31 boot_params.screen_info.orig_y = curpos >> 8; in store_cursor_position()
46 boot_params.screen_info.orig_video_mode = ax & 0x7f; in store_video_mode()
47 boot_params.screen_info.orig_video_page = page >> 8; in store_video_mode()
69 if (boot_params.screen_info.orig_video_mode == 0x07) { in store_mode_params()
79 boot_params.screen_info.orig_video_points = font_size; in store_mode_params()
89 boot_params.screen_info.orig_video_cols = x; in store_mode_params()
90 boot_params.screen_info.orig_video_lines = y; in store_mode_params()
238 saved.x = boot_params.screen_info.orig_video_cols; in save_screen()
239 saved.y = boot_params.screen_info.orig_video_lines; in save_screen()
[all …]
Dmemory.c25 struct e820entry *desc = boot_params.e820_map; in detect_memory_e820()
56 } while (next && count < ARRAY_SIZE(boot_params.e820_map)); in detect_memory_e820()
58 return boot_params.e820_entries = count; in detect_memory_e820()
87 boot_params.alt_mem_k = (ax == 15*1024) ? (dx << 6)+ax : ax; in detect_memory_e801()
100 boot_params.screen_info.ext_mem_k = ax; in detect_memory_88()
Dpm.c24 if (boot_params.hdr.realmode_swtch) { in realmode_switch_hook()
26 : : "m" (boot_params.hdr.realmode_swtch) in realmode_switch_hook()
50 syssize = boot_params.hdr.syssize; /* Size in 16-byte paragraphs */ in move_kernel_around()
168 protected_mode_jump(boot_params.hdr.code32_start, in go_to_protected_mode()
169 (u32)&boot_params + (ds() << 4)); in go_to_protected_mode()
Dedd.c57 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()
157 edp = boot_params.eddbuf; in query_edd()
158 mbrptr = boot_params.edd_mbr_sig_buffer; in query_edd()
176 && boot_params.eddbuf_entries < EDDMAXNR) { in query_edd()
179 boot_params.eddbuf_entries++; in query_edd()
183 boot_params.edd_mbr_sig_buf_entries = devno-0x80+1; in query_edd()
Dmca.c36 if (len > sizeof(boot_params.sys_desc_table)) in query_mca()
37 len = sizeof(boot_params.sys_desc_table); in query_mca()
39 copy_from_fs(&boot_params.sys_desc_table, bx, len); in query_mca()
Dvideo-bios.c52 if (new_mode != boot_params.screen_info.orig_video_mode) { in set_bios_mode()
56 ax = boot_params.screen_info.orig_video_mode; in set_bios_mode()
71 u8 saved_mode = boot_params.screen_info.orig_video_mode; in bios_probe()
Dcmdline.c32 u32 cmdline_ptr = boot_params.hdr.cmd_line_ptr; in cmdline_find_option()
105 u32 cmdline_ptr = boot_params.hdr.cmd_line_ptr; in cmdline_find_option_bool()
/arch/x86/kernel/
Dsetup.c116 struct boot_params __initdata boot_params; variable
118 struct boot_params boot_params; variable
244 memcpy(edd.mbr_signature, boot_params.edd_mbr_sig_buffer, in copy_edd()
246 memcpy(edd.edd_info, boot_params.eddbuf, sizeof(edd.edd_info)); in copy_edd()
247 edd.mbr_signature_nr = boot_params.edd_mbr_sig_buf_entries; in copy_edd()
248 edd.edd_info_nr = boot_params.eddbuf_entries; in copy_edd()
264 u64 ramdisk_image = boot_params.hdr.ramdisk_image; in relocate_initrd()
265 u64 ramdisk_size = boot_params.hdr.ramdisk_size; in relocate_initrd()
315 ramdisk_image = boot_params.hdr.ramdisk_image; in relocate_initrd()
316 ramdisk_size = boot_params.hdr.ramdisk_size; in relocate_initrd()
[all …]
Dhead64.c69 memcpy(&boot_params, real_mode_data, sizeof boot_params); in copy_bootdata()
70 if (boot_params.hdr.cmd_line_ptr) { in copy_bootdata()
71 command_line = __va(boot_params.hdr.cmd_line_ptr); in copy_bootdata()
130 if (boot_params.hdr.type_of_loader && boot_params.hdr.ramdisk_image) { in x86_64_start_reservations()
131 unsigned long ramdisk_image = boot_params.hdr.ramdisk_image; in x86_64_start_reservations()
132 unsigned long ramdisk_size = boot_params.hdr.ramdisk_size; in x86_64_start_reservations()
Dhead32.c25 if (boot_params.hdr.type_of_loader && boot_params.hdr.ramdisk_image) { in i386_start_kernel()
26 u64 ramdisk_image = boot_params.hdr.ramdisk_image; in i386_start_kernel()
27 u64 ramdisk_size = boot_params.hdr.ramdisk_size; in i386_start_kernel()
Dkdebugfs.c130 pa_data = boot_params.hdr.setup_data; in create_setup_data_nodes()
171 .data = &boot_params,
172 .size = sizeof(boot_params),
186 &boot_params.hdr.version); in boot_params_kdebugfs_init()
Dasm-offsets_64.c134 OFFSET(BP_scratch, boot_params, scratch); in main()
135 OFFSET(BP_loadflags, boot_params, hdr.loadflags); in main()
136 OFFSET(BP_hardware_subarch, boot_params, hdr.hardware_subarch); in main()
137 OFFSET(BP_version, boot_params, hdr.version); in main()
Defi.c257 pmap = boot_params.efi_info.efi_memmap; in efi_reserve_early()
259 pmap = (boot_params.efi_info.efi_memmap | in efi_reserve_early()
260 ((__u64)boot_params.efi_info.efi_memmap_hi<<32)); in efi_reserve_early()
263 memmap.nr_map = boot_params.efi_info.efi_memmap_size / in efi_reserve_early()
264 boot_params.efi_info.efi_memdesc_size; in efi_reserve_early()
265 memmap.desc_version = boot_params.efi_info.efi_memdesc_version; in efi_reserve_early()
266 memmap.desc_size = boot_params.efi_info.efi_memdesc_size; in efi_reserve_early()
301 efi_phys.systab = (efi_system_table_t *)boot_params.efi_info.efi_systab; in efi_init()
304 (boot_params.efi_info.efi_systab | in efi_init()
305 ((__u64)boot_params.efi_info.efi_systab_hi<<32)); in efi_init()
Dasm-offsets_32.c143 OFFSET(BP_scratch, boot_params, scratch); in foo()
144 OFFSET(BP_loadflags, boot_params, hdr.loadflags); in foo()
145 OFFSET(BP_hardware_subarch, boot_params, hdr.hardware_subarch); in foo()
146 OFFSET(BP_version, boot_params, hdr.version); in foo()
/arch/arm/mach-ep93xx/
Dmicro9.c77 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
99 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
121 .boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,
/arch/arm/mach-s3c2412/
Dmach-smdk2413.c156 .boot_params = S3C2410_SDRAM_PA + 0x100,
169 .boot_params = S3C2410_SDRAM_PA + 0x100,
182 .boot_params = S3C2410_SDRAM_PA + 0x100,
/arch/x86/include/asm/
Dsetup.h86 extern struct boot_params boot_params;
/arch/arm/mach-ixp4xx/
Dixdp425-setup.c257 .boot_params = 0x0100,
270 .boot_params = 0x0100,
283 .boot_params = 0x0100,
296 .boot_params = 0x0100,
Dcoyote-setup.c109 .boot_params = 0x0100,
126 .boot_params = 0x0100,
/arch/arm/mach-mx1/
Dmx1ads.c134 .boot_params = PHYS_OFFSET + 0x100,
144 .boot_params = PHYS_OFFSET + 0x100,
/arch/x86/include/asm/mach-voyager/
Dsetup_arch.h4 (&boot_params.apm_bios_info))
/arch/arm/mach-h720x/
Dh7201-eval.c35 .boot_params = 0xc0001000,

12345678910