coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <boot/coreboot_tables.h>
#include <console/console.h>
#include <fsp/graphics.h>
#include <fsp/util.h>
#include <soc/intel/common/vbt.h>
#include <types.h>
#include <framebuffer_info.h>
Go to the source code of this file.
Data Structures | |
struct | hob_graphics_info |
struct | pixel |
struct | fsp_framebuffer |
Enumerations | |
enum | pixel_format { pixel_rgbx_8bpc = 0 , pixel_bgrx_8bpc = 1 , pixel_bitmask = 2 } |
Functions | |
void | fsp_report_framebuffer_info (const uintptr_t framebuffer_bar, enum lb_fb_orientation orientation) |
Variables | |
static const uint8_t | fsp_graphics_info_guid [16] |
struct hob_graphics_info | __packed |
static const struct fsp_framebuffer | fsp_framebuffer_format_map [] |
enum pixel_format |
Enumerator | |
---|---|
pixel_rgbx_8bpc | |
pixel_bgrx_8bpc | |
pixel_bitmask |
Definition at line 11 of file graphics.c.
void fsp_report_framebuffer_info | ( | const uintptr_t | framebuffer_bar, |
enum lb_fb_orientation | orientation | ||
) |
Definition at line 52 of file graphics.c.
References ARRAY_SIZE, BIOS_ALERT, fsp_framebuffer::blue, fb_add_framebuffer_info_ex(), fsp_find_extension_hob_by_guid(), fsp_framebuffer_format_map, fsp_graphics_info_guid, fsp_framebuffer::green, hob_graphics_info::horizontal_resolution, lb_framebuffer::orientation, lb_framebuffer::physical_address, hob_graphics_info::pixel_format, hob_graphics_info::pixels_per_scanline, pixel::pos, printk, fsp_framebuffer::red, fsp_framebuffer::rsvd, pixel::size, and hob_graphics_info::vertical_resolution.
Referenced by gma_init(), and graphics_dev_init().
struct hob_graphics_info __packed |
|
static |
Referenced by fsp_report_framebuffer_info().
|
static |
Definition at line 17 of file graphics.c.
Referenced by fsp_report_framebuffer_info().