Lines Matching refs:boot_params
376 setup_efi_pci32(struct boot_params *params, void **pci_handle, in setup_efi_pci32()
483 setup_efi_pci64(struct boot_params *params, void **pci_handle, in setup_efi_pci64()
536 static void setup_efi_pci(struct boot_params *params) in setup_efi_pci()
1023 void setup_graphics(struct boot_params *boot_params) in setup_graphics() argument
1033 si = &boot_params->screen_info; in setup_graphics()
1061 struct boot_params *make_boot_params(struct efi_config *c) in make_boot_params()
1063 struct boot_params *boot_params; in make_boot_params() local
1100 (unsigned long *)&boot_params); in make_boot_params()
1106 memset(boot_params, 0x0, 0x4000); in make_boot_params()
1108 hdr = &boot_params->hdr; in make_boot_params()
1109 efi = &boot_params->efi_info; in make_boot_params()
1110 bi = &boot_params->apm_bios_info; in make_boot_params()
1131 boot_params->ext_cmd_line_ptr = (u64)(unsigned long)cmdline_ptr >> 32; in make_boot_params()
1161 boot_params->ext_ramdisk_image = (u64)ramdisk_addr >> 32; in make_boot_params()
1162 boot_params->ext_ramdisk_size = (u64)ramdisk_size >> 32; in make_boot_params()
1164 return boot_params; in make_boot_params()
1168 efi_free(sys_table, 0x4000, (unsigned long)boot_params); in make_boot_params()
1172 static void add_e820ext(struct boot_params *params, in add_e820ext()
1194 static efi_status_t setup_e820(struct boot_params *params, in setup_e820()
1315 static efi_status_t exit_boot(struct boot_params *boot_params, in exit_boot() argument
1318 struct efi_info *efi = &boot_params->efi_info; in exit_boot()
1345 nr_desc > ARRAY_SIZE(boot_params->e820_map)) { in exit_boot()
1346 u32 nr_e820ext = nr_desc - ARRAY_SIZE(boot_params->e820_map); in exit_boot()
1389 boot_params->alt_mem_k = 32 * 1024; in exit_boot()
1391 status = setup_e820(boot_params, e820ext, e820ext_size); in exit_boot()
1406 struct boot_params *efi_main(struct efi_config *c, in efi_main()
1407 struct boot_params *boot_params) in efi_main() argument
1411 struct setup_header *hdr = &boot_params->hdr; in efi_main()
1435 setup_graphics(boot_params); in efi_main()
1437 setup_efi_pci(boot_params); in efi_main()
1473 status = exit_boot(boot_params, handle, is64); in efi_main()
1535 return boot_params; in efi_main()