coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
vbt.c File Reference
#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"
Include dependency graph for vbt.c:

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)
 

Function Documentation

◆ generate_fake_intel_oprom()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generate_vbt()