haiku/src/system/kernel/lib
Ithamar R. Adema ba06f07660 ARM: kernel: fix timer resolution and implement basic timekeeping.
The previously used method for programming the timer did not take
into account that our timespec is 64bit while the register we poke
it into is 32 bit. Since the PXA (SoC in Verdex target) has a limited
scale of resolution (us,ms,second) we dynamicly determine the one
that we can most closely match, and set that.

For f.ex. snooze to work however, we also need system_time to work.
The current implementation uses a system timer at microsecond
resolution to keep track of time.

Although the code is far from perfect, committing it now before
it gets lost, since I'm working on the infrastructure code
to properly factor out the SoC specific code out of the core
ARM architecture code (so the kernel can support more then
our poor old Verdex QEMU target ;))
2013-09-17 14:42:05 +02:00
..
arch ARM: kernel: fix timer resolution and implement basic timekeeping. 2013-09-17 14:42:05 +02:00
zlib 2nd attempt at fixing build of btrfs and packagefs. 2013-09-02 12:03:05 +02:00
Jamfile Merge branch 'master' into package-management 2013-05-05 15:03:26 +02:00
kernel_errno.cpp Merged the signals branch into trunk, with these changes: 2011-01-10 21:54:38 +00:00
kernel_lib.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
kernel_vsprintf.cpp Use unsigned long, not uint32, for the 'l' qualifier in printf() - long is 64-bit on x86_64. 2012-06-27 15:11:06 +01:00