Lines Matching refs:boot_params
65 struct boot_params { struct
107 typedef void(*handover_f)(void *image, EFI_SYSTEM_TABLE *table, struct boot_params *params) __regpa… argument
109 static void linux_efi_handover(EFI_HANDLE image, struct boot_params *params) { in linux_efi_handover()
129 const struct boot_params *image_params; in linux_exec()
130 struct boot_params *boot_params; in linux_exec() local
141 if (linux_length < sizeof(struct boot_params)) in linux_exec()
144 image_params = (const struct boot_params *) linux_buffer; in linux_exec()
161 boot_params = (struct boot_params *) PHYSICAL_ADDRESS_TO_POINTER(addr); in linux_exec()
162 ZeroMem(boot_params, 0x4000); in linux_exec()
163 boot_params->hdr = image_params->hdr; in linux_exec()
164 boot_params->hdr.type_of_loader = 0xff; in linux_exec()
166 …boot_params->hdr.code32_start = (UINT32) POINTER_TO_PHYSICAL_ADDRESS(linux_buffer) + (setup_sector… in linux_exec()
181 boot_params->hdr.cmd_line_ptr = (UINT32) addr; in linux_exec()
190 boot_params->hdr.ramdisk_image = (UINT32) POINTER_TO_PHYSICAL_ADDRESS(initrd_buffer); in linux_exec()
191 boot_params->hdr.ramdisk_size = (UINT32) initrd_length; in linux_exec()
197 linux_efi_handover(image, boot_params); in linux_exec()