Searched refs:boot_params (Results 26 - 50 of 65) sorted by relevance

123

/linux-master/arch/x86/boot/compressed/
H A Defi.c13 * efi_get_type - Given a pointer to boot_params, determine the type of EFI environment.
15 * @bp: pointer to boot_params
19 enum efi_type efi_get_type(struct boot_params *bp)
53 * efi_get_system_table - Given a pointer to boot_params, retrieve the physical address
56 * @bp: pointer to boot_params
60 unsigned long efi_get_system_table(struct boot_params *bp)
87 static struct efi_setup_data *get_kexec_setup_data(struct boot_params *bp,
122 * efi_get_conf_table - Given a pointer to boot_params, locate and return the physical
125 * @bp: pointer to boot_params
131 int efi_get_conf_table(struct boot_params *b
[all...]
H A Dsev.c397 static struct cc_blob_sev_info *find_cc_blob_efi(struct boot_params *bp)
422 static struct cc_blob_sev_info *find_cc_blob(struct boot_params *bp)
445 static bool early_snp_init(struct boot_params *bp)
466 * Pass run-time kernel a pointer to CC info via boot_params so EFI
510 void sev_enable(struct boot_params *bp)
H A Dpgtable_64.c104 asmlinkage void configure_5level_paging(struct boot_params *bp, void *pgtable)
109 /* Initialize boot_params. Required for cmdline_find_option_bool(). */
/linux-master/arch/x86/kernel/
H A Dsetup.c78 struct boot_params boot_params; variable in typeref:struct:boot_params
177 * from boot_params into a safe place.
182 memcpy(edd.mbr_signature, boot_params.edd_mbr_sig_buffer,
184 memcpy(edd.edd_info, boot_params.eddbuf, sizeof(edd.edd_info));
185 edd.mbr_signature_nr = boot_params.edd_mbr_sig_buf_entries;
186 edd.edd_info_nr = boot_params.eddbuf_entries;
234 u64 ramdisk_image = boot_params.hdr.ramdisk_image;
236 ramdisk_image |= (u64)boot_params.ext_ramdisk_image << 32;
245 u64 ramdisk_size = boot_params
[all...]
H A Dkdebugfs.c102 pa_data = boot_params.hdr.setup_data;
161 .data = &boot_params,
162 .size = sizeof(boot_params),
170 dbp = debugfs_create_dir("boot_params", arch_debugfs_dir);
172 debugfs_create_x16("version", S_IRUGO, dbp, &boot_params.hdr.version);
H A Dplatform-quirks.c17 switch (boot_params.hdr.hardware_subarch) {
H A Dhead64.c94 static unsigned long __head sme_postprocess_startup(struct boot_params *bp, pmdval_t *pmd)
144 struct boot_params *bp)
390 unsigned long cmd_line_ptr = boot_params.hdr.cmd_line_ptr;
392 cmd_line_ptr |= (u64)boot_params.ext_cmd_line_ptr << 32;
408 memcpy(&boot_params, real_mode_data, sizeof(boot_params));
409 sanitize_boot_params(&boot_params);
494 if (!boot_params.hdr.version)
499 switch (boot_params.hdr.hardware_subarch) {
H A Dksysfs.c25 return sprintf(buf, "0x%04x\n", boot_params.hdr.version);
34 memcpy(buf, (void *)&boot_params + off, count);
44 .size = sizeof(boot_params),
74 u64 pa_data = boot_params.hdr.setup_data;
94 u64 pa_data = boot_params.hdr.setup_data, pa_next;
333 pa_data = boot_params.hdr.setup_data;
377 boot_params_kobj = kobject_create_and_add("boot_params",
H A Dtboot.c54 pr_warn("tboot at 0x%llx is invalid\n", boot_params.tboot_addr);
64 boot_params.tboot_addr);
77 if (!boot_params.tboot_addr)
83 if (!e820__mapped_any(boot_params.tboot_addr,
84 boot_params.tboot_addr, E820_TYPE_RESERVED)) {
90 set_fixmap(FIX_TBOOT_BASE, boot_params.tboot_addr);
H A Dearly_printk.c374 boot_params.screen_info.orig_video_isVGA == 1) {
375 max_xpos = boot_params.screen_info.orig_video_cols;
376 max_ypos = boot_params.screen_info.orig_video_lines;
377 current_ypos = boot_params.screen_info.orig_y;
H A Dcrash.c48 struct boot_params *params;
237 static int add_e820_entry(struct boot_params *params, struct e820_entry *entry)
253 struct boot_params *params = cmd->params;
281 int crash_setup_memmap_entries(struct kimage *image, struct boot_params *params)
/linux-master/arch/x86/include/asm/
H A Dsev.h24 struct boot_params;
182 extern void sev_enable(struct boot_params *bp);
224 bool snp_init(struct boot_params *bp);
238 static inline void sev_enable(struct boot_params *bp) { }
249 static inline bool snp_init(struct boot_params *bp) { return false; }
/linux-master/arch/x86/mm/
H A Dmem_encrypt_amd.c179 struct boot_params *boot_data;
186 boot_data = (struct boot_params *)real_mode_data;
189 __sme_early_map_unmap_mem(real_mode_data, sizeof(boot_params), false);
199 struct boot_params *boot_data;
205 __sme_early_map_unmap_mem(real_mode_data, sizeof(boot_params), true);
208 boot_data = (struct boot_params *)real_mode_data;
H A Dioremap.c604 paddr = boot_params.efi_info.efi_memmap_hi;
606 paddr |= boot_params.efi_info.efi_memmap;
610 paddr = boot_params.efi_info.efi_systab_hi;
612 paddr |= boot_params.efi_info.efi_systab;
641 paddr = boot_params.hdr.setup_data;
702 paddr = boot_params.hdr.setup_data;
/linux-master/arch/x86/hyperv/
H A Dhv_vtl.c17 extern struct boot_params boot_params;
65 ((secondary_startup_64_fn)secondary_startup_64)(&boot_params, &boot_params);
/linux-master/arch/x86/xen/
H A Denlighten_pv.c1256 edd_info = boot_params.eddbuf;
1257 mbr_signature = boot_params.edd_mbr_sig_buffer;
1282 boot_params.eddbuf_entries = nr;
1292 boot_params.edd_mbr_sig_buf_entries = nr;
1459 /* Poke various useful things into boot_params */
1460 boot_params.hdr.type_of_loader = (9 << 4) | 0;
1461 boot_params.hdr.ramdisk_image = initrd_start;
1462 boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
1463 boot_params.hdr.cmd_line_ptr = __pa(xen_start_info->cmd_line);
1464 boot_params
[all...]
H A Denlighten.c234 if (!boot_params.screen_info.orig_video_isVGA)
237 if (boot_params.screen_info.orig_video_isVGA)
/linux-master/arch/x86/platform/olpc/
H A Dolpc_ofw.c95 struct olpc_ofw_header *hdr = &boot_params.olpc_ofw_header;
/linux-master/arch/x86/boot/
H A Dboot.h35 extern struct boot_params boot_params;
253 unsigned long cmd_line_ptr = boot_params.hdr.cmd_line_ptr;
263 unsigned long cmd_line_ptr = boot_params.hdr.cmd_line_ptr;
H A Dvideo-mode.c168 boot_params.hdr.vid_mode = real_mode;
H A Dvideo-vga.c256 boot_params.screen_info.orig_video_ega_bx = oreg.bx;
268 boot_params.screen_info.orig_video_isVGA = 1;
H A Dpmjump.S25 movl %edx, %esi # Pointer to boot_params table
/linux-master/arch/x86/kernel/cpu/microcode/
H A Dcore.c188 size = boot_params.hdr.ramdisk_size;
194 size = (unsigned long)boot_params.ext_ramdisk_size << 32;
195 size |= boot_params.hdr.ramdisk_size;
198 start = (unsigned long)boot_params.ext_ramdisk_image << 32;
199 start |= boot_params.hdr.ramdisk_image;
/linux-master/arch/x86/platform/efi/
H A Defi.c200 struct efi_info *e = &boot_params.efi_info;
476 (boot_params.efi_info.efi_systab_hi ||
477 boot_params.efi_info.efi_memmap_hi)) {
482 efi_systab_phys = boot_params.efi_info.efi_systab |
483 ((__u64)boot_params.efi_info.efi_systab_hi << 32);
956 return boot_params.secure_boot;
/linux-master/arch/mips/loongson64/
H A Denv.c61 struct boot_params *boot_p;
70 boot_p = (struct boot_params *)fw_arg2;

Completed in 403 milliseconds

123