|
@@ -1016,6 +1016,9 @@ void setup_graphics(struct boot_params *boot_params)
|
|
* Because the x86 boot code expects to be passed a boot_params we
|
|
* Because the x86 boot code expects to be passed a boot_params we
|
|
* need to create one ourselves (usually the bootloader would create
|
|
* need to create one ourselves (usually the bootloader would create
|
|
* one for us).
|
|
* one for us).
|
|
|
|
+ *
|
|
|
|
+ * The caller is responsible for filling out ->code32_start in the
|
|
|
|
+ * returned boot_params.
|
|
*/
|
|
*/
|
|
struct boot_params *make_boot_params(struct efi_config *c)
|
|
struct boot_params *make_boot_params(struct efi_config *c)
|
|
{
|
|
{
|
|
@@ -1081,8 +1084,6 @@ struct boot_params *make_boot_params(struct efi_config *c)
|
|
hdr->vid_mode = 0xffff;
|
|
hdr->vid_mode = 0xffff;
|
|
hdr->boot_flag = 0xAA55;
|
|
hdr->boot_flag = 0xAA55;
|
|
|
|
|
|
- hdr->code32_start = (__u64)(unsigned long)image->image_base;
|
|
|
|
-
|
|
|
|
hdr->type_of_loader = 0x21;
|
|
hdr->type_of_loader = 0x21;
|
|
|
|
|
|
/* Convert unicode cmdline to ascii */
|
|
/* Convert unicode cmdline to ascii */
|