coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c File Reference
#include <stdint.h>
#include <arch/bootblock.h>
#include <device/pci_ops.h>
#include <device/pci_ids.h>
#include <device/pci_type.h>
#include "i82371eb.h"
Include dependency graph for bootblock.c:

Go to the source code of this file.

Macros

#define PCI_ID(VENDOR_ID, DEVICE_ID)    ((((DEVICE_ID) & 0xFFFF) << 16) | ((VENDOR_ID) & 0xFFFF))
 

Functions

static pci_devfn_t pci_locate_device (unsigned int pci_id, pci_devfn_t dev)
 
void bootblock_early_southbridge_init (void)
 

Macro Definition Documentation

◆ PCI_ID

#define PCI_ID (   VENDOR_ID,
  DEVICE_ID 
)     ((((DEVICE_ID) & 0xFFFF) << 16) | ((VENDOR_ID) & 0xFFFF))

Definition at line 10 of file bootblock.c.

Function Documentation

◆ bootblock_early_southbridge_init()

◆ pci_locate_device()

static pci_devfn_t pci_locate_device ( unsigned int  pci_id,
pci_devfn_t  dev 
)
static

Definition at line 13 of file bootblock.c.

References PCI_DEV, PCI_DEV_INVALID, and pci_read_config32().

Referenced by bootblock_early_southbridge_init().

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