isaki
cf93dcf794
Remove an old comment (about amiga?).
2008-12-21 06:16:06 +00:00
isaki
ba2a85174a
- Split idepth from INTERRUPT_*REG macros to avoid confusing.
...
- timertrap: add idepth stuff, and use INTERRUPT_*REG macros.
- lev7intr: add idepth stuff.
2008-12-21 06:13:06 +00:00
isaki
4588c4222e
Remove extiobase. x68k does not use it.
2008-12-21 06:04:49 +00:00
christos
c3145881d1
trap in subshell
2008-12-21 03:15:53 +00:00
christos
ae1cc09549
PR/36079: M. Levinson: Disable the optimization of not forking for the last
...
command in a subshell, otherwise we miss the exit trap.
2008-12-21 03:15:32 +00:00
christos
f97bdef169
PR/11228: Ben Harris: Unexpand -t should take tab list. Based on patch
...
supplied by Roy Marples.
2008-12-21 02:33:13 +00:00
haad
cca8fb31f9
Add support for loading dm targets as separate modules. All targets except
...
linear can be loaded as module. Module is not loaded when there is target
with similar name already. Zero and error targets aresimple examples how
can be all future targets written to support dynamic loading. Target can't
be unloaded until there is at least one user.
2008-12-21 00:59:39 +00:00
haad
38805eb14c
Fix error path in target_init call. When initializing target fails i have
...
to release table before I try to destroy it and I haveto unbusy device, too.
2008-12-21 00:53:27 +00:00
christos
dab49f36c7
add regression tests for stuff recently fixed.
2008-12-21 00:24:06 +00:00
christos
9ac082db6c
PR/35055: Wada Keiji: wait did not keep the status of terminated jobs as
...
expected.
2008-12-21 00:19:59 +00:00
ad
82ae73e0b6
Don't increment the 'kpreempt defer: IPL' counter if a preemption is pending
...
and we try to process it from interrupt context. We can't process it, and
will be handled at EOI anyway. Can happen when kernel_lock is released.
2008-12-20 23:06:14 +00:00
dsl
899813caea
Add functions for processing extendable arrays of pointers to strings.
...
Use for the .for variables and substution items - changing the latter from
make's all conquering lst.lib functions.
Being able to index everything makes the code simpler.
No functional changes intended.
2008-12-20 22:41:53 +00:00
ad
b575edd757
A kernel module to test multithreaded performance of the kernel allocators.
2008-12-20 22:29:05 +00:00
christos
26edf84a4b
PR/36954: Roland Illig: don't eat backlash escapes in variable patterns.
...
Makes ${line%%\**} work.
2008-12-20 20:36:44 +00:00
dsl
e06fc1c61f
A lot of code assumes that the pointer returned by Buf_GetAll() is malloced.
...
Replace Buf_Discard() with Buf_Empty() since the former might leave the
'outPtr != buffer' and the only caller wanted all the data discared.
Remove 'outPtr' now that it always equals 'buffer'.
The assumption about Buf_GetAll()is now guaranteed by design.
2008-12-20 18:08:24 +00:00
dsl
0533dfcd70
Remove the definitions of NIL (now unused) and NULL (defined elsewhere).
2008-12-20 17:42:01 +00:00
dsl
b1e9c7dca0
Set the .for loop control variables in reverse order to avoid faffing.
2008-12-20 17:38:37 +00:00
wiz
824e316688
Various improvements: wording, macro usage, section naming, structure.
2008-12-20 17:25:20 +00:00
wiz
fbbf73942d
Drop trailing whitespace. Bump date for poffd.
2008-12-20 17:17:05 +00:00
dsl
03a9360df5
Do not allow Var_Set() or Var_Append() to set the empty variable (which will
...
now forever remain undefined).
Rework/simplify code to avoid UNCONST().
2008-12-20 17:14:04 +00:00
oster
73225b15a5
When unconfiguring an array where a reconstruct is in progress, abort
...
the reconstruct and wait for IOs to drain before pulling the plug.
Should fix the panic reported by der Mouse on tech-kern.
2008-12-20 17:04:51 +00:00
wiz
9f442ba1cf
mdoclint cleanup.
2008-12-20 16:53:56 +00:00
taca
f238b44a94
Change max retry time to 90 seconds from 5 seconds.
...
It is processed in background to detect ipmi.
Now my ML115 G1 detects ipmi as NetBSD 4_STABLE.
Discussed with Matthias Scheler (tron) with private mail
and approved by him.
2008-12-20 16:52:41 +00:00
dsl
b7b48965cc
Change some "^I *^I" to "^I^I" and align the comment block about
...
variable modifiers.
2008-12-20 16:03:59 +00:00
tsutsui
a2ae506662
Sync comments about the last segment of KVA space with current implementation.
...
XXX other m68k ports should be updated as well.
2008-12-20 14:35:53 +00:00
isaki
e3d512ec12
x68k pow(4) switches to use MI sysmon framework.
2008-12-20 13:50:20 +00:00
isaki
cf59801230
x68k pow(4) now uses MI sysmon_pswitch framework. suggested by tsutsui@.
...
- Make MD poffd(8) retire, and use MI powerd(8) instead of it.
- Make /dev/pow1 retire, because nobody holds /dev/pow0 any longer.
Use /dev/pow0 for pow(4) ioctl.
- POWIOCSSIGNAL ioctl which is for poffd(8) is also obsoleted.
2008-12-20 13:20:58 +00:00
ad
6ad4a3fdd5
Remove stray opt_redzone.h
2008-12-20 13:09:44 +00:00
ad
9a5c311632
Revert part of previous.
2008-12-20 13:07:36 +00:00
ad
0e83efcacb
opt_noredzone.h is gone.
2008-12-20 13:06:25 +00:00
cegger
42f4c567d4
catch up with latest changes: sendsig -> sendsig_siginfo
2008-12-20 12:50:24 +00:00
ad
5e34fbf90e
- Kill NOREDZONE.
...
- Make the redzone conditional on DIAGNOSTIC.
- Give amd64 an additional page for the uarea. 2 is not enough.
2008-12-20 12:41:19 +00:00
ad
ae6c4143ce
Move a couple of calls to pmap_update().
2008-12-20 11:33:38 +00:00
dsl
81b38761ef
Delete very splurious 'free(buf)' that xtos added.
...
Fixes PR bin/40233
2008-12-20 09:42:02 +00:00
cegger
c9114d086d
Turn malloc flags into an enum. Fixes build breakage.
2008-12-20 09:17:55 +00:00
isaki
c238dc3262
Make pow(4) a hardware device.
...
Now pow(4) uses intio_intr_establish() which is a common interrupt
routine, but not powtrap which is a device specific routine.
2008-12-20 01:05:46 +00:00
christos
6caebc4e79
PR/32154: Roland Illig: brk_string fails to report errors in unquoted strings.
2008-12-19 22:04:36 +00:00
christos
cd056136e4
if brk_string fail, so do we.
2008-12-19 22:03:41 +00:00
christos
1a59b518a0
if brk_string failed, use the shell.
2008-12-19 22:01:19 +00:00
thorpej
2585fd0734
Pull in <sys/types.h> so that e.g. bool is in scope.
...
XXX The circular dependency with <sys/device.h> and <sys/pmf.h> needs to
be cleaned up.
2008-12-19 21:51:48 +00:00
christos
0bf1037e4e
PR/34138: Roland Illig: In the non-expand case, fix brk_string not to eat
...
quotes.
2008-12-19 21:34:14 +00:00
christos
9faa233ea6
add a little more debugging.
2008-12-19 21:33:10 +00:00
cegger
378da548fc
Turn malloc flags into an enum.
...
While here, move the flags definition into _KERNEL section.
2008-12-19 21:22:01 +00:00
pgoyette
6bdffd706a
Add a note concerning this morning's changes to config(1).
2008-12-19 20:37:45 +00:00
christos
a41cd06ba5
PR/9359: Chris Demetriou: Document fread/fwrite mixing behavior.
2008-12-19 20:20:48 +00:00
cegger
dcf705893e
use M_ZERO on malloc() and remove subsequent bzero().
2008-12-19 18:49:37 +00:00
pgoyette
81649575af
When checking for "set-up is complete", look for the CTLFLAGS_PERMANENT
...
in the root of the tree being modified, rather than in the system default
tree. This permits module compat_netbsd32 to initialize its shadow tree
at load time.
Discussed on tech-kern, with no objections.
Addresses my PR kern/40167
2008-12-19 17:28:59 +00:00
pgoyette
9c68331911
Store config(1)'s root filesystem type as a text string rather than
...
embedding the address of its xxx_mountroot() in swapnetbsd.c. This
permits booting of kernels with hard-wired filesystem type even if the
filesystem is in a loadable module (ie, not linked into the kernel
image).
Discussed on current-users. Tested on amd64 and i386 with both hard-
wired and '?' filesystem times, and on both modular and monolithic
kernels.
Thanks to pooka@ for code review and suggestions.
Addresses my PR kern/40167
2008-12-19 17:11:57 +00:00
haad
78284dcaf1
Add infrastructure needed to load device-mapper targets as modules.
...
Targets wasn't converted yet and at least snapshot target will be converted
in a near future.
2008-12-19 16:30:41 +00:00
haad
210ce8a464
Add makefile for building device-mapper kernel module.
2008-12-19 15:36:58 +00:00