coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/pci_ops.h>
#include <device/device.h>
#include <string.h>
#include <device/pci.h>
#include <drivers/intel/gma/opregion.h>
#include "i915.h"
#include "intel_bios.h"
Go to the source code of this file.
Functions | |
static size_t | generate_vbt (const struct i915_gpu_controller_info *const conf, struct vbt_header *const head, const char *const idstr) |
void | generate_fake_intel_oprom (const struct i915_gpu_controller_info *const conf, struct device *const dev, const char *const idstr) |
void generate_fake_intel_oprom | ( | const struct i915_gpu_controller_info *const | conf, |
struct device *const | dev, | ||
const char *const | idstr | ||
) |
Definition at line 62 of file vbt.c.
References device::class, device::device, DIV_ROUND_UP, generate_vbt(), memset(), PCI_CLASS_REVISION, pci_read_config8(), PCI_ROM_HDR, PCI_VGA_RAM_IMAGE_START, and device::vendor.
Referenced by gma_func0_init(), and gma_ngi().
|
static |
Definition at line 12 of file vbt.c.
References BDB_GENERAL_FEATURES, vbt_header::bdb_offset, bdb_header::bdb_size, CONFIG, bdb_general_features::download_ext_vbt, bdb_general_features::dp_ssc_enb, bdb_general_features::enable_ssc, bdb_general_features::flexaim, vbt_header::header_size, bdb_header::header_size, bdb_general_features::int_crt_support, bdb_general_features::legacy_monitor_detect, memcpy(), memset(), MIN, bdb_general_features::panel_fitting, bdb_general_features::rsvd10, bdb_header::signature, vbt_header::signature, bdb_general_features::ssc_freq, strlen(), i915_gpu_controller_info::use_spread_spectrum_clock, vbt_header::vbt_checksum, vbt_header::vbt_size, vbt_header::version, and bdb_header::version.
Referenced by generate_fake_intel_oprom().