Lines Matching refs:boot_params

106 static void setup_efi_pci(struct boot_params *params)  in setup_efi_pci()
165 static void retrieve_apple_device_properties(struct boot_params *boot_params) in retrieve_apple_device_properties() argument
205 data = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data; in retrieve_apple_device_properties()
207 boot_params->hdr.setup_data = (unsigned long)new; in retrieve_apple_device_properties()
282 void startup_32(struct boot_params *boot_params);
315 static void setup_quirks(struct boot_params *boot_params, in setup_quirks() argument
324 retrieve_apple_device_properties(boot_params); in setup_quirks()
412 static void setup_graphics(struct boot_params *boot_params) in setup_graphics() argument
422 si = &boot_params->screen_info; in setup_graphics()
450 struct boot_params *boot_params);
460 struct boot_params *boot_params; in efi_pe_entry() local
483 status = efi_allocate_pages(sizeof(struct boot_params), in efi_pe_entry()
484 (unsigned long *)&boot_params, ULONG_MAX); in efi_pe_entry()
490 memset(boot_params, 0x0, sizeof(struct boot_params)); in efi_pe_entry()
492 hdr = &boot_params->hdr; in efi_pe_entry()
514 &hdr->cmd_line_ptr, &boot_params->ext_cmd_line_ptr); in efi_pe_entry()
526 efi_stub_entry(handle, sys_table_arg, boot_params); in efi_pe_entry()
530 efi_free(sizeof(struct boot_params), (unsigned long)boot_params); in efi_pe_entry()
535 static void add_e820ext(struct boot_params *params, in add_e820ext()
556 setup_e820(struct boot_params *params, struct setup_data *e820ext, u32 e820ext_size) in setup_e820()
680 static efi_status_t allocate_e820(struct boot_params *params, in allocate_e820()
709 struct boot_params *boot_params; member
734 static efi_status_t exit_boot(struct boot_params *boot_params, void *handle) in exit_boot() argument
741 priv.boot_params = boot_params; in exit_boot()
742 priv.efi = &boot_params->efi_info; in exit_boot()
744 status = allocate_e820(boot_params, &e820ext, &e820ext_size); in exit_boot()
754 boot_params->alt_mem_k = 32 * 1024; in exit_boot()
756 status = setup_e820(boot_params, e820ext, e820ext_size); in exit_boot()
770 struct boot_params *boot_params) in efi_main() argument
774 struct setup_header *hdr = &boot_params->hdr; in efi_main()
853 ((u64)boot_params->ext_cmd_line_ptr << 32)); in efi_main()
876 &boot_params->ext_ramdisk_image); in efi_main()
878 &boot_params->ext_ramdisk_size); in efi_main()
886 if (boot_params->secure_boot == efi_secureboot_mode_unset) in efi_main()
887 boot_params->secure_boot = efi_get_secureboot(); in efi_main()
896 setup_graphics(boot_params); in efi_main()
898 setup_efi_pci(boot_params); in efi_main()
900 setup_quirks(boot_params, bzimage_addr, buffer_end - buffer_start); in efi_main()
902 status = exit_boot(boot_params, handle); in efi_main()