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

Go to the source code of this file.

Functions

static void ioapic_init (struct device *dev)
 
static void ioapic_read_resources (struct device *dev)
 
static void enable_dev (struct device *dev)
 

Variables

static struct device_operations ioapic_operations
 
struct chip_operations drivers_generic_ioapic_ops
 

Function Documentation

◆ enable_dev()

static void enable_dev ( struct device dev)
static

Definition at line 34 of file ioapic.c.

◆ ioapic_init()

static void ioapic_init ( struct device dev)
static

Definition at line 7 of file ioapic.c.

References device::chip_info, config, device::enabled, and setup_ioapic().

Here is the call graph for this function:

◆ ioapic_read_resources()

static void ioapic_read_resources ( struct device dev)
static

Definition at line 17 of file ioapic.c.

Variable Documentation

◆ drivers_generic_ioapic_ops

struct chip_operations drivers_generic_ioapic_ops
Initial value:
= {
.enable_dev = enable_dev,
}
static void enable_dev(struct device *dev)
Definition: ioapic.c:34

Definition at line 34 of file ioapic.c.

◆ ioapic_operations

struct device_operations ioapic_operations
static
Initial value:
= {
.read_resources = ioapic_read_resources,
.set_resources = noop_set_resources,
.init = ioapic_init,
}
static void ioapic_read_resources(struct device *dev)
Definition: ioapic.c:17
static void ioapic_init(struct device *dev)
Definition: ioapic.c:7
static void noop_set_resources(struct device *dev)
Definition: device.h:74

Definition at line 17 of file ioapic.c.