summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-21 11:28:46 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-21 11:28:46 +0000
commit21df6c6399d1b7305316792903567d6b0d7ee0bc (patch)
tree824bf571e3bad076986e5144f6834ffd032d77f1 /monitor.c
parent2f81451699025894639f8f962ff8640f89b83b17 (diff)
downloadqemu-21df6c6399d1b7305316792903567d6b0d7ee0bc.tar.gz
qemu-21df6c6399d1b7305316792903567d6b0d7ee0bc.tar.bz2
qemu-21df6c6399d1b7305316792903567d6b0d7ee0bc.zip
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 <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5500 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 4d7c782bca..f0a0bc3221 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)