Commit Graph

219722 Commits

Author SHA1 Message Date
matt
dd123293f0 Add END(func) 2013-07-16 21:49:45 +00:00
matt
440d829b3c WEAK_ALIAS is always present
Use END(func)
2013-07-16 21:48:32 +00:00
matt
82416e4fed Add END(func) 2013-07-16 21:46:42 +00:00
pooka
c9632786bd A simple (void) is apparently too easy and traditional to make
Wunused-result STFU, so let's invent something a bit more verbose to
try to achieve the desired result of "ccg xnaht I really don't care if
you think I should check the return value".
2013-07-16 21:14:42 +00:00
matt
b97b6cbaca Add an END macro. reorder EXTBL macro 2013-07-16 21:01:03 +00:00
matt
07a0a32561 Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
2013-07-16 20:49:41 +00:00
pooka
093ebbd17d Give reader-friendly aliases to rfork flags. 2013-07-16 20:17:06 +00:00
sjg
af0aba95fb When a var is set in the CMD context, it prevents the same name
being set in GLOBAL context.  We should also delete any such
variable in GLOBAL context, else make -V will show the wrong value.
2013-07-16 20:00:56 +00:00
sjg
7217d3f346 Fix unit-tests to cope with recent change to progname 2013-07-16 19:59:28 +00:00
pooka
f3e50bbb57 Explicitly ignore return value of writev() for sending a packet.
Otherwise you get the following with some compilers:
warning: ignoring return value of 'writev', declared with attribute warn_unused_result [-Wunused-result]
2013-07-16 19:44:31 +00:00
kefren
4866020490 send the actual prefix on the wire instead of struct headers
statify
2013-07-16 19:40:01 +00:00
pooka
c5876c964f COMPAT_60 for rump kernels.
Requested via github (buildrump.sh)
2013-07-16 19:07:54 +00:00
christos
b0420de909 Add -Wconversion for WARNS > 5 2013-07-16 17:48:52 +00:00
christos
b294e9655c WARNS=6 2013-07-16 17:48:22 +00:00
christos
37e3924882 WARNS=6 [-Wconversion] 2013-07-16 17:47:43 +00:00
kefren
4a79aafa57 create binding for connected routes on startup
decay an warning message to debug only
2013-07-16 16:55:01 +00:00
christos
17cdc7e70d use bmake_foo instead of efoo() 2013-07-16 14:22:13 +00:00
christos
4f413ffa5d More gmake compatibility:
1. add -w flag to print Entering and Leaving directory name the the beginning
   and the end of processing.
2. export MAKELEVEL=$((MAKELEVEL + 1)) only in the child environment.
3. when printing error messages, prefix them with the program name [$MAKELEVEL]
   for $MAKELEVEL > 0
4. if $MAKEFLAGS consists only of letters assume it is a set of flags (as
   allowed by posix), convert them to -f -l -a -g -s, so that they get parsed
   properly.
With those fixes gmake -> bmake -> gmake -> bmake etc. works as expected.
2013-07-16 14:00:53 +00:00
reinoud
420d7ac724 Remove udf_node * as state variables and add the loop invariants UFS and tmpfs
carry to make it easier to debug.
2013-07-16 10:49:36 +00:00
msaitoh
74224ab6c4 Fix yet another NVM bank detect problem in wm(4). Use bank 0 if the detect
function failed. It's the same as FreeBSD. Observed and tested with Asus P8P67
Deluxe motherboard and tested by jnemeth.
2013-07-16 10:30:27 +00:00
joerg
55efcbee9d Disable unwind sections for the boot loaders. 2013-07-16 10:05:38 +00:00
msaitoh
c148f0440f Update Intel's Processor Family Names of family == 6 from the latest document.
Add 0x35(Atom), 0x36(Atom S), 0x3f(future Xeon), 0x46(Haswell) and update some
models.
2013-07-16 09:54:30 +00:00
joerg
85363808c6 hp700 rescue/ldd fails on -j16 build if usr.bin/ldd/elf32/libldd_elf32.a
hasn't been made yet. Add an explicit .WAIT before rescue to avoid this.
2013-07-16 09:52:21 +00:00
jklos
4893db76f5 Added DJMEMCMAX option for recognizing 128 meg SIMMs in Centris and Quadra
610, 650 and 800 systems. From Rob Braun,
http://synack.net/~bbraun/netbsdmac2.html
2013-07-16 07:31:40 +00:00
matt
d01d30fa5a When linking shared libraries, produce a map file. 2013-07-16 02:58:19 +00:00
kefren
3e54e2f09f retire union_ntoa, replace it with satos
check for valid sizes on PF_ROUTE socket
minor comment update
2013-07-16 02:54:32 +00:00
khorben
2bf249a542 This is the i386 version of the support for full-disk encryption; this commit allows building the ramdisk required as well as the associated kernel module (to be loaded in the kernel by the bootloader).
This was tested on my Lenovo ThinkPad X301 just like for the amd64 port.

