Commit Graph

418 Commits

Author SHA1 Message Date
luoqi
5c9244cd12 User ldt sharing. 1999-12-06 04:53:08 +00:00
nyan
4740a52e25 Sync with sys/i386/i386/machdep.c revision up to 1.381. 1999-12-04 12:35:05 +00:00
nyan
429e777df8 Sync with sys/i386/i386/machdep.c revision up to 1.378. 1999-11-25 12:43:07 +00:00
archie
d6eae9ff98 Change the prototype of the strto* routines to make the second
parameter a char ** instead of a const char **.  This make these
kernel routines consistent with the corresponding libc userland
routines.

Which is actually 'correct' is debatable, but consistency and
following the spec was deemed more important in this case.

Reviewed by (in concept):	phk, bde
1999-11-24 01:03:08 +00:00
phk
d19d6e6b45 s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
nyan
03fa63a541 Sync with sys/i386/i386/machdep.c revision 1.375. 1999-11-12 12:00:35 +00:00
nyan
8b1b01b07c Sync with sys/i386/i386/machdep.c revision 1.371. 1999-11-03 08:25:40 +00:00
phk
6208a5013f Remove two private copies of strtoul()
Spotted by:	bde
1999-11-02 09:34:09 +00:00
alc
61bba49fd7 The useracc() calls in osigreturn() and sigreturn() should specify
VM_PROT_READ rather than VM_PROT_WRITE.  (This mistake predates
the B_READ/B_WRITE -> VM_PROT_READ/VM_PROT_WRITE change.)

Submitted by:	bde
1999-10-31 19:39:51 +00:00
phk
8d8f53dcdc Change useracc() and kernacc() to use VM_PROT_{READ|WRITE|EXECUTE} for the
"rw" argument, rather than hijacking B_{READ|WRITE}.

Fix two bugs (physio & cam) resulting by the confusion caused by this.

Submitted by:   Tor.Egge@fast.no
Reviewed by:    alc, ken (partly)
1999-10-30 06:32:05 +00:00
phk
8e3c3eafed useracc() the prequel:
Merge the contents (less some trivial bordering the silly comments)
of <vm/vm_prot.h> and <vm/vm_inherit.h> into <vm/vm.h>.  This puts
the #defines for the vm_inherit_t and vm_prot_t types next to their
typedefs.

This paves the road for the commit to follow shortly: change
useracc() to use VM_PROT_{READ|WRITE} rather than B_{READ|WRITE}
as argument.
1999-10-29 18:09:36 +00:00
kato
a165d9295b Sync with sys/i386/i386/machdep.c revision 1.370. 1999-10-13 11:03:41 +00:00
luoqi
fd8b4427a5 Add a per-signal flag to mark handlers registered with osigaction, so we
can provide the correct context to each signal handler.

Fix broken sigsuspend(): don't use p_oldsigmask as a flag, use SAS_OLDMASK
as we did before the linuxthreads support merge (submitted by bde).

Move ps_sigstk from to p_sigacts to the main proc structure since signal
stack should not be shared among threads.

Move SAS_OLDMASK and SAS_ALTSTACK flags from sigacts::ps_flags to proc::p_flag.
Move PS_NOCLDSTOP and PS_NOCLDWAIT flags from proc::p_flag to procsig::ps_flag.

Reviewed by:	marcel, jdp, bde
1999-10-11 20:33:17 +00:00
marcel
8366d8e9d7 Synchronize with i386 rev 1.367 1999-10-08 09:20:56 +00:00
marcel
05e89da65f Re-introduction of sigcontext.
struct sigcontext and ucontext_t/mcontext_t are defined in such
a way that both (ie struct sigcontext and ucontext_t) can be
passed on to sigreturn. The signal handler is still given a
ucontext_t for maximum flexibility.

For backward compatibility sigreturn restores the state for the
alternate signal stack from sigcontext.sc_onstack and not from
ucontext_t.uc_stack. A good way to determine which value the
application has set and thus which value to use, is still open
for discussion.

NOTE: This change should only affect those binaries that use
      sigcontext and/or ucontext_t. In the source tree itself
      this is only doscmd. Recompilation is required for those
      applications.

This commit also fixes a lot of style bugs without hopefully
adding new ones.

NOTE: struct sigaltstack.ss_size now has type size_t again. For
      some reason I changed that into unsigned int.

