/openbmc/linux/drivers/accel/ivpu/ |
H A D | ivpu_fw.c | 342 static void ivpu_fw_boot_params_print(struct ivpu_device *vdev, struct vpu_boot_params *boot_params) in ivpu_fw_boot_params_print() argument 345 boot_params->magic); in ivpu_fw_boot_params_print() 347 boot_params->vpu_id); in ivpu_fw_boot_params_print() 349 boot_params->vpu_count); in ivpu_fw_boot_params_print() 351 boot_params->frequency); in ivpu_fw_boot_params_print() 353 boot_params->perf_clk_frequency); in ivpu_fw_boot_params_print() 356 boot_params->ipc_header_area_start); in ivpu_fw_boot_params_print() 358 boot_params->ipc_header_area_size); in ivpu_fw_boot_params_print() 360 boot_params->shared_region_base); in ivpu_fw_boot_params_print() 362 boot_params->shared_region_size); in ivpu_fw_boot_params_print() [all …]
|
/openbmc/linux/arch/x86/boot/ |
H A D | video-vesa.c | 177 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() 180 boot_params.screen_info.rsvd_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() [all …]
|
H A D | main.c | 18 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() 51 if (oldcmd->cl_offset < boot_params.hdr.setup_move_size) 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() [all …]
|
H A D | video.c | 30 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() 37 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; in store_cursor_position() 51 boot_params.screen_info.orig_video_mode = oreg.al & 0x7f; in store_video_mode() 52 boot_params.screen_info.orig_video_page = oreg.bh; in store_video_mode() 74 if (boot_params.screen_info.orig_video_mode == 0x07) { in store_mode_params() 84 boot_params.screen_info.orig_video_points = font_size; in store_mode_params() 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() [all …]
|
H A D | apm.c | 45 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 D | memory.c | 22 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 D | edd.c | 57 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 D | pm.c | 22 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/linux/drivers/firmware/efi/libstub/ |
H A D | x86-stub.c | 119 static void setup_efi_pci(struct boot_params *params) in setup_efi_pci() 178 static void retrieve_apple_device_properties(struct boot_params *boot_params) in retrieve_apple_device_properties() argument 218 data = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data; in retrieve_apple_device_properties() 220 boot_params->hdr.setup_data = (unsigned long)new; in retrieve_apple_device_properties() 336 static void setup_quirks(struct boot_params *boot_params) in setup_quirks() argument 340 retrieve_apple_device_properties(boot_params); in setup_quirks() 424 static void setup_graphics(struct boot_params *boot_params) in setup_graphics() argument 434 si = &boot_params->screen_info; in setup_graphics() 462 struct boot_params *boot_params); 473 struct boot_params *boot_params; in efi_pe_entry() local [all …]
|
/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | boot-common.c | 31 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() 41 omap_boot_params = (struct omap_boot_parameters *)boot_params; 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() [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | bootparam_utils.h | 26 .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 D | mem_encrypt.h | 19 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()
|
H A D | setup.h | 52 extern unsigned long __startup_64(unsigned long physaddr, struct boot_params *bp); 77 extern struct boot_params boot_params; 83 !!(boot_params.hdr.loadflags & KASLR_FLAG); in kaslr_enabled()
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | misc.h | 136 void sev_enable(struct boot_params *bp); 144 static inline void sev_enable(struct boot_params *bp) in sev_enable() 213 enum efi_type efi_get_type(struct boot_params *bp); 214 unsigned long efi_get_system_table(struct boot_params *bp); 215 int efi_get_conf_table(struct boot_params *bp, unsigned long *cfg_tbl_pa, 217 unsigned long efi_find_vendor_table(struct boot_params *bp, 222 static inline enum efi_type efi_get_type(struct boot_params *bp) in efi_get_type() 227 static inline unsigned long efi_get_system_table(struct boot_params *bp) in efi_get_system_table() 232 static inline int efi_get_conf_table(struct boot_params *bp, in efi_get_conf_table() 239 static inline unsigned long efi_find_vendor_table(struct boot_params *bp, in efi_find_vendor_table()
|
H A D | efi.c | 17 enum efi_type efi_get_type(struct boot_params *bp) in efi_get_type() 58 unsigned long efi_get_system_table(struct boot_params *bp) in efi_get_system_table() 85 static struct efi_setup_data *get_kexec_setup_data(struct boot_params *bp, in get_kexec_setup_data() 129 int efi_get_conf_table(struct boot_params *bp, unsigned long *cfg_tbl_pa, in efi_get_conf_table() 206 unsigned long efi_find_vendor_table(struct boot_params *bp, in efi_find_vendor_table()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | kexec-bzimage64.c | 55 static int setup_initrd(struct boot_params *params, in setup_initrd() 67 static int setup_cmdline(struct kimage *image, struct boot_params *params, in setup_cmdline() 97 static int setup_e820_entries(struct boot_params *params) in setup_e820_entries() 116 setup_rng_seed(struct boot_params *params, unsigned long params_load_addr, in setup_rng_seed() 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() 180 setup_efi_state(struct boot_params *params, unsigned long params_load_addr, in setup_efi_state() 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() 210 setup_ima_state(const struct kimage *image, struct boot_params *params, in setup_ima_state() [all …]
|
H A D | setup.c | 77 struct boot_params boot_params; variable 181 memcpy(edd.mbr_signature, boot_params.edd_mbr_sig_buffer, in copy_edd() 183 memcpy(edd.edd_info, boot_params.eddbuf, sizeof(edd.edd_info)); in copy_edd() 184 edd.mbr_signature_nr = boot_params.edd_mbr_sig_buf_entries; in copy_edd() 185 edd.edd_info_nr = boot_params.eddbuf_entries; in copy_edd() 235 u64 ramdisk_image = boot_params.hdr.ramdisk_image; in get_ramdisk_image() 237 ramdisk_image |= (u64)boot_params.ext_ramdisk_image << 32; in get_ramdisk_image() 246 u64 ramdisk_size = boot_params.hdr.ramdisk_size; in get_ramdisk_size() 248 ramdisk_size |= (u64)boot_params.ext_ramdisk_size << 32; in get_ramdisk_size() 290 if (!boot_params.hdr.type_of_loader || in early_reserve_initrd() [all …]
|
H A D | asm-offsets.c | 93 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()
|
H A D | head32.c | 62 sanitize_boot_params(&boot_params); in i386_start_kernel() 67 switch (boot_params.hdr.hardware_subarch) { in i386_start_kernel() 133 struct boot_params __maybe_unused *params; in mk_early_pgtbl_32() 152 params = (struct boot_params *)__pa_nodebug(&boot_params); in mk_early_pgtbl_32()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A 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:: 28 /sys/kernel/boot_params
|
/openbmc/linux/arch/x86/include/asm/xen/ |
H A D | hypervisor.h | 63 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 D | efi.c | 132 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 D | enlighten_pvh.c | 29 void __init xen_pvh_init(struct boot_params *boot_params) in xen_pvh_init() argument 39 xen_efi_init(boot_params); in xen_pvh_init() 51 &boot_params->screen_info); in xen_pvh_init() 55 void __init mem_map_via_hcall(struct boot_params *boot_params_p) in mem_map_via_hcall() 84 void __init xen_reserve_extra_memory(struct boot_params *bootp) in xen_reserve_extra_memory()
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | zimage.c | 129 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 D | r2d.c | 228 } 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()
|