![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | __packed |
struct | __packed::opregion_version |
Macros | |
#define | ASLS 0xfc /* OpRegion Base */ |
#define | SWSCI 0xe8 /* SWSCI Register */ |
#define | SWSMISCI 0xe0 /* SWSMISCI Register */ |
#define | GSSCIE (1 << 0) /* SCI Event trigger */ |
#define | SMISCISEL (1 << 15) /* Select SMI or SCI event source */ |
#define | IGD_OPREGION_SIGNATURE "IntelGraphicsMem" |
#define | IGD_MBOX1 (1 << 0) |
#define | IGD_MBOX2 (1 << 1) |
#define | IGD_MBOX3 (1 << 2) |
#define | IGD_MBOX4 (1 << 3) |
#define | IGD_MBOX5 (1 << 4) |
#define | MAILBOXES_MOBILE |
#define | MAILBOXES_DESKTOP (IGD_MBOX2 | IGD_MBOX4) |
#define | SBIOS_VERSION_SIZE 32 |
#define | IGD_BACKLIGHT_BRIGHTNESS 0xff |
#define | IGD_INITIAL_BRIGHTNESS 0x64 |
#define | IGD_FIELD_VALID (1UL << 31) |
#define | IGD_WORD_FIELD_VALID (1 << 15) |
#define | IGD_PFIT_STRETCH 6 |
#define | OPROM_SIGNATURE 0xaa55 |
Functions | |
enum cb_err | intel_gma_init_igd_opregion (void) |
const char * | mainboard_vbt_filename (void) |
void * | locate_vbt (size_t *vbt_size) |
#define ASLS 0xfc /* OpRegion Base */ |
Definition at line 10 of file opregion.h.
#define GSSCIE (1 << 0) /* SCI Event trigger */ |
Definition at line 13 of file opregion.h.
#define IGD_BACKLIGHT_BRIGHTNESS 0xff |
Definition at line 159 of file opregion.h.
#define IGD_FIELD_VALID (1UL << 31) |
Definition at line 162 of file opregion.h.
#define IGD_INITIAL_BRIGHTNESS 0x64 |
Definition at line 160 of file opregion.h.
#define IGD_MBOX1 (1 << 0) |
Definition at line 38 of file opregion.h.
#define IGD_MBOX2 (1 << 1) |
Definition at line 39 of file opregion.h.
#define IGD_MBOX3 (1 << 2) |
Definition at line 40 of file opregion.h.
#define IGD_MBOX4 (1 << 3) |
Definition at line 41 of file opregion.h.
#define IGD_MBOX5 (1 << 4) |
Definition at line 42 of file opregion.h.
#define IGD_OPREGION_SIGNATURE "IntelGraphicsMem" |
Definition at line 36 of file opregion.h.
#define IGD_PFIT_STRETCH 6 |
Definition at line 164 of file opregion.h.
#define IGD_WORD_FIELD_VALID (1 << 15) |
Definition at line 163 of file opregion.h.
Definition at line 46 of file opregion.h.
#define MAILBOXES_MOBILE |
Definition at line 44 of file opregion.h.
#define OPROM_SIGNATURE 0xaa55 |
Definition at line 198 of file opregion.h.
#define SBIOS_VERSION_SIZE 32 |
Definition at line 48 of file opregion.h.
Definition at line 14 of file opregion.h.
#define SWSCI 0xe8 /* SWSCI Register */ |
Definition at line 11 of file opregion.h.
#define SWSMISCI 0xe0 /* SWSMISCI Register */ |
Definition at line 12 of file opregion.h.
Definition at line 290 of file opregion.c.
References header, memcpy(), and uses_relative_vbt_addr().
Referenced by gfx_init(), gma_func0_init(), gma_init(), and igd_init().
Definition at line 25 of file opregion.c.
References BIOS_ERR, BIOS_INFO, cbfs_load(), mainboard_vbt_filename(), memcpy(), NULL, printk, vbt_data, vbt_data_sz, and VBT_SIGNATURE.
Referenced by load_vbt(), and vbt_get().
const char* mainboard_vbt_filename | ( | void | ) |
Definition at line 17 of file opregion.c.
References ADL_M_LP4, ADL_M_LP5, ADL_P_DDR5_1, ADL_P_DDR5_2, ADL_P_LP5_1, ADL_P_LP5_2, BIOS_DEBUG, CONFIG, eeprom_bmc_settings::efp3_displayport, FW_CONFIG, fw_config_probe(), get_blc_pwm_freq_value(), get_bmc_settings(), get_board_id(), google_chromeec_get_board_sku(), NULL, printk, blc_pwm_t::pwm_freq, SKU_0_AKALI, SKU_0_AKALI360, SKU_0_ASTRONAUT, SKU_0_BARD, SKU_0_PANTHEON, SKU_0_VAYNE, SKU_13_EPAULETTE, SKU_14_EPAULETTE, SKU_15_EPAULETTE, SKU_160_NASHER, SKU_161_NASHER, SKU_162_NASHER, SKU_163_NASHER360, SKU_164_NASHER360, SKU_165_NASHER360, SKU_166_NASHER360, SKU_16_EPAULETTE, SKU_19_HDMI_TS, SKU_1_AKALI, SKU_1_AKALI360, SKU_1_ASTRONAUT, SKU_1_BARD, SKU_1_PANTHEON, SKU_1_VAYNE, SKU_255_UNPROVISIONED, SKU_28_RABBID_RUGGED, SKU_2_BARD, SKU_2_PANTHEON, SKU_2_SANTA, SKU_2_VAYNE, SKU_30_BABYTIGER, SKU_33_BABYTIGER, SKU_33_BLOOG, SKU_33_DORP, SKU_34_BLOOG, SKU_34_DORP, SKU_35_BLOOG, SKU_35_DORP, SKU_36_BLOOG, SKU_36_DORP, SKU_3_BARD, SKU_3_PANTHEON, SKU_3_SANTA, SKU_49_2A2C_TS, SKU_49_VORTININJA, SKU_4_BARD, SKU_4_PANTHEON, SKU_50_HDMI, SKU_50_VORTININJA, SKU_51_2A2C, SKU_51_VORTININJA, SKU_52_BABYMEGA, SKU_52_HDMI_TS, SKU_52_VORTININJA, SKU_53_BABYMEGA, SKU_5_BARD, SKU_65_VORTICON, SKU_66_VORTICON, SKU_6_BARD, SKU_7_BARD, SKU_9_HDMI, sku_id(), and variant_board_sku().
Referenced by locate_vbt().