diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-x86/bootparam.h | 14 | ||||
| -rw-r--r-- | include/asm-x86/e820_64.h | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-x86/bootparam.h b/include/asm-x86/bootparam.h index 51151356840f..e8659909e5f6 100644 --- a/include/asm-x86/bootparam.h +++ b/include/asm-x86/bootparam.h | |||
| @@ -9,6 +9,17 @@ | |||
| 9 | #include <asm/ist.h> | 9 | #include <asm/ist.h> |
| 10 | #include <video/edid.h> | 10 | #include <video/edid.h> |
| 11 | 11 | ||
| 12 | /* setup data types */ | ||
| 13 | #define SETUP_NONE 0 | ||
| 14 | |||
| 15 | /* extensible setup data list node */ | ||
| 16 | struct setup_data { | ||
| 17 | u64 next; | ||
| 18 | u32 type; | ||
| 19 | u32 len; | ||
| 20 | u8 data[0]; | ||
| 21 | }; | ||
| 22 | |||
| 12 | struct setup_header { | 23 | struct setup_header { |
| 13 | __u8 setup_sects; | 24 | __u8 setup_sects; |
| 14 | __u16 root_flags; | 25 | __u16 root_flags; |
| @@ -46,6 +57,9 @@ struct setup_header { | |||
| 46 | __u32 cmdline_size; | 57 | __u32 cmdline_size; |
| 47 | __u32 hardware_subarch; | 58 | __u32 hardware_subarch; |
| 48 | __u64 hardware_subarch_data; | 59 | __u64 hardware_subarch_data; |
| 60 | __u32 payload_offset; | ||
| 61 | __u32 payload_length; | ||
| 62 | __u64 setup_data; | ||
| 49 | } __attribute__((packed)); | 63 | } __attribute__((packed)); |
| 50 | 64 | ||
| 51 | struct sys_desc_table { | 65 | struct sys_desc_table { |
diff --git a/include/asm-x86/e820_64.h b/include/asm-x86/e820_64.h index f478c57eb060..b5e02e379af3 100644 --- a/include/asm-x86/e820_64.h +++ b/include/asm-x86/e820_64.h | |||
| @@ -48,6 +48,7 @@ extern struct e820map e820; | |||
| 48 | extern void update_e820(void); | 48 | extern void update_e820(void); |
| 49 | 49 | ||
| 50 | extern void reserve_early(unsigned long start, unsigned long end, char *name); | 50 | extern void reserve_early(unsigned long start, unsigned long end, char *name); |
| 51 | extern void free_early(unsigned long start, unsigned long end); | ||
| 51 | extern void early_res_to_bootmem(void); | 52 | extern void early_res_to_bootmem(void); |
| 52 | 53 | ||
| 53 | #endif/*!__ASSEMBLY__*/ | 54 | #endif/*!__ASSEMBLY__*/ |
