Skip to content
Snippets Groups Projects
Commit 12eaa328 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Use ASI_SCRATCHPAD address 0x0 properly.


This is where the virtual address of the fault status
area belongs.

To set it up we don't make a hypervisor call, instead
we call OBP's SUNW,set-trap-table with the real address
of the fault status area as the second argument.  And
right before that call we write the virtual address into
ASI_SCRATCHPAD vaddr 0x0.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 18397944
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment