Lines Matching refs:boot_params

130 static void setup_efi_pci(struct boot_params *params)  in setup_efi_pci()
195 static void retrieve_apple_device_properties(struct boot_params *boot_params) in retrieve_apple_device_properties() argument
235 data = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data; in retrieve_apple_device_properties()
237 boot_params->hdr.setup_data = (unsigned long)new; in retrieve_apple_device_properties()
247 static void setup_quirks(struct boot_params *boot_params) in setup_quirks() argument
254 retrieve_apple_device_properties(boot_params); in setup_quirks()
344 void setup_graphics(struct boot_params *boot_params) in setup_graphics() argument
354 si = &boot_params->screen_info; in setup_graphics()
382 struct boot_params *make_boot_params(struct efi_config *c) in make_boot_params()
384 struct boot_params *boot_params; in make_boot_params() local
420 (unsigned long *)&boot_params); in make_boot_params()
426 memset(boot_params, 0x0, 0x4000); in make_boot_params()
428 hdr = &boot_params->hdr; in make_boot_params()
429 bi = &boot_params->apm_bios_info; in make_boot_params()
451 boot_params->ext_cmd_line_ptr = (u64)(unsigned long)cmdline_ptr >> 32; in make_boot_params()
481 boot_params->ext_ramdisk_image = (u64)ramdisk_addr >> 32; in make_boot_params()
482 boot_params->ext_ramdisk_size = (u64)ramdisk_size >> 32; in make_boot_params()
484 return boot_params; in make_boot_params()
489 efi_free(sys_table, 0x4000, (unsigned long)boot_params); in make_boot_params()
494 static void add_e820ext(struct boot_params *params, in add_e820ext()
517 setup_e820(struct boot_params *params, struct setup_data *e820ext, u32 e820ext_size) in setup_e820()
638 struct boot_params *boot_params; member
656 if (nr_desc > ARRAY_SIZE(p->boot_params->e820_table)) { in exit_boot_func()
658 ARRAY_SIZE(p->boot_params->e820_table); in exit_boot_func()
686 static efi_status_t exit_boot(struct boot_params *boot_params, void *handle) in exit_boot() argument
703 priv.boot_params = boot_params; in exit_boot()
704 priv.efi = &boot_params->efi_info; in exit_boot()
718 boot_params->alt_mem_k = 32 * 1024; in exit_boot()
720 status = setup_e820(boot_params, e820ext, e820ext_size); in exit_boot()
731 struct boot_params *
732 efi_main(struct efi_config *c, struct boot_params *boot_params) in efi_main() argument
736 struct setup_header *hdr = &boot_params->hdr; in efi_main()
762 if (boot_params->secure_boot == efi_secureboot_mode_unset) in efi_main()
763 boot_params->secure_boot = efi_get_secureboot(sys_table); in efi_main()
769 setup_graphics(boot_params); in efi_main()
771 setup_efi_pci(boot_params); in efi_main()
773 setup_quirks(boot_params); in efi_main()
809 status = exit_boot(boot_params, handle); in efi_main()
902 return boot_params; in efi_main()