Lines Matching defs:boot_params

119 static void setup_efi_pci(struct boot_params *params)
178 static void retrieve_apple_device_properties(struct boot_params *boot_params)
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)
340 retrieve_apple_device_properties(boot_params);
424 static void setup_graphics(struct boot_params *boot_params)
434 si = &boot_params->screen_info;
462 struct boot_params *boot_params);
465 * Because the x86 boot code expects to be passed a boot_params we
472 static struct boot_params boot_params __page_aligned_bss;
473 struct setup_header *hdr = &boot_params.hdr;
507 &boot_params.ext_cmd_line_ptr);
509 efi_stub_entry(handle, sys_table_arg, &boot_params);
516 static void add_e820ext(struct boot_params *params,
537 setup_e820(struct boot_params *params, struct setup_data *e820ext, u32 e820ext_size)
622 /* boot_params map full, switch to e820 extended */
668 static efi_status_t allocate_e820(struct boot_params *params,
696 struct boot_params *boot_params;
721 static efi_status_t exit_boot(struct boot_params *boot_params, void *handle)
728 priv.boot_params = boot_params;
729 priv.efi = &boot_params->efi_info;
731 status = allocate_e820(boot_params, &e820ext, &e820ext_size);
741 boot_params->alt_mem_k = 32 * 1024;
743 status = setup_e820(boot_params, e820ext, e820ext_size);
834 struct boot_params *boot_params)
836 /* enter decompressed kernel with boot_params pointer in RSI/ESI */
837 asm("jmp *%0"::"r"(kernel_addr), "S"(boot_params));
849 struct boot_params *boot_params)
852 struct setup_header *hdr = &boot_params->hdr;
857 boot_params_ptr = boot_params;
894 ((u64)boot_params->ext_cmd_line_ptr << 32));
926 &boot_params->ext_ramdisk_image);
928 &boot_params->ext_ramdisk_size);
936 if (boot_params->secure_boot == efi_secureboot_mode_unset)
937 boot_params->secure_boot = efi_get_secureboot();
946 setup_graphics(boot_params);
948 setup_efi_pci(boot_params);
950 setup_quirks(boot_params);
954 status = exit_boot(boot_params, handle);
964 sev_enable(boot_params);
968 enter_kernel(kernel_entry, boot_params);
977 struct boot_params *boot_params)
980 efi_stub_entry(handle, sys_table_arg, boot_params);
986 struct boot_params *boot_params);
990 struct boot_params *boot_params);