coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
northcluster.c File Reference
#include <acpi/acpi.h>
#include <acpi/acpigen.h>
#include <cbmem.h>
#include <cpu/x86/smm.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <cpu/x86/lapic_def.h>
#include <fsp/util.h>
#include <soc/iomap.h>
#include <soc/iosf.h>
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
#include <stddef.h>
Include dependency graph for northcluster.c:

Go to the source code of this file.

Macros

#define RES_IN_KiB(r)   ((r) >> 10)
 

Functions

uint32_t nc_read_top_of_low_memory (void)
 
static void nc_read_resources (struct device *dev)
 
static void nc_generate_ssdt (const struct device *dev)
 

Variables

static struct device_operations nc_ops
 
static const struct pci_driver nc_driver __pci_driver
 

Macro Definition Documentation

◆ RES_IN_KiB

#define RES_IN_KiB (   r)    ((r) >> 10)

Definition at line 54 of file northcluster.c.

Function Documentation

◆ nc_generate_ssdt()

static void nc_generate_ssdt ( const struct device dev)
static

Definition at line 149 of file northcluster.c.

◆ nc_read_resources()

◆ nc_read_top_of_low_memory()

uint32_t nc_read_top_of_low_memory ( void  )

Definition at line 56 of file northcluster.c.

References BUNIT_BMBOUND, and iosf_bunit_read().

Here is the call graph for this function:

Variable Documentation

◆ __pci_driver

const struct pci_driver nc_driver __pci_driver
static
Initial value:
= {
.ops = &nc_ops,
.vendor = PCI_VID_INTEL,
.device = SOC_DEVID,
}
static struct device_operations nc_ops
Definition: northcluster.c:158
#define PCI_VID_INTEL
Definition: pci_ids.h:2157
#define SOC_DEVID
Definition: pci_devs.h:108

Definition at line 149 of file northcluster.c.

◆ nc_ops

struct device_operations nc_ops
static
Initial value:
= {
.read_resources = nc_read_resources,
.acpi_fill_ssdt = nc_generate_ssdt,
.ops_pci = &soc_pci_ops,
}
static void nc_read_resources(struct device *dev)
Definition: northcluster.c:68
static void nc_generate_ssdt(const struct device *dev)
Definition: northcluster.c:149
struct pci_operations soc_pci_ops
Definition: chip.c:51

Definition at line 149 of file northcluster.c.