svn commit: r214592 - stable/8/sys/pc98/pc98

Takahashi Yoshihiro nyan at FreeBSD.org
Sun Oct 31 08:18:24 UTC 2010


Author: nyan
Date: Sun Oct 31 08:18:23 2010
New Revision: 214592
URL: http://svn.freebsd.org/changeset/base/214592

Log:
  MFC: revision 208639
  
    Use SEL_KPL macro.

Modified:
  stable/8/sys/pc98/pc98/machdep.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/pc98/pc98/machdep.c
==============================================================================
--- stable/8/sys/pc98/pc98/machdep.c	Sun Oct 31 08:14:52 2010	(r214591)
+++ stable/8/sys/pc98/pc98/machdep.c	Sun Oct 31 08:18:23 2010	(r214592)
@@ -1439,7 +1439,7 @@ struct soft_segment_descriptor gdt_segs[
 {	.ssd_base = 0x0,
 	.ssd_limit = 0x0,
 	.ssd_type = 0,
-	.ssd_dpl = 0,
+	.ssd_dpl = SEL_KPL,
 	.ssd_p = 0,
 	.ssd_xx = 0, .ssd_xx1 = 0,
 	.ssd_def32 = 0,
@@ -1448,7 +1448,7 @@ struct soft_segment_descriptor gdt_segs[
 {	.ssd_base = 0x0,
 	.ssd_limit = 0xfffff,
 	.ssd_type = SDT_MEMRWA,
-	.ssd_dpl = 0,
+	.ssd_dpl = SEL_KPL,
 	.ssd_p = 1,
 	.ssd_xx = 0, .ssd_xx1 = 0,
 	.ssd_def32 = 1,
@@ -1475,7 +1475,7 @@ struct soft_segment_descriptor gdt_segs[
 {	.ssd_base = 0x0,
 	.ssd_limit = 0xfffff,
 	.ssd_type = SDT_MEMERA,
-	.ssd_dpl = 0,
+	.ssd_dpl = SEL_KPL,
 	.ssd_p = 1,
 	.ssd_xx = 0, .ssd_xx1 = 0,
 	.ssd_def32 = 1,
@@ -1484,7 +1484,7 @@ struct soft_segment_descriptor gdt_segs[
 {	.ssd_base = 0x0,
 	.ssd_limit = 0xfffff,
 	.ssd_type = SDT_MEMRWA,
-	.ssd_dpl = 0,
+	.ssd_dpl = SEL_KPL,
 	.ssd_p = 1,
 	.ssd_xx = 0, .ssd_xx1 = 0,
 	.ssd_def32 = 1,
@@ -1511,7 +1511,7 @@ struct soft_segment_descriptor gdt_segs[
 {	.ssd_base = 0x400,
 	.ssd_limit = 0xfffff,
 	.ssd_type = SDT_MEMRWA,
-	.ssd_dpl = 0,
+	.ssd_dpl = SEL_KPL,
 	.ssd_p = 1,
 	.ssd_xx = 0, .ssd_xx1 = 0,
 	.ssd_def32 = 1,


More information about the svn-src-all mailing list