diff options
author | kato <kato@FreeBSD.org> | 1999-07-30 11:42:05 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1999-07-30 11:42:05 +0000 |
commit | 862e8ea982a9831a7d4237cd3086230755fe3492 (patch) | |
tree | 873841f472dd8fc1cca3ed34dfc3d12985d6ff6a /sys/pc98 | |
parent | 2aeb12acccb2472ffad9293788305a48686ab05f (diff) | |
download | FreeBSD-src-862e8ea982a9831a7d4237cd3086230755fe3492.zip FreeBSD-src-862e8ea982a9831a7d4237cd3086230755fe3492.tar.gz |
Sync with sys/i386/i386/machdep.c revision 1.357.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/i386/machdep.c | 32 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 32 |
2 files changed, 50 insertions, 14 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index ebea886..9c0728e 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.126 1999/07/09 12:51:11 kato Exp $ + * $Id: machdep.c,v 1.127 1999/07/26 12:14:00 kato Exp $ */ #include "apm.h" @@ -1017,8 +1017,8 @@ struct soft_segment_descriptor gdt_segs[] = { 0, 0, 0, /* unused - default 32 vs 16 bit size */ 0 /* limit granularity (byte/page units)*/ }, -/* GAPMCODE32_SEL 9 APM BIOS 32-bit interface (32bit Code) */ -{ 0, /* segment base address (overwritten by APM) */ +/* GBIOSCODE32_SEL 9 BIOS 32-bit interface (32bit Code) */ +{ 0, /* segment base address (overwritten) */ 0xfffff, /* length */ SDT_MEMERA, /* segment type */ 0, /* segment descriptor priority level */ @@ -1026,8 +1026,8 @@ struct soft_segment_descriptor gdt_segs[] = { 0, 0, 1, /* default 32 vs 16 bit size */ 1 /* limit granularity (byte/page units)*/ }, -/* GAPMCODE16_SEL 10 APM BIOS 32-bit interface (16bit Code) */ -{ 0, /* segment base address (overwritten by APM) */ +/* GBIOSCODE16_SEL 10 BIOS 32-bit interface (16bit Code) */ +{ 0, /* segment base address (overwritten) */ 0xfffff, /* length */ SDT_MEMERA, /* segment type */ 0, /* segment descriptor priority level */ @@ -1035,8 +1035,8 @@ struct soft_segment_descriptor gdt_segs[] = { 0, 0, 0, /* default 32 vs 16 bit size */ 1 /* limit granularity (byte/page units)*/ }, -/* GAPMDATA_SEL 11 APM BIOS 32-bit interface (Data) */ -{ 0, /* segment base address (overwritten by APM) */ +/* GBIOSDATA_SEL 11 BIOS 32-bit interface (Data) */ +{ 0, /* segment base address (overwritten) */ 0xfffff, /* length */ SDT_MEMRWA, /* segment type */ 0, /* segment descriptor priority level */ @@ -1044,6 +1044,24 @@ struct soft_segment_descriptor gdt_segs[] = { 0, 0, 1, /* default 32 vs 16 bit size */ 1 /* limit granularity (byte/page units)*/ }, +/* GBIOSUTIL_SEL 12 BIOS 16-bit interface (Utility) */ +{ 0, /* segment base address (overwritten) */ + 0xfffff, /* length */ + SDT_MEMRWA, /* segment type */ + 0, /* segment descriptor priority level */ + 1, /* segment descriptor present */ + 0, 0, + 0, /* default 32 vs 16 bit size */ + 1 /* limit granularity (byte/page units)*/ }, +/* GBIOSARGS_SEL 13 BIOS 16-bit interface (Arguments) */ +{ 0, /* segment base address (overwritten) */ + 0xfffff, /* length */ + SDT_MEMRWA, /* segment type */ + 0, /* segment descriptor priority level */ + 1, /* segment descriptor present */ + 0, 0, + 0, /* default 32 vs 16 bit size */ + 1 /* limit granularity (byte/page units)*/ }, }; static struct soft_segment_descriptor ldt_segs[] = { diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index ebea886..9c0728e 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.126 1999/07/09 12:51:11 kato Exp $ + * $Id: machdep.c,v 1.127 1999/07/26 12:14:00 kato Exp $ */ #include "apm.h" @@ -1017,8 +1017,8 @@ struct soft_segment_descriptor gdt_segs[] = { 0, 0, 0, /* unused - default 32 vs 16 bit size */ 0 /* limit granularity (byte/page units)*/ }, -/* GAPMCODE32_SEL 9 APM BIOS 32-bit interface (32bit Code) */ -{ 0, /* segment base address (overwritten by APM) */ +/* GBIOSCODE32_SEL 9 BIOS 32-bit interface (32bit Code) */ +{ 0, /* segment base address (overwritten) */ 0xfffff, /* length */ SDT_MEMERA, /* segment type */ 0, /* segment descriptor priority level */ @@ -1026,8 +1026,8 @@ struct soft_segment_descriptor gdt_segs[] = { 0, 0, 1, /* default 32 vs 16 bit size */ 1 /* limit granularity (byte/page units)*/ }, -/* GAPMCODE16_SEL 10 APM BIOS 32-bit interface (16bit Code) */ -{ 0, /* segment base address (overwritten by APM) */ +/* GBIOSCODE16_SEL 10 BIOS 32-bit interface (16bit Code) */ +{ 0, /* segment base address (overwritten) */ 0xfffff, /* length */ SDT_MEMERA, /* segment type */ 0, /* segment descriptor priority level */ @@ -1035,8 +1035,8 @@ struct soft_segment_descriptor gdt_segs[] = { 0, 0, 0, /* default 32 vs 16 bit size */ 1 /* limit granularity (byte/page units)*/ }, -/* GAPMDATA_SEL 11 APM BIOS 32-bit interface (Data) */ -{ 0, /* segment base address (overwritten by APM) */ +/* GBIOSDATA_SEL 11 BIOS 32-bit interface (Data) */ +{ 0, /* segment base address (overwritten) */ 0xfffff, /* length */ SDT_MEMRWA, /* segment type */ 0, /* segment descriptor priority level */ @@ -1044,6 +1044,24 @@ struct soft_segment_descriptor gdt_segs[] = { 0, 0, 1, /* default 32 vs 16 bit size */ 1 /* limit granularity (byte/page units)*/ }, +/* GBIOSUTIL_SEL 12 BIOS 16-bit interface (Utility) */ +{ 0, /* segment base address (overwritten) */ + 0xfffff, /* length */ + SDT_MEMRWA, /* segment type */ + 0, /* segment descriptor priority level */ + 1, /* segment descriptor present */ + 0, 0, + 0, /* default 32 vs 16 bit size */ + 1 /* limit granularity (byte/page units)*/ }, +/* GBIOSARGS_SEL 13 BIOS 16-bit interface (Arguments) */ +{ 0, /* segment base address (overwritten) */ + 0xfffff, /* length */ + SDT_MEMRWA, /* segment type */ + 0, /* segment descriptor priority level */ + 1, /* segment descriptor present */ + 0, 0, + 0, /* default 32 vs 16 bit size */ + 1 /* limit granularity (byte/page units)*/ }, }; static struct soft_segment_descriptor ldt_segs[] = { |