Parts submitted by: bde
sigaltstack bug found by: bde
1999-10-04 19:33:58 +00:00
kato
76379b8261 Sync w/ sys/i386/i386/machdep.c revision 1.364. 1999-10-01 12:46:08 +00:00
marcel
a16d76cb56 sigset_t change (part 3 of 5)
-----------------------------

By introducing a new sigframe so that the signal handler operates
on the new siginfo_t and on ucontext_t instead of sigcontext, we
now need two version of sendsig and sigreturn.

A flag in struct proc determines whether the process expects an
old sigframe or a new sigframe. The signal trampoline handles
which sigreturn to call. It does this by testing for a magic
cookie in the frame.

The alpha uses osigreturn to implement longjmp. This means that
osigreturn is not only used for compatibility with existing
binaries. To handle the new sigset_t, setjmp saves it in
sc_reserved (see NOTE).

the struct sigframe has been moved from frame.h to sigframe.h
to handle the complex header dependencies that was caused by
the new sigframe.

NOTE: For the i386, the size of jmp_buf has been increased to hold
      the new sigset_t. On the alpha this has been prevented by
      using sc_reserved in sigcontext.
1999-09-29 15:06:27 +00:00
kato
fa4d7c538e Sync with sys/i386/i386/userconfig.c revision 1.159. 1999-09-22 11:59:14 +00:00
kato
8c159df6ce Merge from sys/i386/i386/machdep.c revision 1.361. 1999-09-09 09:58:05 +00:00
kato
4564ee38da Merge from sys/i386/i386/userconfig.c revisions 1.157 & 1.158. 1999-09-07 12:11:52 +00:00
kato
68f5d86b7c Sync with sys/i386/i386/userconfig.c revision 1.156. 1999-09-02 13:44:52 +00:00
nyan
48f819b5a4 - The old printer driver is renamed 'olpt'.
- Added the gdc driver.
1999-08-28 15:17:25 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kato
d8cb917b88 Merge from sys/i386/i386/userconfig.c revision 1.153. 1999-08-23 13:41:00 +00:00
kato
65bba00ef1 Merge from sys/i386/i386/machdep.c revision 1.359. 1999-08-18 08:22:10 +00:00
kato
f4970b7e4f Sync with sys/i386/conf/userconfig.c revision 1.152. 1999-08-10 08:35:57 +00:00
phk
ee871b6440 Merge the cons.c and cons.h to the best of my ability. alpha may or
may not compile, I can't test it.
1999-08-09 10:35:05 +00:00
kato
862e8ea982 Sync with sys/i386/i386/machdep.c revision 1.357. 1999-07-30 11:42:05 +00:00
kato
00679eb490 Sync with sys/i386/i386/userconfig.c revision up to 1.150. 1999-07-26 12:14:59 +00:00
kato
c75eae3a3e Sync with sys/i386/i386/machdep.c revision 1.356. 1999-07-26 12:14:00 +00:00
kato
0e50f36826 Sync with sys/i386/i386/userconfig.c revision 1.148. 1999-07-09 12:52:09 +00:00
kato
48c84d50f9 Sync with sys/i386/i386/machdep.c revision 1.355. 1999-07-09 12:51:11 +00:00
kato
55796aeb7e Sync with sys/i386/i386/machdep.c revision up to 1.354. 1999-07-08 12:48:53 +00:00
msmith
af7615d39a Move the initialisation/tuning of nmbclusters from param.c/machdep.c
into uipc_mbuf.c.  This reduces three sets of identical tunable code to
one set, and puts the initialisation with the mbuf code proper.

Make NMBUFs tunable as well.

Move the nmbclusters sysctl here as well.

Move the initialisation of maxsockets from param.c to uipc_socket2.c,
next to its corresponding sysctl.

