diff options
author | dg <dg@FreeBSD.org> | 1994-08-06 09:17:44 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-06 09:17:44 +0000 |
commit | 3e6daf24bba2584c35133013f403a3467acf2d42 (patch) | |
tree | a4a4af1a7412344f1c6f9d1fef6e3b0066460d23 | |
parent | 8b20309268255f6f6fbc908e5af8c9cde9a1a1c2 (diff) | |
download | FreeBSD-src-3e6daf24bba2584c35133013f403a3467acf2d42.zip FreeBSD-src-3e6daf24bba2584c35133013f403a3467acf2d42.tar.gz |
Made the tmpstk start at tmpstk. Not doing so causes problems for the
debugger.
Submitted by: John Dyson
-rw-r--r-- | sys/amd64/amd64/cpu_switch.S | 4 | ||||
-rw-r--r-- | sys/amd64/amd64/swtch.s | 4 | ||||
-rw-r--r-- | sys/i386/i386/swtch.s | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S index dcf868d..b1db562 100644 --- a/sys/amd64/amd64/cpu_switch.S +++ b/sys/amd64/amd64/cpu_switch.S @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: swtch.s,v 1.7 1994/05/25 08:55:08 rgrimes Exp $ + * $Id: swtch.s,v 1.8 1994/08/03 02:45:30 davidg Exp $ */ #include "npx.h" /* for NNPX */ @@ -142,7 +142,7 @@ _idle: MCOUNT movl _IdlePTD,%ecx movl %ecx,%cr3 - movl $tmpstk-4,%esp + movl $tmpstk,%esp sti /* diff --git a/sys/amd64/amd64/swtch.s b/sys/amd64/amd64/swtch.s index dcf868d..b1db562 100644 --- a/sys/amd64/amd64/swtch.s +++ b/sys/amd64/amd64/swtch.s @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: swtch.s,v 1.7 1994/05/25 08:55:08 rgrimes Exp $ + * $Id: swtch.s,v 1.8 1994/08/03 02:45:30 davidg Exp $ */ #include "npx.h" /* for NNPX */ @@ -142,7 +142,7 @@ _idle: MCOUNT movl _IdlePTD,%ecx movl %ecx,%cr3 - movl $tmpstk-4,%esp + movl $tmpstk,%esp sti /* diff --git a/sys/i386/i386/swtch.s b/sys/i386/i386/swtch.s index dcf868d..b1db562 100644 --- a/sys/i386/i386/swtch.s +++ b/sys/i386/i386/swtch.s @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: swtch.s,v 1.7 1994/05/25 08:55:08 rgrimes Exp $ + * $Id: swtch.s,v 1.8 1994/08/03 02:45:30 davidg Exp $ */ #include "npx.h" /* for NNPX */ @@ -142,7 +142,7 @@ _idle: MCOUNT movl _IdlePTD,%ecx movl %ecx,%cr3 - movl $tmpstk-4,%esp + movl $tmpstk,%esp sti /* |