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

Go to the source code of this file.

Functions

static void mainboard_reserve_resources (struct device *dev)
 
static void mainboard_enable (struct device *dev)
 

Variables

struct chip_operations mainboard_ops
 

Function Documentation

◆ mainboard_enable()

static void mainboard_enable ( struct device dev)
static

Definition at line 27 of file mainboard.c.

References mainboard_reserve_resources().

Here is the call graph for this function:

◆ mainboard_reserve_resources()

static void mainboard_reserve_resources ( struct device dev)
static

Definition at line 8 of file mainboard.c.

References resource::base, resource::flags, IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_IRQ, new_resource(), and resource::size.

Referenced by mainboard_enable().

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

Variable Documentation

◆ mainboard_ops

struct chip_operations mainboard_ops
Initial value:
= {
.enable_dev = mainboard_enable,
}
static void mainboard_enable(struct device *dev)
Definition: mainboard.c:27

Definition at line 27 of file mainboard.c.