diff options
author | marius <marius@FreeBSD.org> | 2008-09-04 21:06:09 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2008-09-04 21:06:09 +0000 |
commit | 94d646b8ea15b31bdc8fc64011c07c9a61a06557 (patch) | |
tree | 5ba512d69f4962cc565984144fd60177484bb4ad /sys/sparc64 | |
parent | 4f69477c32bf9f7797910367d4f1ced088c71297 (diff) | |
download | FreeBSD-src-94d646b8ea15b31bdc8fc64011c07c9a61a06557.zip FreeBSD-src-94d646b8ea15b31bdc8fc64011c07c9a61a06557.tar.gz |
When determining whether we trapped while in the PROM don't only
check for addresses below the PROM range but also those above.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/exception.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sparc64/sparc64/exception.S b/sys/sparc64/sparc64/exception.S index b02bbac..1e097e9 100644 --- a/sys/sparc64/sparc64/exception.S +++ b/sys/sparc64/sparc64/exception.S @@ -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 |