Commit Graph

157392 Commits

Author SHA1 Message Date
ad
59d979c5f1 Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
2007-03-12 18:18:22 +00:00
ad
20407a495d Remove unneeded includes. 2007-03-12 16:48:50 +00:00
ad
2f3dd41194 Include sys/simplelock.h, not sys/lock.h. 2007-03-12 16:43:11 +00:00
ad
3fcdeca2cc Use mutexes. 2007-03-12 16:42:14 +00:00
ad
3eeb069c1f + sys/simplelock.h 2007-03-12 16:34:08 +00:00
ad
6c17115c30 Put the simplelock stuff into its own header file to simplify dependencies. 2007-03-12 16:31:54 +00:00
ad
7888016cf9 Use mutexes & condvars. 2007-03-12 16:20:53 +00:00
jmmv
42390b383a Install both netbsd and netbsd.aout into / when running a "make install" in
the kernel's compilation directory.

Fixes PR port-shark/17569.
2007-03-12 15:09:35 +00:00
jmmv
465d2fa6dc Add the ability for platform-specific Makefiles to indicate which kernel
images to install into / (which might be more than just "netbsd").

Addresses PR port-shark/17569.
2007-03-12 15:09:01 +00:00
jmmv
af7d74f692 If running the installer from a serial console, ask the user for the
appropriate TERM value.  Otherwise use 'pc3' for local consoles (pccons
or wscons).  Based on code from hp300, although that port asks the user
unconditionally.

