18#ifndef __LIBARCH_ARM_BROADCOMTIMER_H
19#define __LIBARCH_ARM_BROADCOMTIMER_H
37#define SYSTIMER_BASE 0x3000
39#define SYSTIMER_CS (SYSTIMER_BASE + 0x0)
40#define SYSTIMER_CLO (SYSTIMER_BASE + 0x4)
43#define SYSTIMER_C0 (SYSTIMER_BASE + 0xC)
44#define SYSTIMER_C1 (SYSTIMER_BASE + 0x10)
47#define SYSTIMER_C2 (SYSTIMER_BASE + 0x14)
48#define SYSTIMER_C3 (SYSTIMER_BASE + 0x18)
55#define BCM_SYSTIMER_FREQ 1000000
Input/Output operations specific to the ARM architecture.
Broadcom System-on-Chip system timer.
virtual Result tick()
Process timer tick.
u32 m_cycles
Number of internal cycles needed to provide the current timer frequency.
virtual Result setFrequency(Size hertz)
Set timer frequency.
Represents a configurable timer device.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.