Use the new tunable macros for the kern.vm.kmem.size tunable (this should have
been in a separate commit, whoops).
1999-07-05 08:52:54 +00:00
kato
e386828d08 Sync with sys/i386/i386/machdep.c revision 1.349. 1999-07-03 08:31:32 +00:00
kato
d49508a313 Sync with sys/i386/i386/userconfig.c revision 1.147. 1999-06-30 13:30:58 +00:00
kato
df883482f7 Sync with sys/i386/i386/machdep.c revision 1.345. 1999-06-30 13:30:10 +00:00
kato
b601ed220a Sync with sys/i386/i386/userconfig.c revision 1.146. 1999-06-28 13:10:03 +00:00
kato
a6bac2371e Sync with sys/i386/i386/machdep.c revision 1.344. 1999-06-28 13:08:59 +00:00
kato
c93d5ba964 Sync with sys/i386/i386/machdep.c revision 1.342. 1999-06-21 11:14:27 +00:00
kato
abd825f27c Sync with sys/i386/i386/machdep.c revision up to 1.341. 1999-06-17 11:09:39 +00:00
kato
d6a048fdfe 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
f62d670f13 Sync with sys/i386/i386/userconfig.c revision 1.145. 1999-05-25 10:32:10 +00:00
kato
ab6fd80abe Sync with sys/i386/i386/userconfig.c revision 1.144. 1999-05-17 12:09:07 +00:00
kato
974d1e773f Sync with sys/i386/i386/userconfig.c revision 1.143. 1999-05-14 10:05:55 +00:00
luoqi
a60ffa3c1c Unbreak VESA on SMP. 1999-05-12 21:39:07 +00:00
kato
1819f2bc74 Sync with sys/i386/i386/usercnofig.c revision 1.142. 1999-05-11 08:36:12 +00:00
kato
23c23f2ecb Sync with sys/i386/i386/userconfig.c revision 1.141. 1999-05-09 04:30:08 +00:00
kato
897b3119d8 Sync with sys/i386/i386/userconfig.c revision 1.138. 1999-05-06 09:15:20 +00:00
luoqi
0d146f2c92 Initialize dblfault_tss.tss_fs to the per-cpu private data segment selector. 1999-05-06 00:54:54 +00:00
luoqi
71f27dfa4f Do not set curproc until proc0 is fully initialized (in proc0_init()). 1999-05-06 00:39:00 +00:00
kato
0c9ccf1299 Sync with sys/i386/i386/machdep.c revision 1.332. 1999-04-28 08:03:54 +00:00
kato
3942647e62 Sync with sys/i386/i386/userconfig.c revision 1.137. 1999-04-25 04:06:43 +00:00
kato
10f2d7145c Sync with sys/i386/i386/userconfig.c revision 1.136. 1999-04-20 09:10:47 +00:00
kato
dd587e19a0 Sync with sys/i386/i386/machdep.c revision 1.330. 1999-04-20 09:08:51 +00:00
kato
193b16e006 Sync with sys/i386/i386/userconfig.c revision 1.135. 1999-04-19 11:06:08 +00:00
kato
6b69df13a8 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
63ec7836d6 Sync with sys/i386/i386/userconfig.c revision 1.133. 1999-04-10 04:44:33 +00:00
jdp
60ad956050 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
55514a1b11 Sync with sys/i386/i386/machdpe.c revision 1.327. 1999-03-06 09:43:01 +00:00
kato
edaa88df80 Sync with sys/i386/i386/userconfig.c revision 1.132. 1999-02-25 11:05:50 +00:00
kato
bdc44270be Sync with sys/i386/i386/machdep.c revision 1.326. 1999-02-16 11:07:06 +00:00
kato
22876d9138 Sync with sys/i386/i386/machdep.c revision 1.325. 1999-02-12 09:15:33 +00:00
kato
84517f5f62 Sync with sys/i386/i386/userconfig.c revision 1.130. 1999-02-10 13:02:38 +00:00
kato
235db2cce1 Sync with sys/i386/i386/userconfig.c revision 1.129. 1999-02-04 13:58:44 +00:00
kato
b7574da882 Sync with sys/i386/i386/machdep.c revision 1.324. 1999-02-04 09:55:42 +00:00
kato
cf43042d95 Sync with sys/i386/i386/userconfig.c revision 1.128. 1999-01-31 17:44:06 +00:00
kato
33c0a6b08a Sync with sys/i386/i386/machdep.c revision 1.323. 1999-01-29 10:43:09 +00:00
kato
bf509156c8 Sync with sys/i386/i386/userconfig.c revision 1.127. 1999-01-28 09:13:20 +00:00
kato
fc135af451 Sync with sys/i386/i386/userconfig.c revision 1.126. 1999-01-18 11:01:57 +00:00
kato
14a90288e9 Sync with sys/i386/i386/machdep.c revision up to 1.125. 1999-01-16 11:39:08 +00:00
kato
f4bae6e981 Sync with sys/i386/i386/machdep.c revision up to 1.322. 1999-01-16 11:38:03 +00:00
kato
d7d67115d6 Sync with sys/i386/i386/userconfig.c revision up to 1.120. 1999-01-08 16:05:27 +00:00
kato
e6a6a95f8f Sync with sys/i386/i386/machdep.c revision 1.320. 1999-01-08 16:04:20 +00:00
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
eivind
4547a09753 Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
kato
d91961b04b 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
ad6a47921f Sync with sys/i386/i386/machdep.c revision 1.286. 1998-02-04 10:19:33 +00:00
kato
b67921a0cc Sync with sys/i386/i386/trap.c revision 1.120. 1998-01-31 15:16:27 +00:00
kato
d5ab133da5 Sync with sys/i386/i386/machdep.c revision 1.285. 1998-01-30 12:03:13 +00:00
kato
51d33136d8 Sync with sys/i386/i386/userconfig.c revision 1.101. 1998-01-26 09:18:18 +00:00
kato
4f6278680f 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
f7ba097831 Sync with sys/i386/i386/machdep.c revision 1.283. 1998-01-24 06:53:32 +00:00
kato
1f43ea90ad Sync with sys/i386/i386/machdep.c revision 1.282. 1998-01-24 03:15:37 +00:00
kato
f95fe9806c Sync with sys/i386/i386/userconfig.c revision 1.100. 1998-01-22 14:26:34 +00:00
kato
5da4359f26 Sync with sys/i386/i386/machdep.c revision 1.281. 1998-01-12 15:38:51 +00:00
kato
cb8d075676 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
6fb547d5b3 Sync with sys/i386/i386/microtime.s revision 1.40. 1998-01-02 09:31:16 +00:00
kato
d3c0f0fbd0 Sync with sys/i386/i386/microtime.s revision up to 1.39. 1997-12-29 16:17:09 +00:00
kato
29b2fd54bd Sync with sys/i386/i386/userconfig.c revision 1.99. 1997-12-29 16:06:20 +00:00
kato
e50e705007 Merge from sys/i386/i386/microtime.s revision 1.36. 1997-12-28 08:16:28 +00:00
peter
603f05b160 #include "opt_user_ldt.h" so that the #ifdef USER_LDT checks can work, as
commented about at length in the PR audit trail.

