disabling MMU on UltraSPARC
Posted: Fri Jul 28, 2006 9:57 am
Hi,
does anyone have any idea what steps are required to survive clearing the IM bit in the LSU register on UltraSPARC II/IIi? The code is running from identity-mapped virtual memory and the membar #Synch instruction is issued after the write to that register.
When I run it in a simulator (Simics), everything is ok. However when the same piece of code is run on a real Ultra 5 with UltraSPARC IIi, it never makes it past the write to the LSU register. My guess is that a trap is received...
And yes, interrupts are disabled in the PSTATE register.
Thanks,
Jakub
does anyone have any idea what steps are required to survive clearing the IM bit in the LSU register on UltraSPARC II/IIi? The code is running from identity-mapped virtual memory and the membar #Synch instruction is issued after the write to that register.
When I run it in a simulator (Simics), everything is ok. However when the same piece of code is run on a real Ultra 5 with UltraSPARC IIi, it never makes it past the write to the LSU register. My guess is that a trap is received...
And yes, interrupts are disabled in the PSTATE register.
Thanks,
Jakub