From 86fb34705e844f926ee8eb8649ef4a289345deb8 Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 6 Jan 2000 18:41:24 +0000 Subject: [PATCH] clarify tss switch: remove bogus symbolic constant, add comment no functional change --- sys/arch/i386/i386/locore.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s index f74975cc37bf..c18b6cf2e150 100644 --- a/sys/arch/i386/i386/locore.s +++ b/sys/arch/i386/i386/locore.s @@ -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 @@ switch_exited: 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