PR: 2412
1997-12-27 02:28:28 +00:00
phk
cadc59e511 Rename "i586_ctr" to "tsc" (both upper and lower case instances).
Fix a couple of printfs too.

Warning: This changes the names of a couple of kernel options!
1997-12-26 20:42:37 +00:00
kato
fd72a030d7 Don't use PG_N if EPSON PC-486HX/HG/HA (PC-9801 compatible) are
detected.  These machine cannot make L2 cache write-through by PG_N,
and only I/O access (undocumented) can do that.  If PG_N is used,
system hangs.

Reviewed by:	tos@fa2.so-net.or.jp (Toshiyuki Kawashima)
1997-12-16 10:22:49 +00:00
kato
4595f412fe Sync with sys/i386/i386/microtime.s revision 1.35. 1997-12-15 08:37:13 +00:00
kato
9f9d754997 Sync with sys/i386/i386/machdep.c revision 1.279. 1997-12-14 12:31:44 +00:00
kato
7f20d6a1c7 Sync with sys/i386/i386/userconfig.c revision 1.98. 1997-12-09 11:55:25 +00:00
kato
515aa624c8 Sync with sys/i386/i386/trap.c revision 1.119. 1997-12-06 06:19:19 +00:00
kato
1dd09bb9b4 Sync with sys/i386/i386/machdep.c and trap.c revisions 1.278 and
1.118, respectively.
1997-12-05 11:48:53 +00:00
kato
185fb48052 Sync with sys/i386/i386/machdep.c and trap.c revisions 1.275 and
1.116, respectively.
1997-12-03 09:46:34 +00:00
kato
ffb62a2a81 Sync with sys/i386/i386/userconfig.c revision 1.97. 1997-11-27 10:15:48 +00:00
kato
2c74c3d3ed Sync with sys/i386/i386/machdep.c revision up to 1.274. 1997-11-25 09:54:36 +00:00
kato
57d6b2a9cf Sync with sys/i386/i386/trap.c revision 1.115. 1997-11-25 09:53:44 +00:00
kato
81bbaff831 Sync with following files:
- sys/i386/i386/machdep.c revision 1.271
	- sys/i386/i386/trap.c revision 1.114
	- sys/i386/isa/if_ed.c revision 1.128
	- sys/i386/isa/if_fe.c revision 1.34
	- sys/i386/isa/syscons.c revision 1.238.
	- sys/i386/isa/wd.c revision 1.144
