coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mc146818rtc_boot.c File Reference
#include <stdint.h>
#include <console/console.h>
#include <pc80/mc146818rtc.h>
#include <fallback.h>
Include dependency graph for mc146818rtc_boot.c:

Go to the source code of this file.

Functions

static int boot_count (uint8_t rtc_byte)
 
static uint8_t increment_boot_count (uint8_t rtc_byte)
 
static uint8_t boot_set_fallback (uint8_t rtc_byte)
 
static int boot_use_normal (uint8_t rtc_byte)
 
int do_normal_boot (void)
 

Function Documentation

◆ boot_count()

static int boot_count ( uint8_t  rtc_byte)
static

Definition at line 12 of file mc146818rtc_boot.c.

Referenced by do_normal_boot().

Here is the caller graph for this function:

◆ boot_set_fallback()

static uint8_t boot_set_fallback ( uint8_t  rtc_byte)
static

Definition at line 22 of file mc146818rtc_boot.c.

References RTC_BOOT_NORMAL.

Referenced by do_normal_boot().

Here is the caller graph for this function:

◆ boot_use_normal()

static int boot_use_normal ( uint8_t  rtc_byte)
static

Definition at line 27 of file mc146818rtc_boot.c.

References RTC_BOOT_NORMAL.

Referenced by do_normal_boot().

Here is the caller graph for this function:

◆ do_normal_boot()

int do_normal_boot ( void  )

◆ increment_boot_count()

static uint8_t increment_boot_count ( uint8_t  rtc_byte)
static

Definition at line 17 of file mc146818rtc_boot.c.

Referenced by do_normal_boot().

Here is the caller graph for this function: