thorpej
a9beff9534
Use aprint_*().
2006-02-19 14:59:22 +00:00
perry
68da44823c
u_intN_t -> uintN_t
2005-12-26 19:23:59 +00:00
perry
5f1c88d70d
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:06:46 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
kleink
aece7a90fd
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
christos
4c0c764bc7
minor nits.
2005-06-02 13:04:05 +00:00
martin
9d33dc306b
Fix qualify/shadow warnings.
2005-06-02 08:03:50 +00:00
christos
efc217b18f
avoid variable shadowing.
2005-05-29 21:58:41 +00:00
drochner
0717077eea
The joystick driver is using mi timing code for many months.
...
Noone complained, so we can remove the unused md versions.
2005-02-18 15:39:17 +00:00
perry
449436c385
move a prototype back inside an #ifdef -- my GENERIC kernels worked
...
fine with it in the new place, but compiling another kernel found that
it wasn't a good idea.
2005-02-03 21:54:49 +00:00
perry
32a519cece
de-__P, partially ANSIfy
2005-02-03 21:08:57 +00:00
drochner
1134c44162
adapt to ISA "unknown address" namespace separation
2004-09-14 20:25:05 +00:00
mycroft
1e3cb7e7ec
Back out part of the changes in rev 1.86. Remove npxdna_notset(), and instead
...
have the DNA trap handler point to npxdna_empty() by default. This way, if
there are no npx devices found and MATH_EMULATE is not configured, we go back
to the old behavior of issuing a SIGKILL and printing:
pid XXX killed due to lack of floating point
rather than panicking.
2004-07-06 01:30:08 +00:00
yamt
eb3fe82f73
i8254_initclocks: fix an integer overflow problem in rev.1.83.
...
a patch provided by FUKAUMI Naoki. PR/26152.
2004-07-03 18:24:37 +00:00
yamt
38cdafcad1
{i8254,lapic}_initclocks: try to be more precise using fixtick.
2004-07-01 13:00:39 +00:00
yamt
9a1474eb02
remove a prototype for a function which doesn't exist. (npxdna)
2004-06-23 12:24:01 +00:00
yamt
6b9fd4bdc5
npxsave_lwp: issue pause in a busy loop.
2004-05-13 12:13:20 +00:00
minoura
d75fa2749f
Move misplaced debug code.
...
This should make it compile w/o pcppi and w/ CLOCKDEBUG.
2004-04-24 13:38:36 +00:00
simonb
84b7d801ac
Only initialise ksi if we use it.
2004-03-21 10:56:24 +00:00
bjh21
dff5222d3a
Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
...
drivers that attach to it. This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111. The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers. To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.
In theory, this shouldn't cause any behavioural changes in the drivers
concerned. Thy just use rather more function pointers than before. Tested
on i386 and (with a new host driver) acorn32. Compiled on several other
affected architectures.
2004-03-13 17:31:33 +00:00
wiz
d20841bb64
Uppercase CPU, plural is CPUs.
2004-02-13 11:36:08 +00:00
yamt
2a93afdfd5
rename i386 mdlwp flags from MDP_ to MDL_
...
to avoid confusion with mdproc flags which also have MDP_ prefixes.
2004-01-28 10:48:55 +00:00
scw
43cdf5ffb6
__splbarrier() is deprecated in favour of the MI __insn_barrier().
2004-01-26 19:43:25 +00:00
jdolecek
cbff3c76c3
fix IPRINTF() code to compile if the printf()s are enabled; also print
...
lwp pointers rather than proc pointer
2003-12-05 21:24:57 +00:00
keihan
8476e6755a
NetBSD.ORG -> NetBSD.org
...
Now all "NetBSD.ORG" are gone from src/sys.
2003-12-04 12:42:54 +00:00
cl
ed9c2d7075
don't uvm_swapout LWPs which are LSONPROC on another cpu.
...
uvm_swapout_threads will swapout LWPs which are running on another CPU:
- uvm_swapout_threads considers LWPs running on another CPU for swapout
if their l_swtime is high
- uvm_swapout_threads considers LWPs on the runqueue for swapout if their
l_swtime is high but these LWPs might be running by the time uvm_swapout
is called
symptoms of failure: panic in setrunqueue
fixes PR kern/23095
2003-10-19 17:45:35 +00:00
thorpej
55452b8f35
Use KSI_INIT_TRAP().
2003-10-08 19:10:30 +00:00
skd
6347eb786e
Support for proper siginfo FP codes. Also, set si_trap to fp status word.
...
Approved by fvdl.
2003-10-07 14:35:37 +00:00
christos
d5f61bb017
SA_SIGINFO changes
2003-09-06 23:15:35 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
martin
d505b18964
Make sure to include opt_foo.h if a defflag option FOO is used.
2003-06-23 11:00:59 +00:00
dsl
7452c78152
Fix botched nathanw_sa_merge change
...
fixes port-i386/21603
2003-05-17 10:34:39 +00:00
wiz
ee6d7b94d4
Remove last traces of obsolete olms and omms drivers.
...
Ok'd by drochner and fvdl.
2003-05-15 13:13:21 +00:00
drochner
1927ae6a7e
-remove opms attachment stuff which is pointless after
...
opms itself was removed
-do the bus_space reservation in any case
-extend a compile-time check: pccons and ega can't coexist either
2003-05-14 12:10:04 +00:00
drochner
00b4e62a0a
fix "unintialized variable" warning
2003-05-14 11:27:39 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
fvdl
6886cf85b0
Initialize name and dma tag.
2003-04-20 16:54:23 +00:00
fvdl
4d6d3fb37b
Call ahc_softc_init in attach function.
2003-04-20 15:48:25 +00:00
fvdl
349233c2db
Adapt to new backend. Needs testing.
2003-04-19 19:36:20 +00:00
taca
e7e88128f7
Fix compile error with struct consdev change.
2003-03-06 23:47:35 +00:00
fvdl
5d9be5f0db
The IDT only contains gate descriptors, so define it as such.
2003-03-03 22:14:15 +00:00
fvdl
2c7dd6813f
Moved to x86/isa.
2003-02-27 00:27:54 +00:00
fvdl
ab4edb55ec
Adapt for i386/x86 change.
2003-02-26 22:21:19 +00:00
gson
d3fce65758
Reserve the I/O ports used by the CRT controller to keep them from
...
being allocated for other purposes such as PCMCIA I/O space. Fixes
port-i386/5177.
2003-02-19 04:07:56 +00:00
nakayama
64eb1178ab
Share i386/tsc_microtime.c with alpha and sparc64 as kern_microtime.c.
...
(approved by martin)
2003-02-05 12:18:01 +00:00
thorpej
5819507df3
Merge the nathanw_sa branch.
2003-01-19 16:30:13 +00:00
thorpej
a50e3bc1cb
Merge the nathanw_sa branch.
2003-01-17 22:58:53 +00:00
perry
c2afe21c94
Change from a hardcoded sanity check date that has to be updated by
...
hand every few years to code that uses the automatically generated
time value from config_time.h
Fixes an ancient XXX in the code.
2002-12-10 23:24:33 +00:00
fvdl
5c45b70587
Don't use delay() in the IPI wait loop. Use an empty one instead, with
...
a counter check in the DIAGNOSTIC case.
2002-12-04 01:36:10 +00:00
kenh
25c20430c3
The day-of-week register in the MC146818 has the value 1-7, but
...
clock_secs_to_ymdhms() returns dt_wday with a range of 0-6. Make sure
the DOW register has the correct range.
2002-12-03 16:11:11 +00:00