qemu/target-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
..
cpu.c cpu: Drop cpu_model_str from CPU_COMMON 2013-10-07 11:48:47 +02:00
cpu.h openrisc-timer: Reduce overhead, Separate clock update functions 2013-11-20 21:46:45 +08:00
exception_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
exception.c target-or32: Add exception support 2012-07-27 21:12:58 +00:00
exception.h target-or32: Add exception support 2012-07-27 21:12:58 +00:00
fpu_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.h exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
int_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
interrupt_helper.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
interrupt.c target-openrisc: Correct wrong epcr register in interrupt handler 2013-11-20 21:45:42 +08:00
machine.c target-openrisc: Register VMStateDescription for OpenRISCCPU 2013-06-28 13:25:12 +02:00
Makefile.objs cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
mmu_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
mmu.c target-openrisc: Remove executable flag for every page 2013-11-20 21:44:43 +08:00
sys_helper.c openrisc-timer: Reduce overhead, Separate clock update functions 2013-11-20 21:46:45 +08:00
translate.c target-openrisc: Remove unnecessary code generated by jump instructions 2013-11-20 21:43:38 +08:00