![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <console/console.h>
#include <pc80/mc146818rtc.h>
#include <fallback.h>
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) |
|
static |
Definition at line 12 of file mc146818rtc_boot.c.
Referenced by do_normal_boot().
Definition at line 22 of file mc146818rtc_boot.c.
References RTC_BOOT_NORMAL.
Referenced by do_normal_boot().
|
static |
Definition at line 27 of file mc146818rtc_boot.c.
References RTC_BOOT_NORMAL.
Referenced by do_normal_boot().
int do_normal_boot | ( | void | ) |
Definition at line 32 of file mc146818rtc_boot.c.
References BIOS_WARNING, boot_count(), boot_set_fallback(), boot_use_normal(), cmos_error(), cmos_lb_cks_valid(), cmos_read(), cmos_write(), CONFIG, increment_boot_count(), printk, and RTC_BOOT_BYTE.
Definition at line 17 of file mc146818rtc_boot.c.
Referenced by do_normal_boot().