Lines Matching refs:boot_params
105 static void setup_efi_pci(struct boot_params *params) in setup_efi_pci()
164 static void retrieve_apple_device_properties(struct boot_params *boot_params) in retrieve_apple_device_properties() argument
204 data = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data; in retrieve_apple_device_properties()
206 boot_params->hdr.setup_data = (unsigned long)new; in retrieve_apple_device_properties()
216 static void setup_quirks(struct boot_params *boot_params) in setup_quirks() argument
223 retrieve_apple_device_properties(boot_params); in setup_quirks()
308 static void setup_graphics(struct boot_params *boot_params) in setup_graphics() argument
318 si = &boot_params->screen_info; in setup_graphics()
344 void startup_32(struct boot_params *boot_params);
348 struct boot_params *boot_params);
358 struct boot_params *boot_params; in efi_pe_entry() local
381 status = efi_allocate_pages(sizeof(struct boot_params), in efi_pe_entry()
382 (unsigned long *)&boot_params, ULONG_MAX); in efi_pe_entry()
388 memset(boot_params, 0x0, sizeof(struct boot_params)); in efi_pe_entry()
390 hdr = &boot_params->hdr; in efi_pe_entry()
412 &hdr->cmd_line_ptr, &boot_params->ext_cmd_line_ptr); in efi_pe_entry()
417 efi_stub_entry(handle, sys_table_arg, boot_params); in efi_pe_entry()
421 efi_free(sizeof(struct boot_params), (unsigned long)boot_params); in efi_pe_entry()
426 static void add_e820ext(struct boot_params *params, in add_e820ext()
447 setup_e820(struct boot_params *params, struct setup_data *e820ext, u32 e820ext_size) in setup_e820()
571 static efi_status_t allocate_e820(struct boot_params *params, in allocate_e820()
600 struct boot_params *boot_params; member
625 static efi_status_t exit_boot(struct boot_params *boot_params, void *handle) in exit_boot() argument
642 priv.boot_params = boot_params; in exit_boot()
643 priv.efi = &boot_params->efi_info; in exit_boot()
645 status = allocate_e820(boot_params, &e820ext, &e820ext_size); in exit_boot()
655 boot_params->alt_mem_k = 32 * 1024; in exit_boot()
657 status = setup_e820(boot_params, e820ext, e820ext_size); in exit_boot()
671 struct boot_params *boot_params) in efi_main() argument
675 struct setup_header *hdr = &boot_params->hdr; in efi_main()
744 ((u64)boot_params->ext_cmd_line_ptr << 32)); in efi_main()
773 &boot_params->ext_ramdisk_image); in efi_main()
775 &boot_params->ext_ramdisk_size); in efi_main()
783 if (boot_params->secure_boot == efi_secureboot_mode_unset) in efi_main()
784 boot_params->secure_boot = efi_get_secureboot(); in efi_main()
793 setup_graphics(boot_params); in efi_main()
795 setup_efi_pci(boot_params); in efi_main()
797 setup_quirks(boot_params); in efi_main()
799 status = exit_boot(boot_params, handle); in efi_main()