From 27774cbbf4aaac8f8a3aa54dbfecd08d8c4137dd Mon Sep 17 00:00:00 2001 From: David Greenman Date: Fri, 19 Aug 1994 22:49:42 +0000 Subject: [PATCH] Removed bogus save of CMAP2. --- sys/amd64/amd64/cpu_switch.S | 5 +---- sys/amd64/amd64/swtch.s | 5 +---- sys/i386/i386/swtch.s | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S index b1db5629754..961d32fa5e7 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.8 1994/08/03 02:45:30 davidg Exp $ + * $Id: swtch.s,v 1.9 1994/08/06 09:17:44 davidg Exp $ */ #include "npx.h" /* for NNPX */ @@ -387,9 +387,6 @@ ENTRY(savectx) 1: #endif /* NNPX > 0 */ - movl _CMAP2,%edx /* save temporary map PTE */ - movl %edx,PCB_CMAP2(%ecx) /* in our context */ - cmpl $0,8(%esp) je 1f movl %esp,%edx /* relocate current sp relative to pcb */ diff --git a/sys/amd64/amd64/swtch.s b/sys/amd64/amd64/swtch.s index b1db5629754..961d32fa5e7 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.8 1994/08/03 02:45:30 davidg Exp $ + * $Id: swtch.s,v 1.9 1994/08/06 09:17:44 davidg Exp $ */ #include "npx.h" /* for NNPX */ @@ -387,9 +387,6 @@ ENTRY(savectx) 1: #endif /* NNPX > 0 */ - movl _CMAP2,%edx /* save temporary map PTE */ - movl %edx,PCB_CMAP2(%ecx) /* in our context */ - cmpl $0,8(%esp) je 1f movl %esp,%edx /* relocate current sp relative to pcb */ diff --git a/sys/i386/i386/swtch.s b/sys/i386/i386/swtch.s index b1db5629754..961d32fa5e7 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.8 1994/08/03 02:45:30 davidg Exp $ + * $Id: swtch.s,v 1.9 1994/08/06 09:17:44 davidg Exp $ */ #include "npx.h" /* for NNPX */ @@ -387,9 +387,6 @@ ENTRY(savectx) 1: #endif /* NNPX > 0 */ - movl _CMAP2,%edx /* save temporary map PTE */ - movl %edx,PCB_CMAP2(%ecx) /* in our context */ - cmpl $0,8(%esp) je 1f movl %esp,%edx /* relocate current sp relative to pcb */