xemu/hw/openrisc
Sebastian Macke d51552176a openrisc-timer: Reduce overhead, Separate clock update functions
The clock value is only evaluated when really necessary reducing
the overhead of the timer handling.

This also solves a problem in the way the Linux kernel
handles the timer and the expected accuracy.
The old version could lead to inaccurate timings.

Signed-off-by: Sebastian Macke <sebastian@macke.de>
Reviewed-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Jia Liu <proljc@gmail.com>
2013-11-20 21:46:45 +08:00
..
cputimer.c openrisc-timer: Reduce overhead, Separate clock update functions 2013-11-20 21:46:45 +08:00
Makefile.objs hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
openrisc_sim.c pc,pci,virtio fixes and cleanups 2013-09-03 12:31:07 -05:00
pic_cpu.c hw/openrisc: Avoid undefined shift in openrisc_pic_cpu_handler() 2013-08-21 09:31:42 +08:00