coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
northbridge.c File Reference
#include <console/console.h>
#include <device/pci_ops.h>
#include <device/device.h>
#include <device/pci.h>
#include <cpu/cpu.h>
#include "e7505.h"
Include dependency graph for northbridge.c:

Go to the source code of this file.

Functions

static void mch_domain_read_resources (struct device *dev)
 
static void mch_domain_set_resources (struct device *dev)
 
static void cpu_bus_init (struct device *dev)
 
static void enable_dev (struct device *dev)
 

Variables

static struct device_operations pci_domain_ops
 
static struct device_operations cpu_bus_ops
 
struct chip_operations northbridge_intel_e7505_ops
 

Function Documentation

◆ cpu_bus_init()

static void cpu_bus_init ( struct device dev)
static

Definition at line 64 of file northbridge.c.

References initialize_cpus(), and device::link_list.

Here is the call graph for this function:

◆ enable_dev()

static void enable_dev ( struct device dev)
static

◆ mch_domain_read_resources()

static void mch_domain_read_resources ( struct device dev)
static

Definition at line 11 of file northbridge.c.

References die(), DRB_ROW_7, GiB, KiB, mmio_resource, pci_domain_read_resources(), pci_read_config16(), pci_read_config8(), pcidev_on_root(), ram_resource, REMAPBASE, REMAPLIMIT, and TOLM.

Here is the call graph for this function:

◆ mch_domain_set_resources()

static void mch_domain_set_resources ( struct device dev)
static

Definition at line 52 of file northbridge.c.

References assign_resources(), and device::link_list.

Here is the call graph for this function:

Variable Documentation

◆ cpu_bus_ops

struct device_operations cpu_bus_ops
static
Initial value:
= {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
.init = cpu_bus_init,
}
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
Definition: device.h:73
static void noop_set_resources(struct device *dev)
Definition: device.h:74
static void cpu_bus_init(struct device *dev)
Definition: northbridge.c:64

Definition at line 64 of file northbridge.c.

Referenced by enable_dev().

◆ northbridge_intel_e7505_ops

struct chip_operations northbridge_intel_e7505_ops
Initial value:
= {
.enable_dev = enable_dev,
}
static void enable_dev(struct device *dev)
Definition: northbridge.c:75

Definition at line 75 of file northbridge.c.

◆ pci_domain_ops

struct device_operations pci_domain_ops
static
Initial value:
= {
.read_resources = mch_domain_read_resources,
.set_resources = mch_domain_set_resources,
.scan_bus = pci_domain_scan_bus,
.ops_pci = &pci_dev_ops_pci,
}
static void mch_domain_set_resources(struct device *dev)
Definition: northbridge.c:52
static void mch_domain_read_resources(struct device *dev)
Definition: northbridge.c:11
struct pci_operations pci_dev_ops_pci
Default device operation for PCI devices.
Definition: pci_device.c:911
void pci_domain_scan_bus(struct device *dev)
Scan a PCI domain.
Definition: pci_device.c:1610

Definition at line 52 of file northbridge.c.

Referenced by enable_dev().