Fixes PR port-shark/18355.
2007-03-12 14:47:15 +00:00
liamjfoy
41fd192693 ip6.maxflows default value is 256 - document 2007-03-12 14:37:28 +00:00
liamjfoy
8c4318e7ce GATEWAY also builds IPv6 Fast Forwarding 2007-03-12 14:35:22 +00:00
kiyohara
4ecba574db Not KAUTH_DEVICE_TTY_OPEN but KAUTH_GENERIC_ISSUSER is used. 2007-03-12 14:12:13 +00:00
tsutsui
0b5d7fc8ba IRL line connected to each device on sysasic is not always corresponding
with MI IPL_* definitions, so add an independent arg to pass IRL lines
to sysasic_intr_establish() and use appropriate macro for them.
2007-03-12 14:03:47 +00:00
mjf
0fa0fcc9ed mbe(4) also works on the g2bus on the dreamcast.
Closes PR/35974.
2007-03-12 13:55:24 +00:00
rmind
1e26039813 yamt-idlelwp: updated base 2007-03-12 13:13:19 +00:00
skrll
f99245a3c5 Correct the struct name for PT_LWPINFO 2007-03-12 12:50:42 +00:00
tsutsui
2ab13d3a78 Use vaddr_t casts rather than pointer arithmetic (in #ifdef DIAGNOSTIC). 2007-03-12 12:09:34 +00:00
tsutsui
736b47b76e Fix printf formats in #ifdef DEBUG. 2007-03-12 12:03:18 +00:00
jmmv
4233342b6f Clear the first sector of the disk so that OpenFirmware recognizes it and
can load a kernel from its file system.

Also tell the user what command he needs to run from the OpenFirmware shell
to configure automatic booting of the system.

Closes PR port-shark/35576.
2007-03-12 11:19:37 +00:00
kiyohara
b02917f2f9 Oops...
bruartd works as foreground mode when '-d' option is specified.
2007-03-12 08:10:31 +00:00
kiyohara
14b6387020 Remove '*' in argument [-t type], that causes confusion. 2007-03-12 08:01:38 +00:00
enami
1e59139e04 Make -DINTREE (a flag to tell make(1) to build the test program
with using in tree humanize_number.c) works again.
2007-03-12 03:39:57 +00:00
enami
1a453a687f Add failure case reported by Greg Troxel. 2007-03-12 03:38:21 +00:00
thorpej
8f326e8290 - Define LOCK_CAS_CHECK() in m68k/frame.h (there because it operates on
a clockframe).
- Call LOCK_CAS_CHECK() in clock_intr() (noted by Izumi Tsutsui).
2007-03-12 02:51:03 +00:00
matt
b3cd0abcf6 Shrink VAX kmutex from 12 bytes to 8. Fix various LOCKDEBUG/DIAGNOSTIC
problems.
2007-03-12 02:22:43 +00:00
matt
0b7ea235a3 Fix softintrs (boolean test problem). Spotted by mhitch. 2007-03-12 02:21:22 +00:00
matt
57257364a0 Define/use MUTEX_COUNT_BIAS for those implementations that need one (like
vax).
2007-03-12 02:19:14 +00:00
uwe
11957bf405 Note in that TAS.B in inline asm clobbers "cc".
Use MOVT instead of clear+rotate with carry in __cpu_simple_lock_try.
2007-03-12 01:33:50 +00:00
uwe
d96c2a32bc Use simple mutexes. This file is effectively a copy of arm's one now. 2007-03-12 00:57:13 +00:00
uwe
7983f30ad7 Do cpu_exit with proper locking.
Rename assembly cpu_exit to cpu_do_exit and make a C version of
cpu_exit() to do proper locking.  While here, g/c switch_exit entry
point and don't call lwp_exit2 from cpu_exit.
From ad@

Completes PR port-sh3/35971 - my Jornada now boots to multiuser with a
LOCKDEBUG kernel.
2007-03-12 00:32:56 +00:00
uwe
f3c67932b4 Cosmetic. Group function declarations and variable definitions. 2007-03-12 00:12:29 +00:00
uwe
c24277d5f4 Factor out code to save processor state to pcb->pcb_sf switchframe
into a macro.  While here, clarify l->l_md.md_pcb->pcb_sf
vs. l->l_md.md_pcb confusion with proper naming and some comments.
Idea from OpenBSD.
2007-03-11 23:54:03 +00:00
ad
a3128f66df Adjust previous: move the release of specificdata after the very last
file system operation.
2007-03-11 23:40:58 +00:00
ad
1bf149ba4c exit1: destroy the proc/lwp specificdata after calling uvm_proc_exit, as
file systems can still be using it.
2007-03-11 23:19:49 +00:00
christos
31b5ea99cb fix missing initializers. 2007-03-11 22:25:48 +00:00
ad
5941740892 Remove a use of lockmgr/LOCK_INITIALIZER. 2007-03-11 22:16:32 +00:00
ad
2dc89bb0bd Remove #include <machine/vmparam.h>. 2007-03-11 22:11:02 +00:00
ad
0b43c20288 Remove useless cast. 2007-03-11 22:07:32 +00:00
xtraeme
25b63d499e Forgot to bump year too. 2007-03-11 22:03:09 +00:00
xtraeme
2fdb9c6dc1 Mention new supported chips, bump date. 2007-03-11 21:59:09 +00:00
ad
f96f2e2a7f Add the LWP's runtime to kinfo_lwp. 2007-03-11 21:38:38 +00:00
ad
9a92ddadc8 Put back mtsleep() temporarily. Converting everything over to condvars
at once will take too much time..
2007-03-11 21:36:48 +00:00
xtraeme
f8fabb9a9e Explicitly initialize lm_sensor->rfact for every sensor's chip. 2007-03-11 21:23:22 +00:00
rmind
fd58eec0ea Sync scheduler with reality:
- Separation of context switching and thread scheduling
 - Generic scheduler API for modular implementations
 - New scheduler supporting
OK by matt@
2007-03-11 21:05:57 +00:00
ad
7a902dfca5 PR port-sh3/35971: Mutex error on SH3 DIAGNOSTIC kernels 2007-03-11 20:09:03 +00:00
dsl
6803111cb3 Fix amd64 build for compat sys_stat() changes.
This file isn't included in amd64:GENERIC
2007-03-11 19:36:37 +00:00
dsl
5959b4cbc7 Add a tentative definition for 'struct statvfs'. 2007-03-11 19:34:55 +00:00
apb
7c0e506d3c Adapt to the new MAKEDEV interpretation of -M by passing -MM.
Also pass "-ppax" in an attempt to get improved performance,
but this doesn't really work in the typical case, because the
install ramdisk image contains a version of pax(1) that doesn't
support the -M flag.  (MAKEDEV detects the failure and falls back
to using mknod(8) as usual.)
2007-03-11 19:02:04 +00:00
christos
b127b0cff4 more caddr_t lossage 2007-03-11 18:37:46 +00:00