svn commit: r208639 - head/sys/pc98/pc98
Takahashi Yoshihiro
nyan at FreeBSD.org
Sat May 29 09:12:03 UTC 2010
Author: nyan
Date: Sat May 29 09:12:02 2010
New Revision: 208639
URL: http://svn.freebsd.org/changeset/base/208639
Log:
MFi386: the part of revision 181809
Use SEL_KPL macro.
Modified:
head/sys/pc98/pc98/machdep.c
Modified: head/sys/pc98/pc98/machdep.c
==============================================================================
--- head/sys/pc98/pc98/machdep.c Sat May 29 09:07:40 2010 (r208638)
+++ head/sys/pc98/pc98/machdep.c Sat May 29 09:12:02 2010 (r208639)
@@ -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-head
mailing list