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:
parent
56ba31ff0b
commit
1e6784f960
|
@ -2302,13 +2302,13 @@ static always_inline void powerpc_excp (CPUState *env,
|
||||||
const unsigned char *es;
|
const unsigned char *es;
|
||||||
target_ulong *miss, *cmp;
|
target_ulong *miss, *cmp;
|
||||||
int en;
|
int en;
|
||||||
if (excp == 0x1000) {
|
if (excp == POWERPC_EXCP_IFTLB) {
|
||||||
es = "I";
|
es = "I";
|
||||||
en = 'I';
|
en = 'I';
|
||||||
miss = &env->spr[SPR_IMISS];
|
miss = &env->spr[SPR_IMISS];
|
||||||
cmp = &env->spr[SPR_ICMP];
|
cmp = &env->spr[SPR_ICMP];
|
||||||
} else {
|
} else {
|
||||||
if (excp == 0x1100)
|
if (excp == POWERPC_EXCP_DLTLB)
|
||||||
es = "DL";
|
es = "DL";
|
||||||
else
|
else
|
||||||
es = "DS";
|
es = "DS";
|
||||||
|
|
Loading…
Reference in a new issue