Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 clarify tss switch: remove bogus symbolic...



details:   https://anonhg.NetBSD.org/src/rev/026111c90a42
branches:  trunk
changeset: 480204:026111c90a42
user:      drochner <drochner%NetBSD.org@localhost>
date:      Thu Jan 06 18:41:24 2000 +0000

description:
clarify tss switch: remove bogus symbolic constant, add comment
no functional change

diffstat:

 sys/arch/i386/i386/locore.s |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r e5969145294a -r 026111c90a42 sys/arch/i386/i386/locore.s
--- a/sys/arch/i386/i386/locore.s       Thu Jan 06 18:28:28 2000 +0000
+++ b/sys/arch/i386/i386/locore.s       Thu Jan 06 18:41:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.214 1999/10/25 17:26:06 drochner Exp $    */
+/*     $NetBSD: locore.s,v 1.215 2000/01/06 18:41:24 drochner Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -2000,8 +2000,8 @@
        movl    PCB_CR3(%esi),%ecx
        movl    %ecx,%cr3
 
-       /* Switch TSS. */
-       andl    $~0x0200,4-SEL_KPL(%eax,%edx,1)
+       /* Switch TSS. Reset "task busy" flag before */
+       andl    $~0x0200,4(%eax,%edx, 1)
        ltr     %dx
 
 #ifdef USER_LDT



Home | Main Index | Thread Index | Old Index