diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-25 18:56:26 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-25 18:56:26 +0000 |
commit | b700254aa5150023a13902adbe31839ec4f926cb (patch) | |
tree | 087400b833d533b12097fa21454815aff6df9784 /payloads/libpayload/include/coreboot_tables.h | |
parent | 7208f6e031957ab163136546c191d577c7418299 (diff) |
Add coreboot framebuffer support to libpayload
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5295 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include/coreboot_tables.h')
-rw-r--r-- | payloads/libpayload/include/coreboot_tables.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/payloads/libpayload/include/coreboot_tables.h b/payloads/libpayload/include/coreboot_tables.h index 768bb34ec1..04b8cef4c1 100644 --- a/payloads/libpayload/include/coreboot_tables.h +++ b/payloads/libpayload/include/coreboot_tables.h @@ -136,6 +136,26 @@ struct cb_forward { u64 forward; }; +#define CB_TAG_FRAMEBUFFER 0x0012 +struct cb_framebuffer { + u32 tag; + u32 size; + + u64 physical_address; + u32 x_resolution; + u32 y_resolution; + u32 bytes_per_line; + u8 bits_per_pixel; + u8 red_mask_pos; + u8 red_mask_size; + u8 green_mask_pos; + u8 green_mask_size; + u8 blue_mask_pos; + u8 blue_mask_size; + u8 reserved_mask_pos; + u8 reserved_mask_size; +}; + #define CB_TAG_CMOS_OPTION_TABLE 0x00c8 struct cb_cmos_option_table { u32 tag; |