1 INTERFACE [arm && realview]:
6 EXTENSION class Clock_base
10 SYS_24MHZ = Kmem::System_regs_map_base + 0x5c,
13 typedef Mword Counter;
16 // --------------------------------------------------------------
17 IMPLEMENTATION [arm && realview]:
22 IMPLEMENT inline NEEDS["io.h", <cstdio>]
24 Clock::read_counter() const
26 return Io::read<Mword>(SYS_24MHZ);