![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | monotonic_counter |
Macros | |
#define | TB_TICKS_PER_USEC 512 |
Functions | |
__weak void | init_timer (void) |
void | timer_monotonic_get (struct mono_time *mt) |
Variables | |
static struct monotonic_counter | mono_counter |
#define TB_TICKS_PER_USEC 512 |
Definition at line 10 of file arch_timer.c.
int init_timer | ( | void | ) |
Definition at line 12 of file arch_timer.c.
Referenced by bootblock_main(), and main().
Definition at line 20 of file arch_timer.c.
References monotonic_counter::initialized, monotonic_counter::last_value, mono_counter, mono_time_add_usecs(), read_spr(), SPR_TB, TB_TICKS_PER_USEC, and monotonic_counter::time.
|
static |
Referenced by timer_monotonic_get().