From 3d7b417e13152587df587fe58789740c3ef7abb9 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Tue, 21 Oct 2008 11:28:46 +0000 Subject: target-ppc: Convert XER accesses to TCG Define XER bits as a single register and access them individually to avoid defining 5 32-bit registers (TCG doesn't permit to map 8-bit registers). Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5500 c046a42c-6fe2-441c-8c8c-71466251a162 --- monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 4d7c782..f0a0bc3 100644 --- a/monitor.c +++ b/monitor.c @@ -1582,7 +1582,7 @@ static target_long monitor_get_xer (const struct MonitorDef *md, int val) CPUState *env = mon_get_cpu(); if (!env) return 0; - return ppc_load_xer(env); + return env->xer; } static target_long monitor_get_decr (const struct MonitorDef *md, int val) -- cgit v1.1