Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 14:48:04 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 29460 for review
Message-ID:  <200304222148.h3MLm4Ee020731@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=29460

Change 29460 by peter@peter_overcee on 2003/04/22 14:47:55

	Not that it matters, but dont create a null descriptor under the second
	half of the double-sized tss descriptor, only to have it clobbered a few
	lines down.

Affected files ...

.. //depot/projects/hammer/sys/x86_64/x86_64/machdep.c#69 edit

Differences ...

==== //depot/projects/hammer/sys/x86_64/x86_64/machdep.c#69 (text+ko) ====

@@ -1161,7 +1161,7 @@
 	gdt_segs[GPROC0_SEL].ssd_base = (uintptr_t)&common_tss.tss;
 
 	for (x = 0; x < NGDT; x++) {
-		if (x != GPROC0_SEL)
+		if (x != GPROC0_SEL && x != (GPROC0_SEL + 1))
 			ssdtosd(&gdt_segs[x], &gdt[x]);
 	}
 	ssdtosyssd(&gdt_segs[GPROC0_SEL], (struct system_segment_descriptor *)&gdt[GPROC0_SEL]);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304222148.h3MLm4Ee020731>