diff options
Diffstat (limited to 'arch/x86/include/asm/bootparam.h')
| -rw-r--r-- | arch/x86/include/asm/bootparam.h | 15 | 
1 files changed, 14 insertions, 1 deletions
| diff --git a/arch/x86/include/asm/bootparam.h b/arch/x86/include/asm/bootparam.h index ac4865300f1..657d920b14f 100644 --- a/arch/x86/include/asm/bootparam.h +++ b/arch/x86/include/asm/bootparam.h @@ -122,6 +122,14 @@ struct efi_info {  	__u32 efi_memmap_hi;  }; +/* Gleaned from OFW's set-parameters in cpu/x86/pc/linux.fth */ +struct olpc_ofw_header { +	__u32 ofw_magic;	/* OFW signature */ +	__u32 ofw_version; +	__u32 cif_handler;	/* callback into OFW */ +	__u32 irq_desc_table; +} __attribute__((packed)); +  /* The so-called "zeropage" */  struct boot_params {  	struct screen_info screen_info;			/* 0x000 */ @@ -134,7 +142,12 @@ struct boot_params {  	__u8  hd0_info[16];	/* obsolete! */		/* 0x080 */  	__u8  hd1_info[16];	/* obsolete! */		/* 0x090 */  	struct sys_desc_table sys_desc_table;		/* 0x0a0 */ -	__u8  _pad4[144];				/* 0x0b0 */ +	struct olpc_ofw_header olpc_ofw_header;		/* 0x0b0 */ +	__u32 ext_ramdisk_image;			/* 0x0c0 */ +	__u32 ext_ramdisk_size;				/* 0x0c4 */ +	__u32 ext_cmd_line_ptr;				/* 0x0c8 */ +	__u8  _pad4[112];				/* 0x0cc */ +	__u32 cc_blob_address;				/* 0x13c */  	struct edid_info edid_info;			/* 0x140 */  	struct efi_info efi_info;			/* 0x1c0 */  	__u32 alt_mem_k;				/* 0x1e0 */ | 
