42 #define BIOS_TICKS_PER_DAY 0x1800b0 45 #define TICKS_PER_BIOS_TICK \ 46 ( ( TICKS_PER_SEC * 60 * 60 * 24 ) / BIOS_TICKS_PER_DAY ) 88 .udelay = pit8254_udelay,
#define TICKS_PER_BIOS_TICK
Number of ticks per BIOS tick.
#define BIOS_TICKS_PER_DAY
Number of ticks per day.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
static unsigned long bios_currticks(void)
Get current system time in ticks.
8254 Programmable Interval Timer
__asm__ __volatile__("call *%9" :"=a"(result), "=c"(discard_ecx), "=d"(discard_edx) :"d"(0), "a"(code), "b"(0), "c"(in_phys), "D"(0), "S"(out_phys), "m"(hypercall))
struct timer bios_timer __timer(TIMER_NORMAL)
BIOS timer.
__asm__(".section \".rodata\", \"a\", " PROGBITS "\n\t" "\nprivate_key_data:\n\t" ".size private_key_data, ( . - private_key_data )\n\t" ".equ private_key_len, ( . - private_key_data )\n\t" ".previous\n\t")
uint16_t offset
Offset to command line.
#define TIMER_NORMAL
Normal timer.