type fixed
This commit is contained in:
parent
67ac2f8b04
commit
8002f6b129
|
@ -195,13 +195,13 @@ u32 armcpu_prefetch(armcpu_t *armcpu)
|
||||||
{
|
{
|
||||||
if(armcpu->CPSR.bits.T == 0)
|
if(armcpu->CPSR.bits.T == 0)
|
||||||
{
|
{
|
||||||
armcpu->instruction = MMU_readWordACL(armcpu->proc_ID, armcpu->next_instruction,ACCESS_EXECUTION);
|
armcpu->instruction = MMU_readWordACL(armcpu->proc_ID, armcpu->next_instruction,CP15_ACCESS_EXECUTE);
|
||||||
armcpu->instruct_adr = armcpu->next_instruction;
|
armcpu->instruct_adr = armcpu->next_instruction;
|
||||||
armcpu->next_instruction += 4;
|
armcpu->next_instruction += 4;
|
||||||
armcpu->R[15] = armcpu->next_instruction + 4;
|
armcpu->R[15] = armcpu->next_instruction + 4;
|
||||||
return MMU.MMU_WAIT32[armcpu->proc_ID][(armcpu->instruct_adr>>24)&0xF];
|
return MMU.MMU_WAIT32[armcpu->proc_ID][(armcpu->instruct_adr>>24)&0xF];
|
||||||
}
|
}
|
||||||
armcpu->instruction = MMU_readHWordACL(armcpu->proc_ID, armcpu->next_instruction,ACCESS_EXECUTION);
|
armcpu->instruction = MMU_readHWordACL(armcpu->proc_ID, armcpu->next_instruction,CP15_ACCESS_EXECUTE);
|
||||||
armcpu->instruct_adr = armcpu->next_instruction;
|
armcpu->instruct_adr = armcpu->next_instruction;
|
||||||
armcpu->next_instruction = armcpu->next_instruction + 2;
|
armcpu->next_instruction = armcpu->next_instruction + 2;
|
||||||
armcpu->R[15] = armcpu->next_instruction + 2;
|
armcpu->R[15] = armcpu->next_instruction + 2;
|
||||||
|
|
Loading…
Reference in New Issue