video: coreboot: Save VESA mode for future use
When booting as a coreboot payload, the framebuffer details are passed from coreboot via configuration tables. We save these information into vesa_mode_info structure for future use. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -102,6 +102,8 @@ struct vbe_ddc_info {
|
||||
#define VESA_SET_MODE 0x4f02
|
||||
#define VESA_GET_CUR_MODE 0x4f03
|
||||
|
||||
extern struct vbe_mode_info mode_info;
|
||||
|
||||
struct graphic_device;
|
||||
int vbe_get_video_info(struct graphic_device *gdev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user