Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/accel/ivpu/
A Divpu_fw.c283 boot_params->magic); in ivpu_fw_boot_params_print()
285 boot_params->vpu_id); in ivpu_fw_boot_params_print()
287 boot_params->vpu_count); in ivpu_fw_boot_params_print()
289 boot_params->frequency); in ivpu_fw_boot_params_print()
311 boot_params->autoconfig); in ivpu_fw_boot_params_print()
333 boot_params->job_done_irq); in ivpu_fw_boot_params_print()
338 boot_params->si_stepping); in ivpu_fw_boot_params_print()
340 boot_params->device_id); in ivpu_fw_boot_params_print()
344 boot_params->sku); in ivpu_fw_boot_params_print()
360 boot_params->boot_type); in ivpu_fw_boot_params_print()
[all …]
/linux-6.3-rc2/arch/x86/boot/
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 …]
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 …]
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()
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 …]
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()
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()
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()
/linux-6.3-rc2/drivers/firmware/efi/libstub/
A Dx86-stub.c165 static void retrieve_apple_device_properties(struct boot_params *boot_params) in retrieve_apple_device_properties() argument
282 void startup_32(struct boot_params *boot_params);
315 static void setup_quirks(struct boot_params *boot_params, in setup_quirks() argument
412 static void setup_graphics(struct boot_params *boot_params) in setup_graphics() argument
450 struct boot_params *boot_params);
460 struct boot_params *boot_params; in efi_pe_entry() local
490 memset(boot_params, 0x0, sizeof(struct boot_params)); in efi_pe_entry()
530 efi_free(sizeof(struct boot_params), (unsigned long)boot_params); in efi_pe_entry()
709 struct boot_params *boot_params; member
741 priv.boot_params = boot_params; in exit_boot()
[all …]
/linux-6.3-rc2/arch/x86/boot/compressed/
A Dmisc.h55 extern struct boot_params *boot_params;
128 void sev_enable(struct boot_params *bp);
136 static inline void sev_enable(struct boot_params *bp) in sev_enable()
206 enum efi_type efi_get_type(struct boot_params *bp);
207 unsigned long efi_get_system_table(struct boot_params *bp);
208 int efi_get_conf_table(struct boot_params *bp, unsigned long *cfg_tbl_pa,
210 unsigned long efi_find_vendor_table(struct boot_params *bp,
215 static inline enum efi_type efi_get_type(struct boot_params *bp) in efi_get_type()
220 static inline unsigned long efi_get_system_table(struct boot_params *bp) in efi_get_system_table()
225 static inline int efi_get_conf_table(struct boot_params *bp, in efi_get_conf_table()
[all …]
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()
362 boot_params = rmode; in extract_kernel()
365 boot_params->hdr.loadflags &= ~KASLR_FLAG; in extract_kernel()
367 sanitize_boot_params(boot_params); in extract_kernel()
377 lines = boot_params->screen_info.orig_video_lines; in extract_kernel()
378 cols = boot_params->screen_info.orig_video_cols; in extract_kernel()
[all …]
A Dpgtable_64.c36 extern struct boot_params *boot_params;
57 signature = (char *)&boot_params->efi_info.efi_loader_signature; in find_trampoline_placement()
73 for (i = boot_params->e820_entries - 1; i >= 0; i--) { in find_trampoline_placement()
76 entry = &boot_params->e820_table[i]; in find_trampoline_placement()
114 boot_params = rmode; in paging_prepare()
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()
A Dkaslr.c66 hash = rotate_xor(hash, boot_params, sizeof(*boot_params)); in get_boot_seed()
386 unsigned long init_size = boot_params->hdr.init_size; in mem_avoid_init()
398 initrd_start = (u64)boot_params->ext_ramdisk_image << 32; in mem_avoid_init()
399 initrd_start |= boot_params->hdr.ramdisk_image; in mem_avoid_init()
400 initrd_size = (u64)boot_params->ext_ramdisk_size << 32; in mem_avoid_init()
401 initrd_size |= boot_params->hdr.ramdisk_size; in mem_avoid_init()
417 mem_avoid[MEM_AVOID_BOOTPARAMS].size = sizeof(*boot_params); in mem_avoid_init()
682 struct efi_info *e = &boot_params->efi_info; in process_efi_entries()
764 for (i = 0; i < boot_params->e820_entries; i++) { in process_e820_entries()
765 entry = &boot_params->e820_table[i]; in process_e820_entries()
[all …]
A Defi.c17 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()
/linux-6.3-rc2/arch/x86/include/asm/
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()
A Dsetup.h52 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()
A Dmem_encrypt.h42 void __init sme_encrypt_kernel(struct boot_params *bp);
43 void __init sme_enable(struct boot_params *bp);
71 static inline void __init sme_encrypt_kernel(struct boot_params *bp) { } in sme_encrypt_kernel()
72 static inline void __init sme_enable(struct boot_params *bp) { } in sme_enable()
/linux-6.3-rc2/arch/x86/kernel/
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 …]
A Dsetup.c77 struct boot_params boot_params; variable
291 if (!boot_params.hdr.type_of_loader || in early_reserve_initrd()
305 if (!boot_params.hdr.type_of_loader || in reserve_initrd()
395 pa_data = boot_params.hdr.setup_data; in parse_setup_data()
441 pa_data = boot_params.hdr.setup_data; in memblock_x86_reserve_range_setup_data()
904 screen_info = boot_params.screen_info; in setup_arch()
905 edid_info = boot_params.edid_info; in setup_arch()
907 apm_info.bios = boot_params.apm_bios_info; in setup_arch()
908 ist_info = boot_params.ist_info; in setup_arch()
955 if (!boot_params.hdr.root_flags) in setup_arch()
[all …]
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()
/linux-6.3-rc2/Documentation/ABI/testing/
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
/linux-6.3-rc2/arch/x86/xen/
A Defi.c130 void __init xen_efi_init(struct boot_params *boot_params) in xen_efi_init() argument
139 strncpy((char *)&boot_params->efi_info.efi_loader_signature, "Xen", in xen_efi_init()
140 sizeof(boot_params->efi_info.efi_loader_signature)); in xen_efi_init()
141 boot_params->efi_info.efi_systab = (__u32)__pa(efi_systab_xen); in xen_efi_init()
142 boot_params->efi_info.efi_systab_hi = (__u32)(__pa(efi_systab_xen) >> 32); in xen_efi_init()
144 boot_params->secure_boot = xen_efi_get_secureboot(); in xen_efi_init()
A Denlighten_pvh.c28 void __init xen_pvh_init(struct boot_params *boot_params) in xen_pvh_init() argument
45 xen_efi_init(boot_params); in xen_pvh_init()
48 void __init mem_map_via_hcall(struct boot_params *boot_params_p) in mem_map_via_hcall()
/linux-6.3-rc2/arch/x86/include/asm/xen/
A Dhypervisor.h62 void __init xen_pvh_init(struct boot_params *boot_params);
63 void __init mem_map_via_hcall(struct boot_params *boot_params_p);

Completed in 31 milliseconds

123