coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
reset.h File Reference
#include <console/console.h>
#include <arch/cache.h>
#include <halt.h>
Include dependency graph for reset.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void do_warm_reset (void)
 
void do_cold_reset (void)
 
void set_warm_reset_flag (void)
 
int is_warm_reset (void)
 
static __noreturn void warm_reset (void)
 
static __noreturn void cold_reset (void)
 

Function Documentation

◆ cold_reset()

static __noreturn void cold_reset ( void  )
inlinestatic

Definition at line 23 of file reset.h.

References BIOS_INFO, dcache_clean_all(), do_cold_reset(), halt(), and printk.

Referenced by agesa_Reset().

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

◆ do_cold_reset()

void do_cold_reset ( void  )

Definition at line 10 of file reset.c.

References clear_bios_reset(), outb(), pm_read16(), pm_write16(), PWR_RESET_CFG, RST_CNT, RST_CPU, SYS_RST, and TOGGLE_ALL_PWR_GOOD.

Referenced by chipset_handle_reset(), cold_reset(), and do_board_reset().

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

◆ do_warm_reset()

void do_warm_reset ( void  )

Definition at line 18 of file reset.c.

References clear_bios_reset(), outb(), pm_read16(), pm_write16(), PWR_RESET_CFG, RST_CNT, RST_CPU, set_warm_reset_flag(), SYS_RST, and TOGGLE_ALL_PWR_GOOD.

Referenced by warm_reset().

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

◆ is_warm_reset()

int is_warm_reset ( void  )

Definition at line 21 of file reset.c.

References HT_INIT_CONTROL, HTIC_COLD_RST_DET, pci_read_config32(), and SOC_HT_DEV.

Referenced by mca_skip_check().

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

◆ set_warm_reset_flag()

void set_warm_reset_flag ( void  )

Definition at line 13 of file reset.c.

References HT_INIT_CONTROL, HTIC_COLD_RST_DET, pci_read_config32(), pci_write_config32(), and SOC_HT_DEV.

Referenced by do_warm_reset(), and mp_init_cpus().

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

◆ warm_reset()

static __noreturn void warm_reset ( void  )
inlinestatic

Definition at line 15 of file reset.h.

References BIOS_INFO, dcache_clean_all(), do_warm_reset(), halt(), and printk.

Referenced by agesa_Reset(), bootblock_fch_early_init(), and verify_psp_transfer_buf().

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