KATO Takenori
af9966612e
Sync with sys/i386/i386/machdep.c revision 1.345.
1999-06-30 13:30:10 +00:00
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
Luoqi Chen
0f0fe5a4c5
Unbreak VESA on SMP.
1999-05-12 21:39:07 +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
32c9ff911e
Sync with sys/i386/i386/machdep.c revision 1.330.
1999-04-20 09:08:51 +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
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
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
270b84ae95
Sync with sys/i386/i386/machdep.c revision 1.324.
1999-02-04 09:55:42 +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
eb5417aa3a
Sync with sys/i386/i386/machdep.c revision up to 1.322.
1999-01-16 11:38:03 +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
e4a8d41703
Sync with sys/i386/i386/machdep.c revision 1.317.
1998-12-11 08:04:33 +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
c70606fd9f
Sync with sys/i386/i386/machdep.c revision up to 1.315.
1998-11-06 08:07:32 +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
b3c2b0173a
Sync with sys/i386/i386/machdep.c revision 1.311.
1998-09-30 13:21:44 +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
76c468f222
Sync with sys/i386/i386/machdep.c revision up to 1.309.
1998-09-15 03:50:08 +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
41bf2268ba
Sync with sys/i386/i386/machdep.c revision 1.304.
1998-08-19 09:32:15 +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
130eeca5d6
Sync with sys/i386/i386/machdep.c revision 1.294.
1998-04-07 09:07:53 +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
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
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
81b0d36c87
Sync with sys/i386/i386/machdep.c revision 1.285.
1998-01-30 12:03:13 +00:00