XXX implement support for full-disk encryption installs in sysinst
2013-07-16 02:10:43 +00:00
christos
76db28c1cd Make this work again like gmake. sjg: see the test program. 2013-07-15 20:33:11 +00:00
joerg
2a9957221e Fix description of hex encoding. 2013-07-15 18:46:47 +00:00
reinoud
4600888a4b First step in rewriting the genealogy case 2013-07-15 14:40:21 +00:00
kefren
931515b112 stop abusing kmem during softint context 2013-07-15 12:10:34 +00:00
mrg
d4106c6e4f note that Makefile.netbsd-gmp can help with the running of configure. 2013-07-15 08:59:47 +00:00
khorben
c683555d46 Enabled building the kernel module containing the ramdisk required for full-disk encryption support by default. This should be the last part necessary on the amd64 port.
XXX reproduce and test on the i386 port
XXX implement support for full-disk encryption installs in sysinst
2013-07-15 00:29:49 +00:00
khorben
7e7403a7ed Common definitions for full-disk encryption support, including the rc script responsible for asking the passphrase and chrooting. wsconsctl is also built and used in case a splash screen is enabled. 2013-07-15 00:25:38 +00:00
khorben
57ee0cb14c Build the cgdroot ramdisk by default (for full-disk encryption support). It currently contains the same utilities found in an amd64 sysinst ramdisk, which should be useful in case of emergency. 2013-07-15 00:22:10 +00:00
khorben
257dd81b98 Let init be built easily with the CHROOT capability enabled.
This allows the ramdisk used in the incoming support for full-disk encryption to contain crunched binaries (much like sysinst) while booting a regular system (unlike sysinst).
2013-07-15 00:18:03 +00:00
htodd
5fcfb3153d And add a skip for the deleted _gpio in uid. 2013-07-14 15:44:00 +00:00
htodd
aebf69ca0d Add _rtadvd to uid check as well. 2013-07-14 15:27:12 +00:00
htodd
173d865eac Adding _rtadvd to group check. 2013-07-14 15:17:22 +00:00
njoly
dd3d742fd5 Switch a few remaining system/pathname configuration variables from
"Dv {xxx}" to "Brq Dv xxx".
2013-07-14 14:29:09 +00:00
reinoud
0eb394b1d0 udf_gro_genealogy() : source and destination should never be the same on call,
KASSERT it instead of checking for it.
2013-07-13 19:42:26 +00:00
reinoud
a987c68f3a vp is used, so don't (void) it 2013-07-13 19:40:14 +00:00
reinoud
2b15913865 Rework udf_gro_rename() to be more linear instead of nesting if/else
branching.
2013-07-13 19:39:02 +00:00
skrll
3aa460b612 Add crtstuff for hppa. Lightly tested. 2013-07-13 18:52:35 +00:00
njoly
a99b56e5d4 Quote -width arguments that start with a '-' sign. 2013-07-13 10:54:00 +00:00
njoly
c16c550ee5 Adjust -width argument to match reality; and while here quote it. 2013-07-13 10:52:50 +00:00
skrll
a704d8b98d Use sy_invoke 2013-07-13 10:29:37 +00:00
skrll
53f3286e0a Put some common entry stuff into _ENTRY and use it. 2013-07-13 10:26:30 +00:00
skrll
9a641fd145 crt0 actually calls ___start 2013-07-13 09:48:26 +00:00
njoly
d5921f2b1c Fix unknown .Tp macro. 2013-07-13 09:24:25 +00:00