Commit Graph

118060 Commits

Author SHA1 Message Date
is d774eeb6ea Bring some stuff up-to-date. To be continued. 2003-09-27 21:32:12 +00:00
sjg d388dcd1a3 Implement :[] modifier to allow picking a range of words out of a variable.
Also :tW and a W flag to :C and :S to allow treating value as a single word.
Add unit tests for the above, and fix some corner cases.
Based on patches supplied by Alan Barrett <apb@cequrux.com>
2003-09-27 21:29:37 +00:00
simonb 47d4b67a20 Use uintN_t in code example instead of u_intN_t. Agrees with current
standards (and more importantly Klaus too :-).
2003-09-27 21:17:31 +00:00
he 772b1d9073 Allow kernels without the haltwo driver configured to build, i.e.
make the driver optional by adding the haltwo attribute.
2003-09-27 21:11:21 +00:00
is 23074d4396 pregenerate grf_ultms.c, so that gspa isn't needed during kernel build 2003-09-27 20:52:59 +00:00
is 3af256db77 PPC_OEA is in std.amigappc 2003-09-27 20:51:54 +00:00
cl 2f20c17423 make gcc3's `deprecated use of label at end of compound statement' go away 2003-09-27 20:16:59 +00:00
cl 3f16119f55 Cast through (void *) to appease gcc3. 2003-09-27 20:01:58 +00:00
mhitch 3400c43ec7 Add <string.h> include for memcpy. 2003-09-27 19:35:14 +00:00
mhitch 28527002f8 Cast through (void *) to appease gcc3. 2003-09-27 19:34:17 +00:00
dsl fde7103b90 Add KERN_ROOT_PARTITION and KERN_DRIVERS 2003-09-27 19:09:10 +00:00
dsl 4cb1ff990c Forgot the date.... 2003-09-27 19:07:12 +00:00
dsl 0188e8d8ce Add kern.drivers and kern.root_partition to match recent kern_sysctl.c
Add kern.root_device which was absent.
2003-09-27 18:57:05 +00:00
tsutsui 499f56cda2 sys__sigreturn14 -> compat_16_sys___sigreturn14 2003-09-27 17:51:42 +00:00
tsutsui 2fe24b8c7f Use strlcpy() rather than strncpy() + `\0' termination. 2003-09-27 17:42:11 +00:00
mycroft c82b47f9bc Fix a non-fatal race condition. 2003-09-27 15:56:03 +00:00
mycroft 88dd794c62 Put pfsnode in the #ifdef _KERNEL too, so this actually compiles. 2003-09-27 15:32:50 +00:00
kei 58b5cb57f3 Add missing `Ar' flag. Approved by Thomas Klausner. 2003-09-27 14:52:58 +00:00
darcy 566d30be44 Changes as discussed with itojun on tech-kern. I have modified the enums
to have KFS or PFS differentiators.  Further I have wrapped the enum in
procfs in "#ifdef _KERNEL" as it is done in kernfs.

