Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_fw.c341 boot_params->magic); in ivpu_fw_boot_params_print()
343 boot_params->vpu_id); in ivpu_fw_boot_params_print()
345 boot_params->vpu_count); in ivpu_fw_boot_params_print()
347 boot_params->frequency); in ivpu_fw_boot_params_print()
369 boot_params->autoconfig); in ivpu_fw_boot_params_print()
391 boot_params->job_done_irq); in ivpu_fw_boot_params_print()
396 boot_params->si_stepping); in ivpu_fw_boot_params_print()
398 boot_params->device_id); in ivpu_fw_boot_params_print()
402 boot_params->sku); in ivpu_fw_boot_params_print()
418 boot_params->boot_type); in ivpu_fw_boot_params_print()
[all …]
/openbmc/linux/arch/x86/boot/
H A Dvideo-vesa.c177 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()
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()
220 memcpy(&boot_params.screen_info.red_size, in vesa_store_mode_params_graphics()
[all …]
H A Dmain.c18 struct boot_params boot_params __attribute__((aligned(16))); variable
40 BUILD_BUG_ON(sizeof(boot_params) != 4096); in copy_boot_params()
41 memcpy(&boot_params.hdr, &hdr, sizeof(hdr)); in copy_boot_params()
43 if (!boot_params.hdr.cmd_line_ptr && in copy_boot_params()
56 boot_params.hdr.cmd_line_ptr = in copy_boot_params()
73 boot_params.kbd_status = oreg.al; in keyboard_init()
96 boot_params.ist_info.signature = oreg.eax; in query_ist()
97 boot_params.ist_info.command = oreg.ebx; in query_ist()
98 boot_params.ist_info.event = oreg.ecx; in query_ist()
99 boot_params.ist_info.perf_level = oreg.edx; in query_ist()
[all …]
H A Dapm.c45 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 Dvideo.c30 boot_params.screen_info.orig_x = oreg.dl; in store_cursor_position()
31 boot_params.screen_info.orig_y = oreg.dh; in store_cursor_position()
34 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; in store_cursor_position()
52 boot_params.screen_info.orig_video_page = oreg.bh; in store_video_mode()
94 boot_params.screen_info.orig_video_cols = x; in store_mode_params()
95 boot_params.screen_info.orig_video_lines = y; in store_mode_params()
244 saved.curx = boot_params.screen_info.orig_x; in save_screen()
245 saved.cury = boot_params.screen_info.orig_y; in save_screen()
259 int xs = boot_params.screen_info.orig_video_cols; in restore_screen()
319 u16 mode = boot_params.hdr.vid_mode; in set_video()
[all …]
H A Dmemory.c22 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 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()
147 edp = boot_params.eddbuf; in query_edd()
148 mbrptr = boot_params.edd_mbr_sig_buffer; in query_edd()
166 && boot_params.eddbuf_entries < EDDMAXNR) { in query_edd()
169 boot_params.eddbuf_entries++; in query_edd()
173 boot_params.edd_mbr_sig_buf_entries = devno-0x80+1; in query_edd()
H A Dpm.c22 if (boot_params.hdr.realmode_swtch) { in realmode_switch_hook()
24 : : "m" (boot_params.hdr.realmode_swtch) in realmode_switch_hook()
122 protected_mode_jump(boot_params.hdr.code32_start, in go_to_protected_mode()
123 (u32)&boot_params + (ds() << 4)); in go_to_protected_mode()
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dboot-common.c31 u32 boot_params = *((u32 *)OMAP_SRAM_SCRATCH_BOOT_PARAMS); in save_omap_boot_params() local
37 if ((boot_params < NON_SECURE_SRAM_START) || in save_omap_boot_params()
38 (boot_params > NON_SECURE_SRAM_END)) in save_omap_boot_params()
152 boot_params = omap_boot_params->boot_device_descriptor; in save_omap_boot_params()
153 if ((boot_params < NON_SECURE_SRAM_START) || in save_omap_boot_params()
154 (boot_params > NON_SECURE_SRAM_END)) in save_omap_boot_params()
157 boot_params = *((u32 *)(boot_params + DEVICE_DATA_OFFSET)); in save_omap_boot_params()
158 if ((boot_params < NON_SECURE_SRAM_START) || in save_omap_boot_params()
159 (boot_params > NON_SECURE_SRAM_END)) in save_omap_boot_params()
162 boot_mode = *((u32 *)(boot_params + BOOT_MODE_OFFSET)); in save_omap_boot_params()
[all …]
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dx86-stub.c336 static void setup_quirks(struct boot_params *boot_params) in setup_quirks() argument
424 static void setup_graphics(struct boot_params *boot_params) in setup_graphics() argument
462 struct boot_params *boot_params);
473 struct boot_params *boot_params; in efi_pe_entry() local
703 struct boot_params *boot_params; member
735 priv.boot_params = boot_params; in exit_boot()
863 struct boot_params *boot_params) in enter_kernel() argument
878 struct boot_params *boot_params) in efi_stub_entry() argument
1006 struct boot_params *boot_params) in efi_handover_entry() argument
1015 struct boot_params *boot_params);
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dbootparam_utils.h26 .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 Dmem_encrypt.h19 struct boot_params;
49 void sme_encrypt_kernel(struct boot_params *bp);
50 void sme_enable(struct boot_params *bp);
84 static inline void sme_encrypt_kernel(struct boot_params *bp) { } in sme_encrypt_kernel()
85 static inline void sme_enable(struct boot_params *bp) { } in sme_enable()
/openbmc/linux/arch/x86/boot/compressed/
H A Dmisc.h64 extern struct boot_params *boot_params;
137 void sev_enable(struct boot_params *bp);
145 static inline void sev_enable(struct boot_params *bp) in sev_enable()
214 enum efi_type efi_get_type(struct boot_params *bp);
215 unsigned long efi_get_system_table(struct boot_params *bp);
216 int efi_get_conf_table(struct boot_params *bp, unsigned long *cfg_tbl_pa,
218 unsigned long efi_find_vendor_table(struct boot_params *bp,
223 static inline enum efi_type efi_get_type(struct boot_params *bp) in efi_get_type()
228 static inline unsigned long efi_get_system_table(struct boot_params *bp) in efi_get_system_table()
233 static inline int efi_get_conf_table(struct boot_params *bp, in efi_get_conf_table()
[all …]
H A Dpgtable_64.c31 extern struct boot_params *boot_params;
52 signature = (char *)&boot_params->efi_info.efi_loader_signature; in find_trampoline_placement()
68 for (i = boot_params->e820_entries - 1; i >= 0; i--) { in find_trampoline_placement()
71 entry = &boot_params->e820_table[i]; in find_trampoline_placement()
104 asmlinkage void configure_5level_paging(struct boot_params *bp, void *pgtable) in configure_5level_paging()
110 boot_params = bp; in configure_5level_paging()
H A Dmisc.c49 struct boot_params *boot_params; variable
135 x = boot_params->screen_info.orig_x; in __putstr()
136 y = boot_params->screen_info.orig_y; in __putstr()
157 boot_params->screen_info.orig_x = x; in __putstr()
158 boot_params->screen_info.orig_y = y; in __putstr()
399 boot_params = rmode; in extract_kernel()
402 boot_params->hdr.loadflags &= ~KASLR_FLAG; in extract_kernel()
404 parse_mem_encrypt(&boot_params->hdr); in extract_kernel()
406 sanitize_boot_params(boot_params); in extract_kernel()
417 cols = boot_params->screen_info.orig_video_cols; in extract_kernel()
[all …]
H A Dacpi.c33 rsdp_addr = efi_find_vendor_table(boot_params, cfg_tbl_pa, cfg_tbl_len, in __efi_get_rsdp_addr()
39 rsdp_addr = efi_find_vendor_table(boot_params, cfg_tbl_pa, cfg_tbl_len, in __efi_get_rsdp_addr()
59 et = efi_get_type(boot_params); in efi_get_rsdp_addr()
63 systab_pa = efi_get_system_table(boot_params); in efi_get_rsdp_addr()
67 ret = efi_get_conf_table(boot_params, &cfg_tbl_pa, &cfg_tbl_len); in efi_get_rsdp_addr()
159 pa = boot_params->acpi_rsdp_addr; in get_rsdp_addr()
213 boot_params->acpi_rsdp_addr; in get_acpi_srat_table()
/openbmc/linux/arch/x86/kernel/
H A Dkexec-bzimage64.c55 static int setup_initrd(struct boot_params *params, in setup_initrd()
97 static int setup_e820_entries(struct boot_params *params) in setup_e820_entries()
134 static int setup_efi_info_memmap(struct boot_params *params, in setup_efi_info_memmap()
156 prepare_add_efi_setup_data(struct boot_params *params, in prepare_add_efi_setup_data()
184 struct efi_info *current_ei = &boot_params.efi_info; in setup_efi_state()
193 params->secure_boot = boot_params.secure_boot; in setup_efi_state()
257 params->acpi_rsdp_addr = boot_params.acpi_rsdp_addr; in setup_boot_parameters()
312 memcpy(params->eddbuf, boot_params.eddbuf, in setup_boot_parameters()
314 params->eddbuf_entries = boot_params.eddbuf_entries; in setup_boot_parameters()
394 struct boot_params *params; in bzImage64_load()
[all …]
H A Dsetup.c77 struct boot_params boot_params; variable
290 if (!boot_params.hdr.type_of_loader || in early_reserve_initrd()
304 if (!boot_params.hdr.type_of_loader || in reserve_initrd()
390 pa_data = boot_params.hdr.setup_data; in parse_setup_data()
436 pa_data = boot_params.hdr.setup_data; in memblock_x86_reserve_range_setup_data()
898 screen_info = boot_params.screen_info; in setup_arch()
899 edid_info = boot_params.edid_info; in setup_arch()
901 apm_info.bios = boot_params.apm_bios_info; in setup_arch()
902 ist_info = boot_params.ist_info; in setup_arch()
949 if (!boot_params.hdr.root_flags) in setup_arch()
[all …]
H A Dasm-offsets.c93 OFFSET(BP_scratch, boot_params, scratch); in common()
94 OFFSET(BP_secure_boot, boot_params, secure_boot); in common()
95 OFFSET(BP_loadflags, boot_params, hdr.loadflags); in common()
96 OFFSET(BP_hardware_subarch, boot_params, hdr.hardware_subarch); in common()
97 OFFSET(BP_version, boot_params, hdr.version); in common()
98 OFFSET(BP_kernel_alignment, boot_params, hdr.kernel_alignment); in common()
99 OFFSET(BP_init_size, boot_params, hdr.init_size); in common()
100 OFFSET(BP_pref_address, boot_params, hdr.pref_address); in common()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-boot_params1 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
/openbmc/linux/arch/x86/include/asm/xen/
H A Dhypervisor.h63 void __init xen_pvh_init(struct boot_params *boot_params);
64 void __init mem_map_via_hcall(struct boot_params *boot_params_p);
66 void __init xen_reserve_extra_memory(struct boot_params *bootp);
68 static inline void xen_reserve_extra_memory(struct boot_params *bootp) { } in xen_reserve_extra_memory()
/openbmc/linux/arch/x86/xen/
H A Defi.c132 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 Denlighten_pvh.c29 void __init xen_pvh_init(struct boot_params *boot_params) in xen_pvh_init() argument
46 xen_efi_init(boot_params); in xen_pvh_init()
58 &boot_params->screen_info); in xen_pvh_init()
62 void __init mem_map_via_hcall(struct boot_params *boot_params_p) in mem_map_via_hcall()
91 void __init xen_reserve_extra_memory(struct boot_params *bootp) in xen_reserve_extra_memory()
/openbmc/u-boot/arch/x86/lib/
H A Dzimage.c129 struct boot_params *load_zimage(char *image, unsigned long kernel_size, in load_zimage()
132 struct boot_params *setup_base; in load_zimage()
137 struct boot_params *params = (struct boot_params *)image; in load_zimage()
141 setup_base = (struct boot_params *)DEFAULT_SETUP_BASE; in load_zimage()
210 setup_base = (struct boot_params *)0x90000; in load_zimage()
239 int setup_zimage(struct boot_params *setup_base, char *cmd_line, int auto_boot, in setup_zimage()
309 struct boot_params *base_ptr; in do_zboot()
/openbmc/qemu/hw/sh4/
H A Dr2d.c228 } boot_params; variable
321 memset(&boot_params, 0, sizeof(boot_params)); in r2d_init()
356 boot_params.loader_type = tswap32(1); in r2d_init()
357 boot_params.initrd_start = tswap32(INITRD_LOAD_OFFSET); in r2d_init()
358 boot_params.initrd_size = tswap32(initrd_size); in r2d_init()
366 strncpy(boot_params.kernel_cmdline, kernel_cmdline, in r2d_init()
367 sizeof(boot_params.kernel_cmdline)); in r2d_init()
370 rom_add_blob_fixed("boot_params", &boot_params, sizeof(boot_params), in r2d_init()

1234