summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-19 22:49:42 +0000
committerdg <dg@FreeBSD.org>1994-08-19 22:49:42 +0000
commitb2b5a4aef025c79e8d07a889be39e37890b56aca (patch)
tree4c053fb333d75a3fc2954e039c9574e63c721f6a
parent4dde745bf6b423ac06de3b788f720bfc0a89ee5d (diff)
downloadFreeBSD-src-b2b5a4aef025c79e8d07a889be39e37890b56aca.zip
FreeBSD-src-b2b5a4aef025c79e8d07a889be39e37890b56aca.tar.gz
Removed bogus save of CMAP2.
-rw-r--r--sys/amd64/amd64/cpu_switch.S5
-rw-r--r--sys/amd64/amd64/swtch.s5
-rw-r--r--sys/i386/i386/swtch.s5
3 files changed, 3 insertions, 12 deletions
diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S
index b1db562..961d32f 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 b1db562..961d32f 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 b1db562..961d32f 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 */
OpenPOWER on IntegriCloud