OpenCores
no use no use 1/1 no use no use
If mmu was enabled and exception occured. what is the current cpu' address?,
by hwmin75 on Dec 19, 2011
hwmin75
Posts: 20
Joined: Mar 8, 2010
Last seen: Jul 21, 2018
Hello
I'm reading openrisc linux code related to MMU
and i have a question for the following

If mmu was enabled and exception occured.
what is the current cpu' address?,
for example. if interrupt is interrupt ?
Is cpu address is 0x0000_0x800 or 0xC000_8000 in this time ?


I can't see mmu mapping table for exception vector table in linux kernel code.
otherwis, It is possible I can't find this mapping table.
Thank you.
RE: If mmu was enabled and exception occured. what is the current cpu' address?,
by hwmin75 on Dec 19, 2011
hwmin75
Posts: 20
Joined: Mar 8, 2010
Last seen: Jul 21, 2018
I found mmu is disable in exception status.
I read SPR_SR register when external irq occured in running linux.
Context of SPR_SR was 0x8619. and IMMU and DMMU wasn't enabled.
and I could conclude that MMU isn't enable when exception occure.
however, This information can't be found in the openrisc manual.
no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.