KATO Takenori
0dcbd0c212
Sync with sys/i386/i386/machdep.c revision 1.344.
1999-06-28 13:08:59 +00:00
KATO Takenori
1b2bed6fa3
Sync with sys/i386/i386/machdep.c revision 1.342.
1999-06-21 11:14:27 +00:00
KATO Takenori
f360e91d4d
Sync with sys/i386/i386/machdep.c revision up to 1.341.
1999-06-17 11:09:39 +00:00
KATO Takenori
11e2bfb4b6
Sync with sys/i386/i386/machdep.c revision 1.339.
...
New function getmemsize_pc98 is added in this commit, since PC98 is
quite different in obtaining memory size from IBM-PC. Many lines of
this function is shareable with IBM-PC's getmemsize function, but
sharing needs many #ifdef PC98 statements. Therefore, I gave up
sharing code with IBM-PC's and just added new function.
1999-06-03 13:49:52 +00:00
KATO Takenori
fb84c9994c
Sync with sys/i386/i386/userconfig.c revision 1.145.
1999-05-25 10:32:10 +00:00
KATO Takenori
9ec9cc8414
Sync with sys/i386/i386/userconfig.c revision 1.144.
1999-05-17 12:09:07 +00:00
KATO Takenori
7da4aaefd3
Sync with sys/i386/i386/userconfig.c revision 1.143.
1999-05-14 10:05:55 +00:00
Luoqi Chen
0f0fe5a4c5
Unbreak VESA on SMP.
1999-05-12 21:39:07 +00:00
KATO Takenori
a19ce74ea1
Sync with sys/i386/i386/usercnofig.c revision 1.142.
1999-05-11 08:36:12 +00:00
KATO Takenori
c977a12971
Sync with sys/i386/i386/userconfig.c revision 1.141.
1999-05-09 04:30:08 +00:00
KATO Takenori
5c32431080
Sync with sys/i386/i386/userconfig.c revision 1.138.
1999-05-06 09:15:20 +00:00
Luoqi Chen
c300b7b6c1
Initialize dblfault_tss.tss_fs to the per-cpu private data segment selector.
1999-05-06 00:54:54 +00:00
Luoqi Chen
68db6cea99
Do not set curproc until proc0 is fully initialized (in proc0_init()).
1999-05-06 00:39:00 +00:00
KATO Takenori
8aef41e249
Sync with sys/i386/i386/machdep.c revision 1.332.
1999-04-28 08:03:54 +00:00
KATO Takenori
473541c8c3
Sync with sys/i386/i386/userconfig.c revision 1.137.
1999-04-25 04:06:43 +00:00
KATO Takenori
14349c1d6f
Sync with sys/i386/i386/userconfig.c revision 1.136.
1999-04-20 09:10:47 +00:00
KATO Takenori
32c9ff911e
Sync with sys/i386/i386/machdep.c revision 1.330.
1999-04-20 09:08:51 +00:00
KATO Takenori
d4d6ff4d66
Sync with sys/i386/i386/userconfig.c revision 1.135.
1999-04-19 11:06:08 +00:00
KATO Takenori
c55a92c639
Sync with follwing files:
...
Path Revision
i386/conf/GENERIC 1.162
i386/conf/Makefile.i386 1.146
i386/conf/files.i386 1.236
i386/conf/options.i386 1.111
i386/i386/machdep.c 1.329
i386/i386/userconfig.c 1.134
i386/isa/fd.c 1.135
i386/isa/if_ed.c 1.151
i386/isa/isa_dam.c 1.1
i386/isa/npx.c 1.67
isa/sio.c 1.224
dev/syscons/syscons.c 1.300
i386/isa/wd.c 1.194
isa/vga_isa.c 1.5
isa/atkbd_isa.c 1.3
isa/syscons_isa.c 1.2
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-04-18 14:42:20 +00:00
KATO Takenori
89f657276f
Sync with sys/i386/i386/userconfig.c revision 1.133.
1999-04-10 04:44:33 +00:00
John Polstra
4fe88fe637
Restore support for executing BSD/OS binaries on the i386 by passing
...
the address of the ps_strings structure to the process via %ebx.
For other kinds of binaries, %ebx is still zeroed as before.
Submitted by: Thomas Stephens <tas@stephens.org>
Reviewed by: jdp
1999-04-03 22:20:03 +00:00
KATO Takenori
b052f82154
Sync with sys/i386/i386/machdpe.c revision 1.327.
1999-03-06 09:43:01 +00:00
KATO Takenori
e1a9267366
Sync with sys/i386/i386/userconfig.c revision 1.132.
1999-02-25 11:05:50 +00:00
KATO Takenori
7c9eb5b166
Sync with sys/i386/i386/machdep.c revision 1.326.
1999-02-16 11:07:06 +00:00
KATO Takenori
28791bce44
Sync with sys/i386/i386/machdep.c revision 1.325.
1999-02-12 09:15:33 +00:00
KATO Takenori
cdbef5dacd
Sync with sys/i386/i386/userconfig.c revision 1.130.
1999-02-10 13:02:38 +00:00
KATO Takenori
1e476c296d
Sync with sys/i386/i386/userconfig.c revision 1.129.
1999-02-04 13:58:44 +00:00
KATO Takenori
270b84ae95
Sync with sys/i386/i386/machdep.c revision 1.324.
1999-02-04 09:55:42 +00:00
KATO Takenori
a4af40881f
Sync with sys/i386/i386/userconfig.c revision 1.128.
1999-01-31 17:44:06 +00:00
KATO Takenori
fe5871fb09
Sync with sys/i386/i386/machdep.c revision 1.323.
1999-01-29 10:43:09 +00:00
KATO Takenori
3109b17f32
Sync with sys/i386/i386/userconfig.c revision 1.127.
1999-01-28 09:13:20 +00:00
KATO Takenori
4e1cc33d71
Sync with sys/i386/i386/userconfig.c revision 1.126.
1999-01-18 11:01:57 +00:00
KATO Takenori
485f69e3db
Sync with sys/i386/i386/machdep.c revision up to 1.125.
1999-01-16 11:39:08 +00:00
KATO Takenori
eb5417aa3a
Sync with sys/i386/i386/machdep.c revision up to 1.322.
1999-01-16 11:38:03 +00:00
KATO Takenori
0cc73f671d
Sync with sys/i386/i386/userconfig.c revision up to 1.120.
1999-01-08 16:05:27 +00:00
KATO Takenori
b4d4a2e5d4
Sync with sys/i386/i386/machdep.c revision 1.320.
1999-01-08 16:04:20 +00:00
Bruce Evans
4c56fcdead
Removed the cast to a pointer in the definition of PS_STRINGS and
...
adjusted related casts to match (only in the kernel in this commit).
The pointer was only wanted in one place in kern_exec.c. Applications
should use the kern.ps_strings sysctl instead of PS_STRINGS, so they
shouldn't notice this change.
1998-12-16 16:28:58 +00:00
KATO Takenori
82749a0af6
Sync with sys/i386/i386/userconfig.c revision 1.118.
1998-12-14 08:53:32 +00:00
KATO Takenori
e4a8d41703
Sync with sys/i386/i386/machdep.c revision 1.317.
1998-12-11 08:04:33 +00:00
KATO Takenori
5a5f82fc61
Sync with sys/i386/i386/userconfig.c revision 1.117.
1998-12-08 08:17:43 +00:00
KATO Takenori
dae18d3bae
Sync with sys/i386/i386/userconfig.c revision 1.116.
1998-12-05 09:22:05 +00:00
KATO Takenori
9ad861edee
- For some old Cyrix CPUs, %cr2 is clobbered by interrupts. This
...
problem is worked around by using an interrupt gate for the page
fault handler. This code was originally made for NetBSD/pc98 by
Naofumi Honda <honda@kururu.math.sci.hokudai.ac.jp> and has already
been in PC98 tree. Because of this bug, trap_fatal cannot show
correct page fault address if %cr2 is obtained in this function.
Therefore, trap_fatal uses the value from trap() function.
- The trap handler always enables interruption when buggy application
or kernel code has disabled interrupts and then trapped. This code
was prepared by Bruce Evans <bde@FreeBSD.org>.
Submitted by: Bruce Evans <bde@FreeBSD.org>
Naofumi Honda <honda@kururu.math.sci.hokudai.ac.jp>
1998-12-02 08:15:17 +00:00
KATO Takenori
f3284683fb
Sync with sys/i386/i386/userconfig.c revision up to 1.115.
1998-11-06 08:08:05 +00:00
KATO Takenori
c70606fd9f
Sync with sys/i386/i386/machdep.c revision up to 1.315.
1998-11-06 08:07:32 +00:00
KATO Takenori
b494420086
Added rl driver.
1998-10-22 11:29:58 +00:00
KATO Takenori
b69b4c650c
Sync with sys/i386/i386/userconfig.c revision 1.112.
1998-10-13 09:43:09 +00:00
KATO Takenori
45b48978af
Sync with sys/i386/i386/machdep.c revision 1.313.
1998-10-11 15:04:38 +00:00
KATO Takenori
60f27d13a7
Sync with sys/i386/i386/machdep.c revision 1.312.
1998-10-09 12:36:25 +00:00
KATO Takenori
6939f71026
Sync with sys/i386/i386/userconfig.c revision 1.111.
1998-10-08 12:09:38 +00:00
KATO Takenori
b3c2b0173a
Sync with sys/i386/i386/machdep.c revision 1.311.
1998-09-30 13:21:44 +00:00
KATO Takenori
2b336086eb
Sync with sys/i386/i386/userconfig.c revision 1.110.
1998-09-28 08:26:10 +00:00
KATO Takenori
6a75025663
Sync with sys/i386/i386/machdep.c revision 1.310.
1998-09-28 08:25:29 +00:00
KATO Takenori
7ef16b04e6
Sync with sys/i386/i386/userconfig.c revision 1.109.
1998-09-17 13:14:14 +00:00
KATO Takenori
1867aaa0e8
Sync with sys/i386/i386/userconfig.c revision 1.108.
1998-09-15 14:11:42 +00:00
KATO Takenori
76c468f222
Sync with sys/i386/i386/machdep.c revision up to 1.309.
1998-09-15 03:50:08 +00:00
KATO Takenori
ddf7a8ea87
Sync with sys/i386/i386/userconfig.c revision 1.107.
1998-09-08 09:47:09 +00:00
KATO Takenori
794cfbb48e
Sync with sys/i386/i386/machdep.c revision 1.306.
1998-09-01 07:17:36 +00:00
KATO Takenori
aa53a702c9
- Fix style bug.
...
- hw.ispc98 -> machdep.ispc98.
Submitted by: Garrett Wollman (hw -> machdep)
1998-09-01 02:04:17 +00:00
KATO Takenori
582e52862a
- hw.machine_arch returns cpu architecture type.
...
- moved definition of MACHINE_ARCH from cpu.h to parm.h as alpha.
- Added definitions of _MACHINE and _MACHINE_ARCH.
- Added hw.ispc98. The hw.ispc98 is 1 in PC98 kernel and is 0 in
IBM-PC kernel.
Discussed with: John Birrell <jb@FreeBSD.ORG>
1998-08-31 08:41:58 +00:00
KATO Takenori
de2c5240b0
Sync with sys/i386/i386/trap.c revision 1.128.
1998-08-28 12:46:28 +00:00
KATO Takenori
41bf2268ba
Sync with sys/i386/i386/machdep.c revision 1.304.
1998-08-19 09:32:15 +00:00
KATO Takenori
93e52f2dce
Sync with sys/i386/i386/userconfig.c revision 1.106.
1998-08-03 10:49:18 +00:00
KATO Takenori
991b3bc3b3
Sync with sys/i386/i386/userconfig.c revision 1.105.
1998-07-21 12:07:49 +00:00
KATO Takenori
f474f59dc4
Sync with sys/i386/i386/userconfig.c revision 1.104.
1998-07-16 10:26:59 +00:00
KATO Takenori
e1c32d9d2d
Sync with sys/i386/i386/machdep.c revision 1.303.
1998-07-11 17:00:33 +00:00
KATO Takenori
a723d97973
Sync with sys/i386/i386/machdep.c revision 1.302.
1998-07-02 12:39:32 +00:00
KATO Takenori
b0eb6f6a10
Sync with sys/i386/i386/machdep.c revision 1.301.
1998-06-22 08:05:12 +00:00
KATO Takenori
d5f1066e45
Sync with sys/i386/i386/machdep.c revision 1.300.
1998-06-17 16:30:16 +00:00
KATO Takenori
c7e9ceee59
Merge 64bit portability fixes from sys/i386 stuff.
1998-06-08 08:55:47 +00:00
KATO Takenori
57e8fac883
Sync with sys/i386/i386/machdep.c revision 1.298.
1998-06-03 08:48:00 +00:00
KATO Takenori
6113cb00d6
Sync with sys/i386/i386/machdep.c revision 1.297.
1998-05-28 13:50:13 +00:00
KATO Takenori
fa7cfb3b65
Sync with sys/i386/i386/machdep.c revision 1.296.
1998-05-19 12:58:05 +00:00
KATO Takenori
ccf47cfced
Sync with sys/i386/i386/trap.c revision 1.127.
1998-04-29 09:45:38 +00:00
KATO Takenori
adf97e2edc
Sync with sys/i386/i386/trap.c revision 1.126.
1998-04-16 16:31:36 +00:00
KATO Takenori
130eeca5d6
Sync with sys/i386/i386/machdep.c revision 1.294.
1998-04-07 09:07:53 +00:00
KATO Takenori
e40c3a225b
Cosmetic. Move a blank line.
1998-03-31 09:37:44 +00:00
KATO Takenori
2dbeac88d1
Sync with sys/i386/i386/trap.c revision 1.125 and sys/i386/isa/clock.c
...
revision 1.118.
1998-03-31 07:53:13 +00:00
KATO Takenori
ebec4c06c1
Sync with sys/i386/i386/trap.c revision 1.124.
1998-03-29 12:48:01 +00:00
KATO Takenori
c85e487d23
Sync with sys/i386/i386/machdep.c and trap.c revisions 1.293 and
...
1.123, respectively.
1998-03-24 08:27:21 +00:00
KATO Takenori
c6be3326f0
Sync with sys/i386/i386/userconfig.c revision 1.103.
1998-03-10 12:52:55 +00:00
KATO Takenori
d01df9f46d
Sync with sys/i386/i386/machdep.c revision 1.292.
1998-03-08 03:55:35 +00:00
KATO Takenori
917d483199
Sync with sys/i386/i386/machdep.c revision 1.291.
1998-03-07 15:42:54 +00:00
KATO Takenori
a9c784f064
Sync with sys/i386/i386/machdep.c revision 1.290.
1998-03-02 10:02:01 +00:00
KATO Takenori
dbcff41328
Removed unused file (sync with sys/i386/i386/microtime.s).
1998-02-23 12:23:23 +00:00
KATO Takenori
720f30e259
Sync with sys/i386/i386/userconfig.c revision 1.102.
1998-02-10 08:03:42 +00:00
KATO Takenori
db33b1d449
Sync with sys/i386/i386/machdep.c revision 1.289.
1998-02-09 15:04:39 +00:00
Eivind Eklund
0b08f5f737
Back out DIAGNOSTIC changes.
1998-02-06 12:14:30 +00:00
KATO Takenori
3efe1bb939
Sync with sys/i386/i386/machdep.c and trap.c reivsions 1.287 and
...
1.121, respectively.
1998-02-05 10:05:47 +00:00
KATO Takenori
99b1ec9000
Sync with sys/i386/i386/machdep.c revision 1.286.
1998-02-04 10:19:33 +00:00
KATO Takenori
187344e72d
Sync with sys/i386/i386/trap.c revision 1.120.
1998-01-31 15:16:27 +00:00
KATO Takenori
81b0d36c87
Sync with sys/i386/i386/machdep.c revision 1.285.
1998-01-30 12:03:13 +00:00
KATO Takenori
be2a40ab9b
Sync with sys/i386/i386/userconfig.c revision 1.101.
1998-01-26 09:18:18 +00:00
KATO Takenori
88a92ff10e
Even though BIOS writer's guide recommends cpuid instruction of Cyrix
...
6x86MX CPU is enabled (BIOS should not disable it), some BIOS disables
it via CCR4. In this case, cpu variable becomes CPU_486 and
identblue() is called. Because Cyrix 6x86MX has MSR and doesn't have
MSR1002, wrmsr instruction generates general protection fault.
Tested by: Simon Coggins <chaos@ultra.net.au>
1998-01-25 12:01:38 +00:00
KATO Takenori
19eba5818f
Sync with sys/i386/i386/machdep.c revision 1.283.
1998-01-24 06:53:32 +00:00
KATO Takenori
7ebb9221f6
Sync with sys/i386/i386/machdep.c revision 1.282.
1998-01-24 03:15:37 +00:00
KATO Takenori
ececc3f031
Sync with sys/i386/i386/userconfig.c revision 1.100.
1998-01-22 14:26:34 +00:00
KATO Takenori
3a00f2c11f
Sync with sys/i386/i386/machdep.c revision 1.281.
1998-01-12 15:38:51 +00:00
KATO Takenori
935b62000f
1: Fixed compile error when WB_CACH is defined.
...
2: Fixed !M_EPSON_PC98 case.
Reviewed by: Chiharu Shibata <chi@rd.njk.co.jp>
1998-01-07 09:03:42 +00:00
KATO Takenori
f27e599a9c
Sync with sys/i386/i386/microtime.s revision 1.40.
1998-01-02 09:31:16 +00:00
KATO Takenori
e664869506
Sync with sys/i386/i386/microtime.s revision up to 1.39.
1997-12-29 16:17:09 +00:00