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

Go to the source code of this file.

Macros

#define __SIMPLE_DEVICE__
 
#define HT_INIT_CONTROL   0x6c
 
#define HTIC_ColdR_Detect   (1<<4)
 
#define HTIC_BIOSR_Detect   (1<<5)
 
#define HTIC_INIT_Detect   (1<<6)
 

Functions

void cf9_reset_prepare (void)
 
void do_board_reset (void)
 

Macro Definition Documentation

◆ __SIMPLE_DEVICE__

#define __SIMPLE_DEVICE__

Definition at line 4 of file reset.c.

◆ HT_INIT_CONTROL

#define HT_INIT_CONTROL   0x6c

Definition at line 10 of file reset.c.

◆ HTIC_BIOSR_Detect

#define HTIC_BIOSR_Detect   (1<<5)

Definition at line 12 of file reset.c.

◆ HTIC_ColdR_Detect

#define HTIC_ColdR_Detect   (1<<4)

Definition at line 11 of file reset.c.

◆ HTIC_INIT_Detect

#define HTIC_INIT_Detect   (1<<6)

Definition at line 13 of file reset.c.

Function Documentation

◆ cf9_reset_prepare()

void cf9_reset_prepare ( void  )

Definition at line 15 of file reset.c.

References HT_INIT_CONTROL, HTIC_BIOSR_Detect, PCI_DEV, pci_s_read_config32(), and pci_s_write_config32().

Here is the call graph for this function:

◆ do_board_reset()

void do_board_reset ( void  )

Definition at line 23 of file reset.c.

References system_reset().

Here is the call graph for this function: