Lines Matching defs:boot_params
115 static void setup_efi_pci(struct boot_params *params)
156 static void retrieve_apple_device_properties(struct boot_params *boot_params)
196 data = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data;
198 boot_params->hdr.setup_data = (unsigned long)new;
477 static void setup_quirks(struct boot_params *boot_params)
481 retrieve_apple_device_properties(boot_params);
487 static void setup_graphics(struct boot_params *boot_params)
489 struct screen_info *si = memset(&boot_params->screen_info, 0, sizeof(*si));
490 struct edid_info *edid = memset(&boot_params->edid_info, 0, sizeof(*edid));
503 * Because the x86 boot code expects to be passed a boot_params we
508 struct boot_params **bp)
511 struct boot_params *boot_params;
527 boot_params = memset((void *)alloc, 0x0, PARAM_SIZE);
528 hdr = &boot_params->hdr;
545 &boot_params->ext_cmd_line_ptr);
547 *bp = boot_params;
551 static void add_e820ext(struct boot_params *params,
572 setup_e820(struct boot_params *params, struct setup_data *e820ext, u32 e820ext_size)
657 /* boot_params map full, switch to e820 extended */
703 static efi_status_t allocate_e820(struct boot_params *params,
732 struct boot_params *boot_params;
757 static efi_status_t exit_boot(struct boot_params *boot_params, void *handle)
764 priv.boot_params = boot_params;
765 priv.efi = &boot_params->efi_info;
767 status = allocate_e820(boot_params, &e820ext, &e820ext_size);
777 boot_params->alt_mem_k = 32 * 1024;
779 status = setup_e820(boot_params, e820ext, e820ext_size);
836 struct boot_params *boot_params)
843 boot_params_ptr = boot_params;
875 boot_params->hdr.loadflags |= KASLR_FLAG;
899 struct boot_params *boot_params)
901 /* enter decompressed kernel with boot_params pointer in RSI/ESI */
902 asm("jmp *%0"::"r"(kernel_addr), "S"(boot_params));
914 struct boot_params *boot_params)
928 if (!IS_ENABLED(CONFIG_EFI_HANDOVER_PROTOCOL) || !boot_params) {
929 status = efi_allocate_bootparams(handle, &boot_params);
934 hdr = &boot_params->hdr;
966 ((u64)boot_params->ext_cmd_line_ptr << 32));
977 status = efi_decompress_kernel(&kernel_entry, boot_params);
998 &boot_params->ext_ramdisk_image);
1000 &boot_params->ext_ramdisk_size);
1008 if (boot_params->secure_boot == efi_secureboot_mode_unset)
1009 boot_params->secure_boot = efi_get_secureboot();
1018 setup_graphics(boot_params);
1020 setup_efi_pci(boot_params);
1022 setup_quirks(boot_params);
1026 status = exit_boot(boot_params, handle);
1036 sev_enable(boot_params);
1040 enter_kernel(kernel_entry, boot_params);
1055 struct boot_params *boot_params)
1058 efi_stub_entry(handle, sys_table_arg, boot_params);
1064 struct boot_params *boot_params);
1068 struct boot_params *boot_params);