summaryrefslogtreecommitdiff
path: root/target-openrisc/exception_helper.c
AgeCommit message (Collapse)AuthorFilesLines
2013-01-27target-openrisc: Clean up triple QOM castsAndreas Färber1-1/+1
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>
2012-07-27target-or32: Add exception supportJia Liu1-0/+29
Add OpenRISC exception support. Signed-off-by: Jia Liu <proljc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>