More typos! I need to get nfs to work.
--HG-- extra : convert_revision : f5693e96d376254f777fb0cce7b5be3d36efbea9
This commit is contained in:
parent
1dd903e856
commit
1543c3d0a1
|
@ -748,6 +748,7 @@ decode OPCODE default Unknown::unknown() {
|
||||||
int miscRegIndex = (ipr_index < NumInternalProcRegs) ?
|
int miscRegIndex = (ipr_index < NumInternalProcRegs) ?
|
||||||
IprToMiscRegIndex[ipr_index] : -1;
|
IprToMiscRegIndex[ipr_index] : -1;
|
||||||
if(miscRegIndex < 0 || !IprIsReadable(miscRegIndex) ||
|
if(miscRegIndex < 0 || !IprIsReadable(miscRegIndex) ||
|
||||||
|
miscRegIndex >= NumInternalProcRegs)
|
||||||
fault = new UnimplementedOpcodeFault;
|
fault = new UnimplementedOpcodeFault;
|
||||||
else
|
else
|
||||||
Ra = xc->readMiscRegWithEffect(miscRegIndex, fault);
|
Ra = xc->readMiscRegWithEffect(miscRegIndex, fault);
|
||||||
|
@ -761,7 +762,8 @@ decode OPCODE default Unknown::unknown() {
|
||||||
1: hw_mtpr({{
|
1: hw_mtpr({{
|
||||||
int miscRegIndex = (ipr_index < NumInternalProcRegs) ?
|
int miscRegIndex = (ipr_index < NumInternalProcRegs) ?
|
||||||
IprToMiscRegIndex[ipr_index] : -1;
|
IprToMiscRegIndex[ipr_index] : -1;
|
||||||
if(miscRegIndex < 0 || !IprIsWritable(miscRegIndex))
|
if(miscRegIndex < 0 || !IprIsWritable(miscRegIndex)
|
||||||
|
miscRegIndex >= NumInternalProcRegs)
|
||||||
fault = new UnimplementedOpcodeFault;
|
fault = new UnimplementedOpcodeFault;
|
||||||
else
|
else
|
||||||
xc->setMiscRegWithEffect(miscRegIndex, Ra);
|
xc->setMiscRegWithEffect(miscRegIndex, Ra);
|
||||||
|
|
Loading…
Reference in a new issue