fixed bug in determining if access error hit in TLB (checked bit 0 instead of 1).
This commit is contained in:
@@ -404,7 +404,7 @@ bool access_exception(uint32_t pc, uint32_t format_status)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MCF_MMU_MMUSR & 1) /* did the last fault hit in TLB? */
|
if (MCF_MMU_MMUSR & 2) /* did the last fault hit in TLB? */
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* if yes, then we already mapped that page during a previous turn and this is in fact a bus error
|
* if yes, then we already mapped that page during a previous turn and this is in fact a bus error
|
||||||
|
|||||||
Reference in New Issue
Block a user