Commit Graph

157385 Commits

Author SHA1 Message Date
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
he 881084c9ed Well, as pointed out by is@ for the amiga port, the added indirection
is wrong.  Restore previous behaviour, and add the now appropriate cast.
2007-03-11 17:39:02 +00:00
he 228e24a143 Correct a thinko of mine in the previous change, pointed out by
is@.  Even though the argument type changes as an effect of the
caddr_t removal, there really is no need to indirect where we didn't
before.  Instead, add the appropriate cast.
2007-03-11 17:34:37 +00:00
thorpej 62509c00e0 Actually store the new value in the RAS _lock_cas(). Noticed by Izumi Tsutsui. 2007-03-11 16:46:52 +00:00
apb 1f33f6e66f Test whether pax works; if not, fall back to mknod.
This is intended for use on install media that might not have pax.
2007-03-11 16:08:11 +00:00
apb b76e2d3d5a Document lack of support for -M and -p flags. 2007-03-11 15:54:54 +00:00
apb 76426884d4 Document "-p pax" and "-M -M". 2007-03-11 15:54:10 +00:00
apb f5b5e05c27 * Add "-p pax" flag, to create all device nodes at once using pax,
instead of one by one using mknod.  This is much faster (speed
  increases of up to 20 times have been observed, but 3 to 5 times is
  more common).
* One "-M" flag will create the mfs file system but not redirect output
  to a temporary console; "-M -M" will also redirect output.
* Change the way we accumulate options to pass to MAKEDEV.local.
2007-03-11 15:52:30 +00:00