194 Commits

Author SHA1 Message Date
bde
7b9dc76b76 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
6fdd1bf255 Sync with sys/i386/i386/userconfig.c revision 1.118. 1998-12-14 08:53:32 +00:00
kato
00d99f7970 Sync with sys/i386/i386/machdep.c revision 1.317. 1998-12-11 08:04:33 +00:00
kato
88fa0db894 Sync with sys/i386/i386/userconfig.c revision 1.117. 1998-12-08 08:17:43 +00:00
kato
702664ec84 Sync with sys/i386/i386/userconfig.c revision 1.116. 1998-12-05 09:22:05 +00:00
kato
72f8d0d43a - 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
2993d4030b Sync with sys/i386/i386/userconfig.c revision up to 1.115. 1998-11-06 08:08:05 +00:00
kato
1f7a6675d0 Sync with sys/i386/i386/machdep.c revision up to 1.315. 1998-11-06 08:07:32 +00:00
kato
c3cf05a4e9 Added rl driver. 1998-10-22 11:29:58 +00:00
kato
49bb740f0c Sync with sys/i386/i386/userconfig.c revision 1.112. 1998-10-13 09:43:09 +00:00
kato
ee727dacab Sync with sys/i386/i386/machdep.c revision 1.313. 1998-10-11 15:04:38 +00:00
kato
918f35a74e Sync with sys/i386/i386/machdep.c revision 1.312. 1998-10-09 12:36:25 +00:00
kato
a36bbf007a Sync with sys/i386/i386/userconfig.c revision 1.111. 1998-10-08 12:09:38 +00:00
kato
89750a0c51 Sync with sys/i386/i386/machdep.c revision 1.311. 1998-09-30 13:21:44 +00:00
kato
bf756cdf20 Sync with sys/i386/i386/userconfig.c revision 1.110. 1998-09-28 08:26:10 +00:00
kato
7a03fa5884 Sync with sys/i386/i386/machdep.c revision 1.310. 1998-09-28 08:25:29 +00:00
kato
3d5822f8cf Sync with sys/i386/i386/userconfig.c revision 1.109. 1998-09-17 13:14:14 +00:00
kato
b4308cdead Sync with sys/i386/i386/userconfig.c revision 1.108. 1998-09-15 14:11:42 +00:00
kato
3d9ba41c91 Sync with sys/i386/i386/machdep.c revision up to 1.309. 1998-09-15 03:50:08 +00:00
kato
16be0e2d88 Sync with sys/i386/i386/userconfig.c revision 1.107. 1998-09-08 09:47:09 +00:00
kato
1a37f7b056 Sync with sys/i386/i386/machdep.c revision 1.306. 1998-09-01 07:17:36 +00:00
kato
9a6b0ba36d - Fix style bug.
- hw.ispc98 -> machdep.ispc98.

Submitted by:	Garrett Wollman (hw -> machdep)
1998-09-01 02:04:17 +00:00
kato
173369820f - 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
59703bfe36 Sync with sys/i386/i386/trap.c revision 1.128. 1998-08-28 12:46:28 +00:00
kato
86eca8929e Sync with sys/i386/i386/machdep.c revision 1.304. 1998-08-19 09:32:15 +00:00
kato
29c78c7184 Sync with sys/i386/i386/userconfig.c revision 1.106. 1998-08-03 10:49:18 +00:00
kato
991631c4d1 Sync with sys/i386/i386/userconfig.c revision 1.105. 1998-07-21 12:07:49 +00:00
kato
2092b7604a Sync with sys/i386/i386/userconfig.c revision 1.104. 1998-07-16 10:26:59 +00:00
kato
71593f57d5 Sync with sys/i386/i386/machdep.c revision 1.303. 1998-07-11 17:00:33 +00:00
kato
7b473ef0b0 Sync with sys/i386/i386/machdep.c revision 1.302. 1998-07-02 12:39:32 +00:00
kato
8008ed7f81 Sync with sys/i386/i386/machdep.c revision 1.301. 1998-06-22 08:05:12 +00:00
kato
4cce4905e4 Sync with sys/i386/i386/machdep.c revision 1.300. 1998-06-17 16:30:16 +00:00
kato
83707e06e7 Merge 64bit portability fixes from sys/i386 stuff. 1998-06-08 08:55:47 +00:00
kato
df940d6a6d Sync with sys/i386/i386/machdep.c revision 1.298. 1998-06-03 08:48:00 +00:00
kato
d9f07ec28f Sync with sys/i386/i386/machdep.c revision 1.297. 1998-05-28 13:50:13 +00:00
kato
b82aea5ea9 Sync with sys/i386/i386/machdep.c revision 1.296. 1998-05-19 12:58:05 +00:00
kato
a44088edc8 Sync with sys/i386/i386/trap.c revision 1.127. 1998-04-29 09:45:38 +00:00
kato
f941ac2a50 Sync with sys/i386/i386/trap.c revision 1.126. 1998-04-16 16:31:36 +00:00
kato
c04e14dfb2 Sync with sys/i386/i386/machdep.c revision 1.294. 1998-04-07 09:07:53 +00:00
kato
13d94801ba Cosmetic. Move a blank line. 1998-03-31 09:37:44 +00:00
kato
01d7f184bf 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
1fe36ac927 Sync with sys/i386/i386/trap.c revision 1.124. 1998-03-29 12:48:01 +00:00
kato
c8e85ed3cf 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
39cd03a570 Sync with sys/i386/i386/userconfig.c revision 1.103. 1998-03-10 12:52:55 +00:00
kato
2bddba52f1 Sync with sys/i386/i386/machdep.c revision 1.292. 1998-03-08 03:55:35 +00:00
kato
bb4739d4fd Sync with sys/i386/i386/machdep.c revision 1.291. 1998-03-07 15:42:54 +00:00
kato
e5372807a4 Sync with sys/i386/i386/machdep.c revision 1.290. 1998-03-02 10:02:01 +00:00
kato
8fdca0a7ac Removed unused file (sync with sys/i386/i386/microtime.s). 1998-02-23 12:23:23 +00:00
kato
c1a8f97c8e Sync with sys/i386/i386/userconfig.c revision 1.102. 1998-02-10 08:03:42 +00:00
kato
c6e3a2c916 Sync with sys/i386/i386/machdep.c revision 1.289. 1998-02-09 15:04:39 +00:00