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

123

/linux-master/arch/x86/include/asm/
H A Dkbdleds.h15 return boot_params.kbd_status & 0x20 ? (1 << VC_NUMLOCK) : 0;
H A Dcrash.h9 struct boot_params *params);
H A Dbootparam_utils.h14 * boot_params to zero. The list fields in this list are taken from
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) argument
43 * portion defined by struct setup_header (boot_params->hdr)
51 if (boot_params->sentinel) {
52 static struct boot_params scratch;
53 char *bp_base = (char *)boot_params;
87 memcpy(boot_params, save_bas
[all...]
H A Dmem_encrypt.h19 struct boot_params;
50 void sme_encrypt_kernel(struct boot_params *bp);
51 void sme_enable(struct boot_params *bp);
84 static inline void sme_encrypt_kernel(struct boot_params *bp) { }
85 static inline void sme_enable(struct boot_params *bp) { }
H A Dsetup.h24 #define PARAM_SIZE 4096 /* sizeof(struct boot_params) */
50 extern unsigned long __startup_64(unsigned long physaddr, struct boot_params *bp);
75 extern struct boot_params boot_params;
81 !!(boot_params.hdr.loadflags & KASLR_FLAG);
H A Dboot.h61 * - KASLR needs to map kernel, boot_params, cmdline and randomized kernel,
90 extern struct boot_params *boot_params_ptr;
/linux-master/drivers/accel/ivpu/
H A Divpu_fw.c380 static void ivpu_fw_boot_params_print(struct ivpu_device *vdev, struct vpu_boot_params *boot_params) argument
382 ivpu_dbg(vdev, FW_BOOT, "boot_params.magic = 0x%x\n",
383 boot_params->magic);
384 ivpu_dbg(vdev, FW_BOOT, "boot_params.vpu_id = 0x%x\n",
385 boot_params->vpu_id);
386 ivpu_dbg(vdev, FW_BOOT, "boot_params.vpu_count = 0x%x\n",
387 boot_params->vpu_count);
388 ivpu_dbg(vdev, FW_BOOT, "boot_params.frequency = %u\n",
389 boot_params->frequency);
390 ivpu_dbg(vdev, FW_BOOT, "boot_params
479 ivpu_fw_boot_params_setup(struct ivpu_device *vdev, struct vpu_boot_params *boot_params) argument
[all...]
/linux-master/arch/x86/boot/
H A Dapm.c45 boot_params.apm_bios_info.cseg = oreg.ax;
46 boot_params.apm_bios_info.offset = oreg.ebx;
47 boot_params.apm_bios_info.cseg_16 = oreg.cx;
48 boot_params.apm_bios_info.dseg = oreg.dx;
49 boot_params.apm_bios_info.cseg_len = oreg.si;
50 boot_params.apm_bios_info.cseg_16_len = oreg.hsi;
51 boot_params.apm_bios_info.dseg_len = oreg.di;
69 boot_params.apm_bios_info.version = oreg.ax;
70 boot_params.apm_bios_info.flags = oreg.cx;
H A Dmain.c18 struct boot_params boot_params __attribute__((aligned(16))); variable in typeref:struct:boot_params
40 BUILD_BUG_ON(sizeof(boot_params) != 4096);
41 memcpy(&boot_params.hdr, &hdr, sizeof(hdr));
43 if (!boot_params.hdr.cmd_line_ptr &&
51 if (oldcmd->cl_offset < boot_params.hdr.setup_move_size)
56 boot_params.hdr.cmd_line_ptr =
73 boot_params.kbd_status = oreg.al;
96 boot_params.ist_info.signature = oreg.eax;
97 boot_params
[all...]
H A Dmemory.c22 struct boot_e820_entry *desc = boot_params.e820_table;
67 } while (ireg.ebx && count < ARRAY_SIZE(boot_params.e820_table));
69 boot_params.e820_entries = count;
92 boot_params.alt_mem_k = (oreg.bx << 6) + oreg.ax;
101 boot_params.alt_mem_k = oreg.ax;
113 boot_params.screen_info.ext_mem_k = oreg.ax;
H A Dvideo-vesa.c177 boot_params.screen_info.red_size = dac_size;
178 boot_params.screen_info.green_size = dac_size;
179 boot_params.screen_info.blue_size = dac_size;
180 boot_params.screen_info.rsvd_size = dac_size;
182 boot_params.screen_info.red_pos = 0;
183 boot_params.screen_info.green_pos = 0;
184 boot_params.screen_info.blue_pos = 0;
185 boot_params.screen_info.rsvd_pos = 0;
200 boot_params.screen_info.vesapm_seg = oreg.es;
201 boot_params
[all...]
H A Dvideo.c30 boot_params.screen_info.orig_x = oreg.dl;
31 boot_params.screen_info.orig_y = oreg.dh;
34 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR;
37 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR;
51 boot_params.screen_info.orig_video_mode = oreg.al & 0x7f;
52 boot_params.screen_info.orig_video_page = oreg.bh;
74 if (boot_params.screen_info.orig_video_mode == 0x07) {
84 boot_params.screen_info.orig_video_points = font_size;
94 boot_params.screen_info.orig_video_cols = x;
95 boot_params
[all...]
H A Dpm.c23 if (boot_params.hdr.realmode_swtch) {
25 : : "m" (boot_params.hdr.realmode_swtch)
123 protected_mode_jump(boot_params.hdr.code32_start,
124 (u32)&boot_params + (ds() << 4));
H A Dedd.c57 if (!(boot_params.hdr.loadflags & CAN_USE_HEAP))
59 if (mbrbuf_end > (char *)(size_t)boot_params.hdr.heap_end_ptr)
147 edp = boot_params.eddbuf;
148 mbrptr = boot_params.edd_mbr_sig_buffer;
166 && boot_params.eddbuf_entries < EDDMAXNR) {
169 boot_params.eddbuf_entries++;
173 boot_params.edd_mbr_sig_buf_entries = devno-0x80+1;
H A Dvideo-bios.c50 if (new_mode != boot_params.screen_info.orig_video_mode) {
54 ireg.ax = boot_params.screen_info.orig_video_mode;
67 u8 saved_mode = boot_params.screen_info.orig_video_mode;
/linux-master/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) { }
/linux-master/arch/x86/boot/compressed/
H A Dmisc.h139 void sev_enable(struct boot_params *bp);
147 static inline void sev_enable(struct boot_params *bp)
216 enum efi_type efi_get_type(struct boot_params *bp);
217 unsigned long efi_get_system_table(struct boot_params *bp);
218 int efi_get_conf_table(struct boot_params *bp, unsigned long *cfg_tbl_pa,
220 unsigned long efi_find_vendor_table(struct boot_params *bp,
225 static inline enum efi_type efi_get_type(struct boot_params *bp)
230 static inline unsigned long efi_get_system_table(struct boot_params *bp)
235 static inline int efi_get_conf_table(struct boot_params *bp,
242 static inline unsigned long efi_find_vendor_table(struct boot_params *b
[all...]
/linux-master/drivers/firmware/efi/libstub/
H A Dx86-stub.c119 static void setup_efi_pci(struct boot_params *params)
178 static void retrieve_apple_device_properties(struct boot_params *boot_params) argument
218 data = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data;
220 boot_params->hdr.setup_data = (unsigned long)new;
336 static void setup_quirks(struct boot_params *boot_params) argument
340 retrieve_apple_device_properties(boot_params);
424 static void setup_graphics(struct boot_params *boot_params) argument
696 struct boot_params *boot_params; member in struct:exit_boot_struct
721 exit_boot(struct boot_params *boot_params, void *handle) argument
833 enter_kernel(unsigned long kernel_addr, struct boot_params *boot_params) argument
847 efi_stub_entry(efi_handle_t handle, efi_system_table_t *sys_table_arg, struct boot_params *boot_params) argument
976 efi_handover_entry(efi_handle_t handle, efi_system_table_t *sys_table_arg, struct boot_params *boot_params) argument
[all...]
/linux-master/arch/x86/kernel/
H A Dasm-offsets.c86 OFFSET(BP_scratch, boot_params, scratch);
87 OFFSET(BP_secure_boot, boot_params, secure_boot);
88 OFFSET(BP_loadflags, boot_params, hdr.loadflags);
89 OFFSET(BP_hardware_subarch, boot_params, hdr.hardware_subarch);
90 OFFSET(BP_version, boot_params, hdr.version);
91 OFFSET(BP_kernel_alignment, boot_params, hdr.kernel_alignment);
92 OFFSET(BP_init_size, boot_params, hdr.init_size);
93 OFFSET(BP_pref_address, boot_params, hdr.pref_address);
H A Dsetup.c77 struct boot_params boot_params; variable in typeref:struct:boot_params
176 * from boot_params into a safe place.
181 memcpy(edd.mbr_signature, boot_params.edd_mbr_sig_buffer,
183 memcpy(edd.edd_info, boot_params.eddbuf, sizeof(edd.edd_info));
184 edd.mbr_signature_nr = boot_params.edd_mbr_sig_buf_entries;
185 edd.edd_info_nr = boot_params.eddbuf_entries;
233 u64 ramdisk_image = boot_params.hdr.ramdisk_image;
235 ramdisk_image |= (u64)boot_params.ext_ramdisk_image << 32;
244 u64 ramdisk_size = boot_params
[all...]
H A Dkexec-bzimage64.c55 static int setup_initrd(struct boot_params *params,
67 static int setup_cmdline(struct kimage *image, struct boot_params *params,
97 static int setup_e820_entries(struct boot_params *params)
116 setup_rng_seed(struct boot_params *params, unsigned long params_load_addr,
134 static int setup_efi_info_memmap(struct boot_params *params,
156 prepare_add_efi_setup_data(struct boot_params *params,
180 setup_efi_state(struct boot_params *params, unsigned long params_load_addr,
184 struct efi_info *current_ei = &boot_params.efi_info;
193 params->secure_boot = boot_params.secure_boot;
210 setup_ima_state(const struct kimage *image, struct boot_params *param
[all...]
/linux-master/arch/x86/xen/
H A Defi.c132 void __init xen_efi_init(struct boot_params *boot_params) argument
141 strscpy((char *)&boot_params->efi_info.efi_loader_signature, "Xen",
142 sizeof(boot_params->efi_info.efi_loader_signature));
143 boot_params->efi_info.efi_systab = (__u32)__pa(efi_systab_xen);
144 boot_params->efi_info.efi_systab_hi = (__u32)(__pa(efi_systab_xen) >> 32);
146 boot_params->secure_boot = xen_efi_get_secureboot();
H A Denlighten_pvh.c30 void __init xen_pvh_init(struct boot_params *boot_params) argument
47 xen_efi_init(boot_params);
59 &boot_params->screen_info);
63 void __init mem_map_via_hcall(struct boot_params *boot_params_p)
92 void __init xen_reserve_extra_memory(struct boot_params *bootp)
H A Dxen-ops.h124 extern void xen_efi_init(struct boot_params *boot_params);
126 static inline void __init xen_efi_init(struct boot_params *boot_params) argument
/linux-master/arch/x86/platform/pvh/
H A Denlighten.c23 struct boot_params __initdata pvh_bootparams;
40 void __init __weak mem_map_via_hcall(struct boot_params *ptr __maybe_unused)
108 void __init __weak xen_pvh_init(struct boot_params *boot_params) argument

Completed in 192 milliseconds

123