chs
a284236c04
in fork1(), only add make the new proc visible (by giving it a pid
...
and adding it to allproc) after it's fully initialized.
this prevents the scheduler from coming in via a clock interrupt
and tripping over a partially-initialized proc.
2000-11-08 05:16:23 +00:00
itojun
e452bf6c6b
save a little bit of CPU time (avoid computing CBC IV we do not use).
...
sync with kame.
2000-11-08 04:57:57 +00:00
erh
1f16400706
Update the names of some unimplemented syscalls to match what linux calls them. Match const in parameters to our sys_writev.
2000-11-08 04:19:00 +00:00
msaitoh
3ba9161ab2
check whether SH4_PCMCIA is defined or not.
...
fixes PR. 11441.
2000-11-08 01:03:03 +00:00
msaitoh
5cb13a674a
add shpcmcia_mem*() for SH4_PCMCIA
2000-11-08 01:01:22 +00:00
matt
d522d7acc9
Add fwlynx & fwnode.
2000-11-07 18:45:46 +00:00
matt
4feeea4377
Reduce maxusers to 12 (this is a single user kernel after all).
...
Remove COMPAT_13 since it's not needed.
2000-11-07 17:37:07 +00:00
matt
c62b76ce87
Switch from the old yucky ncr to the new good siop driver for 53c8xx.
2000-11-07 17:01:33 +00:00
tsutsui
b666be4488
Add more names:
...
MI: hifn, intersil7170, neo, siop_common, sysmon_envsys, sysmon_wdog
i386: mca
newsmips: dmac, spifi, xafb
2000-11-07 15:33:53 +00:00
soren
232e2c5ef9
Regen.
2000-11-07 13:53:59 +00:00
soren
0dc9fd53b9
Just print 'Intel' for their other OUI.
2000-11-07 13:53:42 +00:00
jdolecek
7d8eefdffc
add void *p_emuldata into struct proc - this can be used to hold per-process
...
emulation-specific data
add process exit, exec and fork function hooks into struct emul:
* e_proc_fork() - called in fork1() after the new forked process is setup
* e_proc_exec() - called in sys_execve() after the executed process is setup
* e_proc_exit() - called in exit1() after all the other process cleanups are
done, right before machine-dependant switch to new context; also called
for "old" emulation from sys_execve() if emulation of executed program and
the original process is different
This was discussed on tech-kern.
2000-11-07 12:41:52 +00:00
jdolecek
75823fcfc2
write KTR_EMUL entry on end of fork1() - primarily usable when the new
...
process never does execve(2), such as when creating a thread
2000-11-07 12:31:17 +00:00
jdolecek
04cbfb1132
add M_EMULDATA
2000-11-07 12:12:15 +00:00
nisimura
dfb8c2a44f
Fix a minor typo in the previous change of tp->t_linesw introduction.
2000-11-07 09:23:21 +00:00
thorpej
5929990d15
Add `bktr'.
2000-11-07 06:02:24 +00:00
augustss
5a356af882
Regen.
2000-11-06 22:32:49 +00:00
augustss
75367f830a
Add some OUIs and models. From OpenBSD.
2000-11-06 22:32:26 +00:00
augustss
a00e309252
Fix speeling in cooment.
2000-11-06 22:10:03 +00:00
augustss
83bdca3a71
Print a newline after the random number speed message.
2000-11-06 22:01:31 +00:00
tsutsui
f1403ed3e2
Protect netisr by splnet().
2000-11-06 16:54:28 +00:00
tsubai
760413cb15
"xa" frame buffer driver.
2000-11-06 15:00:28 +00:00
itojun
7236276c18
sync with kame.
...
- include string.h (instead of sys/systm.h) on userland compilation.
make compilation under src/regress/sys/crypto happier. from minoura
- (blowfish) KNF.
2000-11-06 14:11:40 +00:00
tsubai
532d1c33c2
Enter ddb after ddb_init() if -d is specified.
2000-11-06 12:35:21 +00:00
tsubai
7bfead48b0
Rearrange console selection code.
...
Now usb keyboard is preferred to adb.
2000-11-06 12:33:07 +00:00
itojun
ad037eb274
avoid namespace pollution by radix.h. the #ifndef _KERNEL portion was to
...
use radix.c in userland compilation, however, noone is using it.
(routed has its own radix.c)
2000-11-06 11:07:37 +00:00
itojun
47bce75f00
check IPsec SA type (tunnel/transport/any) when we try to decapsulate IPsec
...
tunnel mode packet. decapsulate only if we got a tunnel mode SA.
KAME PR 296.
2000-11-06 00:58:34 +00:00
itojun
ef8a34f5c3
fix IPv4 TTL selection with AF_INET6 API. sync with kame. From: jdc
2000-11-06 00:50:12 +00:00
matt
5a55a6ac60
Add files.ieee1394
2000-11-05 23:19:41 +00:00
onoe
5d7a16ff8c
make it compilable with FW_DEBUG
2000-11-05 23:04:00 +00:00
chs
b6b3ee8657
remove what looks to be a bit of leftover debug code.
2000-11-05 23:00:10 +00:00
chs
1c76b8d14d
fix types in debug code.
2000-11-05 22:59:27 +00:00
matt
c135d1f282
Add files.ieee1394
2000-11-05 22:48:27 +00:00
tv
c6a1ef4f70
8 spaces -> tab
2000-11-05 22:41:35 +00:00
matt
f0bd09f42d
Merge in my some of my stuff.
2000-11-05 22:35:56 +00:00
thorpej
c60d6ae15b
Machine pmc.h
2000-11-05 22:28:00 +00:00
thorpej
fa03f6e74d
If we have a working cycle counter, compute the number of CPU
...
cycles in a second, and print the CPU speed.
Derived from similar code in FreeBSD.
2000-11-05 22:10:01 +00:00
matt
43ff857e29
Don't allow use of mapreg is they are at or above 0x10000 in I/O space. (in
...
other words, if the address uses bits in the top 16 bits, don't use it).
2000-11-05 21:14:59 +00:00
mhitch
d458239a94
When doing the cacheflush for MIPS1, adjust the length to account for
...
an unaligned buffer. The last word of the buffer was not getting flushed
if the buffer was unaligned and fit in a single DMA segment. Now dump(8)
works on both MIPS1 and MIPS3 DECstations.
2000-11-05 21:02:13 +00:00
jdolecek
0f1770e08d
make compilable without FW_DEBUG
2000-11-05 19:43:32 +00:00
onoe
e83458422f
First Prototype implementation of network interface part for IEEE1394 (if_fw).
...
Current status:
Only OHCI chip is supported (fwohci).
ping (IPv4) works with Sony's implementation (SmartConnect) on Win98.
sometimes works but not stable.
Not implemented yet:
IRM (Isochronous Resource Manager) functionality.
Link layer fragmentation.
Topology map.
More to do:
clean ups
MCAP
charactor device part
dhcp
There is no entry in GENERIC config file yet.
Follow sys/dev/ieee1394/IMPLEMENTATION to enable if_fw.
2000-11-05 17:17:12 +00:00
thorpej
1363813e0d
Two things off the TODO list.
2000-11-05 16:44:08 +00:00
thorpej
cde4f7415c
Add mmap support (i386-specific for the moment).
2000-11-05 16:24:45 +00:00
thorpej
5a8a59d459
Weed out the Dell and HP versions which are known to work in
...
WSS emulation mode (i.e. won't work in AC'97 mode).
2000-11-05 16:13:17 +00:00
jdolecek
e8e4da6b87
add new function sigismasked(), which checks whether passed signal
...
is ignored or masked by the process, and use it appropriately
instead of directly checking p->p_sigmask and p->p_sigignore
2000-11-05 15:37:09 +00:00
thorpej
70b3814a53
Add NeoMagic 256 audio.
2000-11-05 06:46:03 +00:00
thorpej
f945fc008d
Driver for NeoMagic 256 audio. Based on the OpenBSD driver, which is
...
in turn based on the FreeBSD driver, ported to NetBSD and somewhat
modified by me. Thanks to Matt Thomas for testing.
2000-11-05 06:43:45 +00:00
thorpej
aac73109ae
Feh, fix st00p1d braino in last.
2000-11-05 05:41:25 +00:00
thorpej
584c0d1319
Use <dev/sysmon/sysmonconf.h>
2000-11-05 04:08:48 +00:00
thorpej
6ea062a0d7
Update for sysmon splitting, and lm carries the sysmon_envsys
...
attribute.
2000-11-05 04:08:10 +00:00