coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mainboard.c File Reference
#include <console/console.h>
#include <device/device.h>
#include <arch/io.h>
#include <drivers/intel/gma/int15.h>
#include <ec/acpi/ec.h>
#include "m3885.h"
Include dependency graph for mainboard.c:

Go to the source code of this file.

Macros

#define DUMP_RUNTIME_REGISTERS   0
 

Functions

static void backlight_enable (void)
 
static void mainboard_final (struct device *dev)
 
static void mainboard_enable (struct device *dev)
 

Variables

struct chip_operations mainboard_ops
 

Macro Definition Documentation

◆ DUMP_RUNTIME_REGISTERS

#define DUMP_RUNTIME_REGISTERS   0

Definition at line 11 of file mainboard.c.

Function Documentation

◆ backlight_enable()

static void backlight_enable ( void  )
static

Definition at line 13 of file mainboard.c.

References BIOS_DEBUG, inb(), and printk.

Referenced by mainboard_enable().

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

◆ mainboard_enable()

static void mainboard_enable ( struct device dev)
static

◆ mainboard_final()

static void mainboard_final ( struct device dev)
static

Definition at line 33 of file mainboard.c.

References BIOS_DEBUG, inb(), outb(), and printk.

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:40

Definition at line 40 of file mainboard.c.