Lines Matching refs:boot_params
117 static void setup_efi_pci(struct boot_params *params) in setup_efi_pci()
176 static void retrieve_apple_device_properties(struct boot_params *boot_params) in retrieve_apple_device_properties() argument
216 data = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data; in retrieve_apple_device_properties()
218 boot_params->hdr.setup_data = (unsigned long)new; in retrieve_apple_device_properties()
312 static void setup_quirks(struct boot_params *boot_params) in setup_quirks() argument
319 retrieve_apple_device_properties(boot_params); in setup_quirks()
404 static void setup_graphics(struct boot_params *boot_params) in setup_graphics() argument
414 si = &boot_params->screen_info; in setup_graphics()
442 struct boot_params *boot_params);
452 struct boot_params *boot_params; in efi_pe_entry() local
474 status = efi_allocate_pages(sizeof(struct boot_params), in efi_pe_entry()
475 (unsigned long *)&boot_params, ULONG_MAX); in efi_pe_entry()
481 memset(boot_params, 0x0, sizeof(struct boot_params)); in efi_pe_entry()
483 hdr = &boot_params->hdr; in efi_pe_entry()
505 &hdr->cmd_line_ptr, &boot_params->ext_cmd_line_ptr); in efi_pe_entry()
517 efi_stub_entry(handle, sys_table_arg, boot_params); in efi_pe_entry()
521 efi_free(sizeof(struct boot_params), (unsigned long)boot_params); in efi_pe_entry()
526 static void add_e820ext(struct boot_params *params, in add_e820ext()
547 setup_e820(struct boot_params *params, struct setup_data *e820ext, u32 e820ext_size) in setup_e820()
678 static efi_status_t allocate_e820(struct boot_params *params, in allocate_e820()
706 struct boot_params *boot_params; member
731 static efi_status_t exit_boot(struct boot_params *boot_params, void *handle) in exit_boot() argument
738 priv.boot_params = boot_params; in exit_boot()
739 priv.efi = &boot_params->efi_info; in exit_boot()
741 status = allocate_e820(boot_params, &e820ext, &e820ext_size); in exit_boot()
751 boot_params->alt_mem_k = 32 * 1024; in exit_boot()
753 status = setup_e820(boot_params, e820ext, e820ext_size); in exit_boot()
829 struct boot_params *boot_params) in enter_kernel() argument
832 asm("jmp *%0"::"r"(kernel_addr), "S"(boot_params)); in enter_kernel()
844 struct boot_params *boot_params) in efi_stub_entry() argument
847 struct setup_header *hdr = &boot_params->hdr; in efi_stub_entry()
852 boot_params_pointer = boot_params; in efi_stub_entry()
889 ((u64)boot_params->ext_cmd_line_ptr << 32)); in efi_stub_entry()
918 &boot_params->ext_ramdisk_image); in efi_stub_entry()
920 &boot_params->ext_ramdisk_size); in efi_stub_entry()
928 if (boot_params->secure_boot == efi_secureboot_mode_unset) in efi_stub_entry()
929 boot_params->secure_boot = efi_get_secureboot(); in efi_stub_entry()
938 setup_graphics(boot_params); in efi_stub_entry()
940 setup_efi_pci(boot_params); in efi_stub_entry()
942 setup_quirks(boot_params); in efi_stub_entry()
946 status = exit_boot(boot_params, handle); in efi_stub_entry()
956 sev_enable(boot_params); in efi_stub_entry()
960 enter_kernel(kernel_entry, boot_params); in efi_stub_entry()
969 struct boot_params *boot_params) in efi_handover_entry() argument
974 efi_stub_entry(handle, sys_table_arg, boot_params); in efi_handover_entry()
980 struct boot_params *boot_params);
984 struct boot_params *boot_params);