To see the discussion go to http://mail-index.NetBSD.org/tech-kern/2003/09/
and look for "Mismatched enums in include files" in the list.
2003-09-27 13:29:02 +00:00
mrg 3942bb7a51 enable broadcom BCM4401 (bce) driver (as found on recent dell laptops) 2003-09-27 13:16:16 +00:00
mrg 871eae696e add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!
2003-09-27 13:13:28 +00:00
jdolecek e257c8b61f map ERRSRV:ERRbaduid to EAUTH 2003-09-27 12:24:25 +00:00
martin d1faf5f973 Make gcc default to the medlow code model. 2003-09-27 11:08:41 +00:00
dsl 98b66fc660 Use new kern.root_partition sysctl to find out whether we are installing
over the current root (ie the one we are booted from).
Remove all the stuff that tried to find this out by other means.
A few other message changes.
2003-09-27 10:47:17 +00:00
dsl 070457d605 Use installboot (not disklabel) to make disk bootable (untested). 2003-09-27 10:44:03 +00:00
dsl c268192676 make main menu sit below initial text. 2003-09-27 10:42:16 +00:00
dsl 3322ced37b Make partition menu sit just below header (regardless of header size).
Change flag for bootmenu default from 'b' to 'd'.
2003-09-27 10:39:35 +00:00
dsl df047cb827 Just convert \r\n to \n\r when relaying program output.
Ensure we never write an undefined error message.
Remove support for RUN_SYSTEM - it isn't used and there are too many paths
through this code....
2003-09-27 10:38:05 +00:00
dsl a6c235d09a Include '+' in default for partition size.
If partition size input as '+', treat as 1 cylinder and '+'.
Set default sized /usr if all space can't be given to root.
2003-09-27 10:16:33 +00:00
tsutsui ddc207b63e Add options COMPAT_16. 2003-09-27 10:07:57 +00:00
dsl 0795bf3e7a Allow -ve integer constants in menu file.
Make y == -1 => after current messages (if msg_defs.h included).
Defer menu initialisation until after post_act() called (so function can
fiddle with more things.)
2003-09-27 09:44:13 +00:00
dsl 84577b4fe4 Add kern.root_partition (sysinst needs to know it)
Add kern.drivers - reports driver names and major numbers
Remove some redundant caddr_t casts.
2003-09-27 07:58:55 +00:00
dsl 70fa83aaf4 Add kern.root_partition (because sysinst needs to know it).
Add kern.drivers - reports installed driver names and major numbers.
2003-09-27 07:52:34 +00:00
matt a8a3bf5bed ANSIfy. 2003-09-27 04:44:42 +00:00
mycroft b9556aa82f List VAX as non-GCC3. 2003-09-27 04:27:32 +00:00
matt 827263a8bc Use ksi_signo instead of _signo. 2003-09-27 03:51:54 +00:00
tls d0ffab287c Remove NOSETTLE flag from channel in FibreChannel case. It makes sense that
it should be there, but in practice, on some systems an ugly race condition
rears its head: SCSI commands are issued before the FC thread ever runs, and
fail from then on forever.  Yuck.
2003-09-27 03:43:08 +00:00
matt 4ba9658201 Remove __LIBC12_SOURCE 2003-09-27 03:33:00 +00:00
matt 7fff5acf50 Constify the _-sigaction_sigtramp tramp argument. 2003-09-27 03:14:59 +00:00
christos 6fc26a7684 add SIGTRAMP_VALID and gc old sigcontext <-> ucontext macros. 2003-09-27 03:14:31 +00:00
mrg b5440ed2fa update for amd64 build.
XXX: still missing ./usr/bin/gdb & friends, which are in comp/mi, etc.
2003-09-27 02:09:36 +00:00
mrg 1b9c8708c3 x86_64 libgcc3 support 2003-09-27 02:08:07 +00:00
matt 20745b5469 Invoke the proper signal trampoline depending on SA_SIGINFO. 2003-09-27 01:03:40 +00:00
matt 60ff688f72 Define SIGTRAMP_VALID properly. 2003-09-27 00:58:32 +00:00
matt 3ce59aebf3 Deal with signal trampoline being const. 2003-09-27 00:57:45 +00:00
matt 2546f51a33 Regen. 2003-09-26 23:11:16 +00:00
mbw d0130ca8c2 combined macppc and mac68k man pages and moved to src/share/man/man4 2003-09-26 23:09:07 +00:00
matt ebb8ea4c89 Constify __sigaction_sigtramp argument 'void * tramp'. 2003-09-26 23:08:24 +00:00
mbw 9bed16c664 Correct copyright attributions 2003-09-26 23:05:55 +00:00
nathanw 9839173881 Don't include <machine/lock.h> anymore; instead, we now get
__cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED from <sys/types.h>.
Should prevent the massive namespace pollution by way of dragging in
many MD headers that has been observed to break stuff.
2003-09-26 22:48:23 +00:00