summaryrefslogtreecommitdiffstats
path: root/target-openrisc/sys_helper.c
Commit message (Collapse)AuthorAgeFilesLines
* cpu: Move halted and interrupt_request fields to CPUStateAndreas Färber2013-03-121-1/+2
| | | | | | | | | | 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 <afaerber@suse.de>
* target-openrisc: Clean up triple QOM castsAndreas Färber2013-01-271-2/+2
| | | | | | | | | | 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. Signed-off-by: Andreas Färber <afaerber@suse.de>
* target-or32: Add system instructionsJia Liu2012-07-271-0/+287
Add OpenRISC system instructions. Signed-off-by: Jia Liu <proljc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
OpenPOWER on IntegriCloud