sim-card
/
qemu
Archived
10
0
Fork 0

Fix PowerPC TLB miss dump code.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3295 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
j_mayer 2007-09-30 15:19:48 +00:00
parent 56ba31ff0b
commit 1e6784f960
1 changed files with 2 additions and 2 deletions

View File

@ -2302,13 +2302,13 @@ static always_inline void powerpc_excp (CPUState *env,
const unsigned char *es;
target_ulong *miss, *cmp;
int en;
if (excp == 0x1000) {
if (excp == POWERPC_EXCP_IFTLB) {
es = "I";
en = 'I';
miss = &env->spr[SPR_IMISS];
cmp = &env->spr[SPR_ICMP];
} else {
if (excp == 0x1100)
if (excp == POWERPC_EXCP_DLTLB)
es = "DL";
else
es = "DS";