1997-11-07 12:54:01 +00:00
kato
c08005ca1f Sync with sys/i386/i386/userconfig.c revision 1.96. 1997-11-03 02:29:44 +00:00
kato
d50e1b9be0 Synchronize with sys/i386/i386/microtime.s revision 1.34. 1997-10-29 08:13:32 +00:00
kato
9b1b334b8a Synchronize with sys/i386/i386/userconfig.c revision 1.269. 1997-10-13 09:22:03 +00:00
kato
f1f94ee06d Synchronize with sys/i386/i386/machdep.c revision 1.269. 1997-10-13 09:21:16 +00:00
kato
efda9bcc78 Synchronize with sys/i386/i386/userconfig.c revision 1.94. 1997-10-12 12:01:29 +00:00
kato
083d2a8d15 Synchronize with sys/i386/i386/machdep.c revision 1.268. 1997-10-12 11:58:09 +00:00
kato
398f69808a Synchronize with sys/i386/i386/trap.c revision 1.113. 1997-10-12 11:57:23 +00:00
kato
2a21c9d118 Synchronize with sys/i386/i386/machdep.c revision 1.266. 1997-09-26 09:47:04 +00:00
kato
5442745e13 Synchronize with sys/i386/i386/machdep.c and trap.c reivisions 1.265
and 1.111, respectively.
1997-09-22 12:20:42 +00:00
kato
3c6b3e2f16 Synchronize with sys/i386/i386/userconfig.c revision 1.93. 1997-09-19 08:48:02 +00:00
kato
c08543cb9c Synchronize with sys/i386/i386/userconfig.c revision 1.92. 1997-09-10 08:06:35 +00:00
kato
12e4ae6425 Synchronize with sys/i386/i386/microtime.s revision 1.33. 1997-09-08 08:40:53 +00:00
kato
669c3ef947 Synchronize with sys/i386/i386/trap.c revision 1.110. 1997-09-06 01:19:10 +00:00
kato
94107c4ca8 Synchronize with sys/i386/i386/machdep.c revision up to 1.263. 1997-09-05 10:14:36 +00:00
kato
da2d7453a8 Synchronize with sys/i386/i386/userconfig.c revision 1.91. 1997-09-04 13:21:23 +00:00
kato
74946fb395 Synchronize with sys/i386/i386/machdep.c and microtime.s revisions
1.261 and 1.32, respectively.
1997-09-03 12:41:16 +00:00
kato
37cdd6e9b9 Synchronize with sys/i386/i386/microtime.s revision 1.31. 1997-09-01 10:42:43 +00:00
kato
245e6b264e Synchronize with sys/i386/i386/machdep.c revision 1.260. 1997-09-01 10:42:03 +00:00
kato
9dc7e3f1c1 Synchronize with sys/i386/i386/userconfig.c revision 1.90. 1997-08-29 14:53:18 +00:00
kato
4593c74e11 Synchronize with sys/i386/conf/files.i386 and sys/i386/i386/trap.c
revisions 1.173 and 1.109, respectively.
1997-08-29 08:15:57 +00:00
kato
50d8ef1283 Synchronize with sys/i386/i386/machdep.c and trap.c revision 1.258 and
1.108, respectively.
1997-08-27 08:43:21 +00:00
kato
d8a42482fc Synchronize with sys/i386/i386/microtime.s revision up to 1.29. 1997-08-24 11:09:36 +00:00
kato
df680a3c7b Synchronize with sys/i386/i386/userconfig.c and sys/i386/isa/clock.c
revisions 1.89 and 1.100, respectively.
1997-08-22 08:12:14 +00:00
kato
1dcee24a4f Synchronize with sys/i386/i386/machdep.c, trap.c and
sys/i386/isa/npx.c revisions 1.257, 1.107 and 1.52, respectively.
1997-08-21 10:13:12 +00:00
kato
bd01eda024 Synchronize with sys/i386/i386/trap.c revision 1.106 and
sys/i386/isa/sio.c revision 1.175.
1997-08-20 10:25:21 +00:00
kato
1030957bb5 Synchronize with sys/i386/i386/machdep.c, trapc and sys/i386/isa/npx.c
revisions 1.256, 1.105 and 1.51, respectively.
1997-08-18 11:30:05 +00:00
kato
88a74fed35 Synchronize with sys/i386/i386/userconfig.c revision 1.88. 1997-08-17 03:38:52 +00:00
kato
ef76809350 Synchronize with sys/i386/i386/trap.c revision 1.104. 1997-08-13 11:00:09 +00:00
kato
d18cfb8af2 Synchronize with sys/i386/i386/userconfig.c revision 1.87. 1997-08-11 14:41:18 +00:00
kato
4f2ef24689 Synchronize with sys/i386/i386/trap.c revision 1.103. 1997-08-10 10:53:49 +00:00
kato
9b06e3585e Synchronize with sys/i386/i386/trap.c revisino 1.102. 1997-08-09 01:57:04 +00:00
kato
2d3409cd0c Synchronize with sys/i386/i386/machdep.c revision 1.255. 1997-08-09 01:56:34 +00:00
kato
7fb777a1f4 Synchronize with sys/i386/i386/machdep.c revision 1.254. 1997-08-06 09:43:45 +00:00
kato
b2a0711936 Synchronize with sys/i386/i386/microtime.s revision 1.26. 1997-07-21 13:12:45 +00:00
kato
2c550ff392 Synchronize with sys/i386/i386/machdep.c and trap.c revisions 1.253
and 1.101, respectively.
1997-07-21 13:04:54 +00:00
kato
477f31a0f9 Synchronize with sys/i386/i386/microtime.s revision 1.25. 1997-07-20 11:56:48 +00:00
kato
ff5923046a Synchronize with sys/i386/i386/machdep.c revision 1.252. 1997-06-30 09:58:39 +00:00
kato
0c0bda62e2 Synchronize with following changes:
>  Revision  Changes    Path
>  1.250     +1 -18     src/sys/i386/i386/machdep.c
>  1.48      +1 -7      src/sys/i386/conf/options.i386
>  1.251     +19 -46    src/sys/i386/i386/machdep.c
>  1.24      +2 -6      src/sys/i386/i386/microtime.s
>  1.100     +4 -15     src/sys/i386/i386/trap.c
>  1.46      +6 -7      src/sys/i386/isa/npx.c
1997-06-23 09:35:47 +00:00
kato
635eadcfef Synchronize with sys/i386/i386/userconfig.c revision 1.86. 1997-06-23 09:31:58 +00:00
kato
41888e8395 Synchronize with sys/i386/i386/machdep.c revision up to 1.249. 1997-06-15 16:35:13 +00:00
kato
3ebcc2751a Synchronize with sys/i386/i386/machdep.c and trap.c revisions 1.247
and 1.99, respectively.
1997-06-09 13:38:21 +00:00
kato
800e70338e Synchronize with following files:
Revision  Changes    Path
>  1.165     +2 -1      src/sys/i386/conf/files.i386
>  1.246     +2 -1      src/sys/i386/i386/machdep.c
>  1.98      +2 -2      src/sys/i386/i386/trap.c
>  1.87      +2 -2      src/sys/i386/isa/clock.c
>  1.89      +2 -356    src/sys/i386/isa/isa.c
>  1.45      +2 -1      src/sys/i386/isa/npx.c
1997-06-02 15:45:40 +00:00
kato
d0074234b1 Synchronize with following changes:
>  Revision  Changes    Path
>   1.97      +2 -1      src/sys/i386/i386/trap.c
>   1.86      +2 -1      src/sys/i386/isa/clock.c
>   1.88      +2 -1      src/sys/i386/isa/isa.c
>   1.44      +3 -2      src/sys/i386/isa/npx.c
1997-05-31 12:43:17 +00:00
kato
9cb73532ad Synchronize with sys/i386/i386/microtime.s revision 1.23. 1997-05-30 10:00:58 +00:00
kato
f4a833edc3 Synchronize with sys/i386/i386/trap.c revision 1.96. 1997-05-30 09:59:11 +00:00
kato
2450f614ec Synchronize with sys/i386/i386/machdep.c revision up to 1.245. 1997-05-28 09:16:19 +00:00
kato
6fdede24b9 Synchronize with sys/i386/i386/machdep.c revision 1.242. 1997-05-23 10:17:05 +00:00