diff options
author | jake <jake@FreeBSD.org> | 2002-09-24 22:19:20 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-09-24 22:19:20 +0000 |
commit | 0cde9824233c92fc49126f531e196f594da3c298 (patch) | |
tree | 911c0a64483b47900cbd364ab783d0d0e7f862bc | |
parent | d376bae4569c42cfa7e3b47c3eee6e5d9cf837e1 (diff) | |
download | FreeBSD-src-0cde9824233c92fc49126f531e196f594da3c298.zip FreeBSD-src-0cde9824233c92fc49126f531e196f594da3c298.tar.gz |
Allocate stack space for the trapframe along with the normal register
frame in the save instruction, rather than doing a separate sub.
-rw-r--r-- | sys/sparc64/sparc64/exception.S | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/sparc64/sparc64/exception.S b/sys/sparc64/sparc64/exception.S index 9d54b6e..f07f970 100644 --- a/sys/sparc64/sparc64/exception.S +++ b/sys/sparc64/sparc64/exception.S @@ -1119,7 +1119,7 @@ END(tl0_sftrap) .macro tl1_split rdpr %wstate, %g1 wrpr %g1, WSTATE_NESTED, %wstate - save %sp, -CCFSZ, %sp + save %sp, -(CCFSZ + TF_SIZEOF), %sp .endm .macro tl1_setup type @@ -2737,8 +2737,6 @@ END(tl0_ret) * the outs don't need to be saved. */ ENTRY(tl1_trap) - sub %sp, TF_SIZEOF, %sp - rdpr %tstate, %l0 rdpr %tpc, %l1 rdpr %tnpc, %l2 @@ -2846,8 +2844,6 @@ END(tl1_trap) * void tl1_intr(u_int level, u_int mask) */ ENTRY(tl1_intr) - sub %sp, TF_SIZEOF, %sp - rdpr %tstate, %l0 rdpr %tpc, %l1 rdpr %tnpc, %l2 |