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.
static userptr_t size_t offset
Offset of the first segment within the content.
8254 Programmable Interval Timer
__asm__ __volatile__("\n1:\n\t" "movb -1(%3,%1), %%al\n\t" "stosb\n\t" "loop 1b\n\t" "xorl %%eax, %%eax\n\t" "mov %4, %1\n\t" "rep stosb\n\t" :"=&D"(discard_D), "=&c"(discard_c), "+m"(*value) :"r"(data), "g"(pad_len), "0"(value0), "1"(len) :"eax")
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")
#define TIMER_NORMAL
Normal timer.