tron
d5442d74c5
Fix NULL pointer access. Patch supplied by Dave Huang in PR kern/8055.
1999-07-24 15:10:02 +00:00
augustss
4047458551
More DIAGNOSTIC messages.
1999-07-24 01:40:19 +00:00
explorer
4cbf118032
add a SHARK.v6, so the shark specific kernel can get v6, too
1999-07-23 22:45:23 +00:00
itojun
42c5caafe7
do not include unnecessary include files.
1999-07-23 15:21:17 +00:00
thorpej
014078a731
Garbage collect.
1999-07-22 23:31:07 +00:00
thorpej
2860ae9b30
Add proclist locking where appropriate (forgot to commit this file previously).
1999-07-22 23:00:27 +00:00
thorpej
3f176180d5
Garbage collect thread_sleep()/thread_wakeup() left over from the old
...
Mach VM code. Also nuke iprintf(), which was no longer used anywhere.
Add proclist locking where appropriate.
1999-07-22 22:58:38 +00:00
thorpej
2c668fb0d4
0 -> FALSE in a few places.
1999-07-22 21:27:32 +00:00
thorpej
40c08923a8
XXX LOCKING XXX of allproc; DDB runs with interrupts blocked, and MD
...
code should suspend other processors, so this probably isn't a problem,
but the comment is added anyhow.
1999-07-22 21:11:26 +00:00
thorpej
01a8cffe77
Add a read/write lock to the proclists and PID hash table. Use the
...
write lock when doing PID allocation, and during the process exit path.
Use a read lock every where else, including within schedcpu() (interrupt
context). Note that holding the write lock implies blocking schedcpu()
from running (blocks softclock).
PID allocation is now MP-safe.
Note this actually fixes a bug on single processor systems that was probably
extremely difficult to tickle; it was possible that schedcpu() would run
off a bad pointer if the right clock interrupt happened to come in the
middle of a LIST_INSERT_HEAD() or LIST_REMOVE() to/from allproc.
1999-07-22 21:08:30 +00:00
hwr
f6bf685b94
Regen.
1999-07-22 20:58:18 +00:00
hwr
baf7e04902
Insert a space in New Media Corporation. Fixes kern/7817 by Lloyd Parkes.
1999-07-22 20:56:38 +00:00
thorpej
e8485145c1
Rearrange some code slightly.
1999-07-22 18:28:30 +00:00
thorpej
2715b812d1
Rework the process exit path, in preparation for making process exit
...
and PID allocation MP-safe. A new process state is added: SDEAD. This
state indicates that a process is dead, but not yet a zombie (has not
yet been processed by the process reaper).
SDEAD processes exist on both the zombproc list (via p_list) and deadproc
(via p_hash; the proc has been removed from the pidhash earlier in the exit
path). When the reaper deals with a process, it changes the state to
SZOMB, so that wait4 can process it.
Add a P_ZOMBIE() macro, which treats a proc in SZOMB or SDEAD as a zombie,
and update various parts of the kernel to reflect the new state.
1999-07-22 18:13:36 +00:00
thorpej
40d9e23179
Define the Volume Tag format.
1999-07-22 17:43:53 +00:00
itojun
86ef461e35
avoid u_long and hardcoded numbers.
1999-07-22 15:46:13 +00:00
itojun
7fee35f579
- implement IPv6 pmtud, which is necessary for TCP6.
...
- fix memory leak on SO_DEBUG over TCP.
1999-07-22 12:56:56 +00:00
augustss
9e89bd8c34
The configuration and interface locators are pointless for the generic
...
USB device.
1999-07-22 09:35:06 +00:00
leo
416221c95b
Do the mesgbuf initialisation a bit earlier in the boot process. This
...
makes debugging the console somewhat easier.
1999-07-22 09:20:38 +00:00
itojun
76fc599a8d
change unnecessary u_long/long into u_int32_t or something relevant.
...
more fixes should follow.
1999-07-22 03:59:42 +00:00
tron
f808646713
Use wsmouse protocol for PS/2, Logitech bus and Microsoft InPort mice
...
by default. The X11 distribution included in our last release already
supports it and the wsmouse protocol can be used for any of the above
and for USB mice.
1999-07-21 20:28:45 +00:00
tsubai
07bc0e694d
media-bay CD support.
1999-07-21 19:20:04 +00:00
ad
a41907cbf8
- Style nits
...
- Kill some of the dainbramage in variable-depth copycols()
1999-07-21 19:19:03 +00:00
mrg
f484530816
do not "quote" SAMISCMAKEFLAGS values, it causes pain and suffering.
1999-07-21 13:34:34 +00:00
briggs
a33d38257c
Declare struct pmap kernel_pmap_store extern.
1999-07-21 03:18:21 +00:00
oster
5cef006d40
Need to splbio()/splx() protect some of the reconstruction stuff.
...
Without this, we have potentially bad interatctions with the pool
code.
1999-07-21 03:15:26 +00:00
thorpej
befbb301fd
Use the lock manager to lock the GDT, rather than a non-MP-safe homegrown
...
method.
1999-07-20 23:07:12 +00:00
thorpej
eff41cf3b1
Implement cpu_wait(), and move the call to tss_free() from switch_exit()
...
to cpu_wait(); tss_free() may block, and thus requires a valid context.
1999-07-20 22:25:18 +00:00
thorpej
32e1fd0d03
Move the call of cpu_wait() out of the wait4() functions, and into the
...
body of reaper(), right before the call to uvm_exit(). cpu_wait() must
be done before uvm_exit() because the resources it frees might be located
in the PCB.
1999-07-20 21:54:05 +00:00
drochner
963921febe
regen
1999-07-20 20:59:03 +00:00
drochner
62adeef8f6
add TI TVP4020 Permedia 2
1999-07-20 20:58:20 +00:00
bouyer
29664a379a
The options actually used are RASTERCONSOLE_{FG,BG}COL, not
...
RASTERCONS_{FG,BG}COL. defopt the rigth ones.
1999-07-20 18:05:15 +00:00
tsubai
bfba58c1e1
grackle uses different I/O address.
1999-07-20 17:31:59 +00:00
dbj
15c0ebc780
fixed TAGS target for emacs style tags
1999-07-20 08:55:30 +00:00
christos
41cc9a0eb8
enable PPP_BSDCOMP, PPP_DEFLATE, PPP_FILTER, PFIL_HOOKS, IPFILTER_LOG
...
on the GENERIC kernels that had them commented out.
XXX: Please note, that not all the kernels have all the options defined!
1999-07-20 07:40:34 +00:00
simonb
988906cf52
Put tc_machdep.h back - the X server needs it to build.
1999-07-19 23:35:29 +00:00
thorpej
7f53187a85
From Bill Studenmund: unlock the fdescfs "/dev/tty" vnode before calling
...
cttyread()/cttywrite(), and lock it again when it returns.
Squashes the somewhat bizarre lossage I was observing w/ more(1), sudo(1),
etc.
1999-07-19 23:00:47 +00:00
cgd
4eb46531af
make sure 'wide' fault handling is actually done only once per fault.
...
('narrow' was mistakenly set to FALSE instead of TRUE.) Committed after
discussion with chuq.
1999-07-19 19:02:22 +00:00
itojun
869f140395
fix IPV6_CHECKSUM socket option (length computation was wrong).
1999-07-19 18:37:19 +00:00
thorpej
5310e69363
Fix PR #8023 from Bernd Ernesti: when MADV_FREE'ing a region which spanned
...
more than one VM map entry, a typo caused amap_unadd() to attempt to
remove anons from the wrong amap. Fix that typo.
1999-07-19 17:45:23 +00:00
scottr
ba0669d0b6
The Quadra 605 and LC 47x apparently share the same logic board,
...
and hence need the same video hack. From Ken'ichi Ishizaka.
1999-07-19 05:20:15 +00:00
chs
fce05250f9
more cleanup:
...
remove simplelockrecurse, lockpausetime and PAUSE():
none of these serve any purpose anymore.
in the LOCKDEBUG functions, expand the splhigh() region to
cover the entire function. without this there can still be races.
1999-07-19 03:21:11 +00:00
chs
327e64d87b
remove simplelockrecurse, it's no longer needed.
1999-07-19 03:17:42 +00:00
oster
ce7cb7114d
rf_UnconfigureVnodes() needs to be called in the DO_RAID_FAIL macro.
1999-07-19 01:36:07 +00:00
oster
0c7600ca4e
sectorsPerStripeUnit should be larger than 0. If it isn't, simply fail.
...
(Thanks to Thor Lancelot Simon for noting the problem).
1999-07-19 01:35:19 +00:00
eeh
5e22318a8d
More fun with pmap.
1999-07-18 23:55:57 +00:00
eeh
c6a358d0a8
Lower spl for softints.
1999-07-18 23:54:20 +00:00
eeh
27bc6dd353
Switch to NetBSD/sparc ELF for 32-bit userland.
1999-07-18 23:52:58 +00:00
eeh
01474710ca
Switch over to NetBSD/sparc ELF for 32-bit userland.
1999-07-18 23:51:08 +00:00
chs
a8f10f9e37
allow uvm_km_alloc_poolpage1() to use kernel-reserve pages.
1999-07-18 22:55:30 +00:00