simonb
f104ee65be
Add a sysctl_rdminstruct() function - same as sysctl_rdstruct() but
...
can return short data if *oldlenp is less than len.
2000-11-20 01:46:56 +00:00
jdolecek
2faa9db8c1
cosmetic change in brand string handling (NULL vs. "")
...
drop Xeon from PIII Cascades entry, it should be handled by the brand id
support (pointed out by Scott Telford in private e-mail).
2000-11-19 23:38:22 +00:00
jdolecek
26fe6166ed
check_pty(): simple_unlock() might have been called even if the lock was
...
not locked previously in some cases; unlock only if the lock is held
2000-11-19 22:34:56 +00:00
matt
95a8447ccf
Add G4 specific exceptions (include AltiVec).
2000-11-19 20:48:20 +00:00
matt
bb71a6b332
Add AltiVec VSCR definitions.
2000-11-19 20:41:04 +00:00
sommerfeld
2a0dca4bec
Correct conditionalization of last change.
2000-11-19 20:11:12 +00:00
sommerfeld
8074b0b0b2
MULTIPROCESSOR: context switch to cpu's idle pcb before unlocking the
...
scheduler in idle so our stack doesn't get stolen out from underneath us.
2000-11-19 20:08:36 +00:00
sommerfeld
c0c9c552c0
Fix obvious typo (don't mark current cpu as not running when doing a
...
broadcast IPI).
2000-11-19 20:05:25 +00:00
matt
b1e1cfdb4a
Add AltiVec VEC bit.
2000-11-19 19:52:37 +00:00
thorpej
87819535b2
Synch cpu_hatch() with the i386:
...
- print the same style message when the CPU is running.
- Initialize ci->ci_schedstate.spc_runtime on the CPU.
2000-11-19 19:18:19 +00:00
thorpej
69a3a857be
As a temporary measure, protect microtime() with a simple lock.
...
XXX Needs to be rewritten from scratch.
2000-11-19 19:16:44 +00:00
martin
4a0283d9f0
Allow changing of settings via ioctl only for the superuser.
...
Fixes PR security/11524.
2000-11-19 18:48:44 +00:00
bouyer
d81861796a
Add support for Intel ICH2
2000-11-19 15:32:24 +00:00
mrg
5d04f7b69d
update to reality. sync with GENERIC32.
2000-11-19 15:23:55 +00:00
mrg
1368967d8c
fix some comments.
2000-11-19 15:22:51 +00:00
tsutsui
ae33b9bc92
More cosmetics.
...
BTW, why these two "generic" config files exist?
2000-11-19 14:23:34 +00:00
tsutsui
d805c3822e
Remove "rnd is EXPERIMENTAL" comment.
2000-11-19 14:14:31 +00:00
tsutsui
523ec808a6
- Add bba* at ioasic?
...
- Some cosmetics
2000-11-19 14:10:56 +00:00
tsutsui
13c5a51b02
Add some newer stuff from GENERIC and enable rnd.
2000-11-19 14:03:39 +00:00
tsutsui
f6c12f31f0
Sync with GENERIC.
2000-11-19 13:46:29 +00:00
simonb
f2df695c3b
Update extern declarations of {hpux,ultrix}_syscallnames for change
...
to e_syscallnames in struct emul. Untested on HP, but should be ok.
2000-11-19 12:47:51 +00:00
chs
ade4906074
verify that a LIST or TAILQ isn't already corrupted before modifying it.
...
enable with "options QUEUEDEBUG".
2000-11-19 06:00:57 +00:00
chs
3a947bfaf7
avoid removing syncer vnodes from the worklist twice.
2000-11-19 05:53:21 +00:00
thorpej
b9ad1f75b9
Make VM_MAX_KERNEL_ADDRESS end on a page boundary.
2000-11-19 03:16:55 +00:00
thorpej
561db1fb7e
Implement pmap_growkernel().
2000-11-19 03:16:34 +00:00
sommerfeld
0cc75528c8
If MULTIPROCESSOR, count cpus and use that for hw.ncpu
2000-11-19 01:46:26 +00:00
sommerfeld
89b4aa9918
Preliminary MULTIPROCESSOR support:
...
- for CP_TIME, sum the times across all processors.
- for kinfo_proc2, fill in cpu_id.
2000-11-19 01:34:58 +00:00
sommerfeld
c9313ae2fd
Back out mistaken commits.
2000-11-19 00:56:39 +00:00
sommerfeld
d9969892eb
Extend kinfo_proc2 with CPU id
2000-11-19 00:54:50 +00:00
sommerfeld
f276315e1c
In pool_setlowat(), only call pool_catchup() if the pool is under the
...
low water mark. (Avoids annoying warning when you setlowat a static
pool).
2000-11-19 00:29:51 +00:00
mrg
e97f9e9f7a
use OpenFirmware, not prom version 0, operations. eeprom(8) works now.
2000-11-18 23:45:05 +00:00
mrg
a2ea64e265
sync with sparc port. add support for OF_setprop(), OF_nextprop(),
...
OF_interpret() and OF_milliseconds().
2000-11-18 23:43:06 +00:00
scw
a29dff3290
Fix a braino in the last commit.
2000-11-18 22:46:07 +00:00
scw
4b0eb0e2dd
Allow a degree of tolerance when calculating the baudrate timing constant.
2000-11-18 22:34:25 +00:00
tsutsui
ed94d05b50
Clear %fp to terminate backtrace on gdb.
2000-11-18 20:46:28 +00:00
soren
60239485e8
Some CRIME definitions.
2000-11-18 19:33:49 +00:00
soren
4227c8ce3a
Use ETHER_ADDR_LEN.
2000-11-18 19:32:34 +00:00
thorpej
137c030d5b
Count individual interprocessor interrupts -- it's good to know where
...
they all come from.
2000-11-18 19:25:35 +00:00
thorpej
34f24f4819
Make sure that the cpu_info points at the correct softc on
...
single-processor kernels running on multi-processor systems.
2000-11-18 17:45:31 +00:00
sommerfeld
859adc84de
Loading the cpu_info value into the kgp for the new cpu isn't likely to work
...
very well.
2000-11-18 16:21:37 +00:00
simonb
3f9e6ed0b8
Don't use alloca() - breaks compile on alpha (alloca is not prototyped
...
anywhere).
2000-11-18 15:58:13 +00:00
sommerfeld
acc196c4a9
Initialize ring buffer pointers when the ring buffer is allocated.
...
(comsoft() can be invoked before comopen() on serial consoles; a character
received before the console is opened "for real" can result in a fatal trap
unless the ring buffer pointers are initialized early)
2000-11-18 15:46:23 +00:00
lukem
9f10280ff3
OF_nextprop(): change 'char *nextprop' -> 'void *nextprop', in line with
...
pk's change to sys/dev/ofw/openfirm.h rev 1.15.
2000-11-18 12:15:50 +00:00
thorpej
73265fa0c9
Duh, don't need SGMAP-related includes on this chipset.
2000-11-18 05:56:20 +00:00
thorpej
0aea00f57c
Regen.
2000-11-18 05:29:27 +00:00
thorpej
cec0022eeb
Add some 3D Labs products, from XFree86, via groo@netbsd.org
2000-11-18 05:29:00 +00:00
mrg
d6d4159b1a
s/register//
2000-11-18 03:52:50 +00:00
mrg
40095eb6a1
struct pcb's lastcall is const char *
2000-11-18 03:51:14 +00:00
mrg
0485f611f1
remove dead debugging code.
2000-11-18 03:49:38 +00:00
mrg
822cec2475
get rid of remaining warnings.
2000-11-18 03:23:53 +00:00