Statistics
| Branch: | Revision:

root / target-openrisc / sys_helper.c @ feature-archipelago

History | View | Annotate | Download (8.4 kB)

# Date Author Comment
93147a18 11/20/2013 03:47 pm Sebastian Macke

target-openrisc: Correct memory bounds checking for the tlb buffers

The mtspr and mfspr routines didn't check for the correct memory boundaries.
This fixes a segmentation fault while booting Linux.

Signed-off-by: Sebastian Macke <>
Reviewed-by: Jia Liu <>...

d5155217 11/20/2013 03:46 pm Sebastian Macke

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....

259186a7 03/12/2013 11:35 am Andreas Färber

cpu: Move halted and interrupt_request fields to CPUState

Both fields are used in VMState, thus need to be moved together.
Explicitly zero them on reset since they were located before
breakpoints.

Pass PowerPCCPU to kvmppc_handle_halt().

Signed-off-by: Andreas Färber <>

dd51dc52 01/27/2013 03:34 pm Andreas Färber

target-openrisc: Clean up triple QOM casts

Instead of calling openrisc_env_get_cpu(), casting to CPU via the
ENV_GET_CPU() compatibility macro and casting back to OPENRISC_CPU(),
just call openrisc_env_get_cpu() directly.

ENV_GET_CPU() is meant as workaround for target-independent code only....

4dd044c6 07/28/2012 12:13 am Jia Liu

target-or32: Add system instructions

Add OpenRISC system instructions.

Signed-off-by: Jia Liu <>
Signed-off-by: Blue Swirl <>