When determining whether we trapped while in the PROM don't only

check for addresses below the PROM range but also those above.
This commit is contained in:
Marius Strobl 2008-09-04 21:06:09 +00:00
parent e5858aa9d5
commit 74e73c7cc2

View File

@ -2738,6 +2738,10 @@ ENTRY(tl1_ret)
cmp %l1, %l5
bl,a,pt %xcc, 1f
nop
set VM_MAX_PROM_ADDRESS, %l5
cmp %l1, %l5
bg,a,pt %xcc, 1f
nop
wrpr %g0, PSTATE_NORMAL, %pstate