freebsd-nq/usr.sbin
Bill Paul b6a67367fa Make ndiscvt(8) emit the binary image array as inline assembly code rather
than a char array. Emitting the data as a big char array works fine in
the typical case, where a .sys file may be ~50K in size. Unfortunately,
some .sys files can be several hundred Kbytes in size, or even several
megabytes in size. One extreme case is the Intel centrino wireless
driver, which is 2.4MB. This causes us to emit an ndis_driver_data.h
file that's on the order of 15MB in size, and gcc consumes enormous
amounts of virtual memory while trying to compile it. On my laptop,
with 128MB of RAM and 256MB of swap space, gcc consumed all available
VM and crashed without being able to compile if_ndis.o.

By emitting the array as assembler, we bypass the C compiler and consume
much less memory. I was able to easily test compile if_ndis.ko with the
centrino driver on my laptop after this change.

This is merely a convenience, and should not have any operational effect
on the NDISulator itself.
2003-12-18 21:47:14 +00:00
..
ac Remove unused #includes. Eliminate castings by using size_t instead of int. 2002-10-17 13:19:47 +00:00
accton Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
acpi Add a newline even if IAPC_BOOT_ARCH == 0. 2003-10-29 17:59:05 +00:00
adduser mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
amd Sync with fresh generated file, keep our changed settings. This seems 2003-09-02 17:38:30 +00:00
ancontrol Remove an annoying printf that somehow leaked into rev 1.21. 2003-11-16 08:41:24 +00:00
apm Remove the zzz files since they have been moved to src/usr.sbin/zzz 2003-07-14 16:32:45 +00:00
apmd - Set close on exec flag for device file descriptors. 2003-06-22 05:57:34 +00:00
arp mdoc(7) cleanups (use .Va, not .Dv, for sysctls.) 2003-10-03 07:48:56 +00:00
asf Add a "-f" flag for asf(8) which performs a search to find the each module 2003-11-04 06:38:37 +00:00
atm Use a size_t for variables that need to hold buffer lengths. 2003-07-29 13:40:52 +00:00
bluetooth Replace all uses of the old netgraph constants NG_*LEN by the new 2003-11-15 15:26:35 +00:00
boot0cfg Get rid of duplicates. 2003-09-14 13:41:59 +00:00
boot98cfg s/DIOCGPC98/DIOCSPC98/ 2003-05-02 14:55:42 +00:00
bootparamd Make this compile cleanly. Switch to using rpcgen to generate 2003-10-26 05:51:51 +00:00
bsnmpd Replace all uses of the old netgraph constants NG_*LEN by the new 2003-11-15 15:26:35 +00:00
btxld Make this work on different endianness machines. 2003-03-11 13:48:58 +00:00
burncd Catch up with the latest in device naming. 2003-11-18 02:33:27 +00:00
cdcontrol * Auto-detect what device to use if none is specified 2003-11-17 14:02:04 +00:00
chkgrp Warn if there is no newline at the end of the group file. 2003-06-06 07:10:39 +00:00
chown Use uid_t. 2003-09-07 16:43:53 +00:00
chroot Allow the optional setting of a user, primary group, or grouplist 2003-06-07 10:56:12 +00:00
ckdist - Align the function prototype of the external `crc' function with 2003-03-13 23:34:18 +00:00
config Fixed spurious syntax errors for including files that don't begin with 2003-11-14 11:23:25 +00:00
cron Mention the fact that our crontab is not fully POSIX.2 conform, because 2003-10-24 13:02:39 +00:00
crunch Fix a bug that caused i386 to produce broken binaries for big-endian 2003-08-08 15:44:17 +00:00
ctm No need to define externs for getopt interface. 2003-08-07 05:47:49 +00:00
daemon add FBSDID 2003-07-06 12:44:11 +00:00
dconschat Increase MAXDEV up to 10. 2003-11-09 14:49:43 +00:00
devinfo -v now also prints the pnpinfo and location information for the devices 2003-02-17 18:56:54 +00:00
digictl style.Makefile(5) 2003-04-04 17:49:21 +00:00
diskinfo Assorted mdoc(7) fixes. 2003-05-31 18:07:09 +00:00
editmap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
edquota mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
elf2exe The .Nm utility 2002-07-14 14:47:15 +00:00
extattr Update lsextattr(8) to use the new extattr_list_*() APIs, rather than 2003-06-05 04:30:00 +00:00
extattrctl When giving examples of how to use extattrctl(8) to configure UFS1 2003-05-14 20:31:06 +00:00
faithd - poll(2) support. 2003-11-14 17:34:08 +00:00
fdcontrol Grammar tweaking. "has been" is very often not as good as "is" or "was". 2003-07-06 18:27:23 +00:00
fdformat Include <string.h> for some prototypes, rather than depending on 2002-04-01 21:13:17 +00:00
fdread Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
fdwrite Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
fwcontrol o grammar fixes 2003-12-17 10:14:11 +00:00
getfmac sigh... revert the previous change; this isn't getpmac 2003-01-15 03:13:51 +00:00
getpmac mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
gstat Sigh, I guess this manpage used cat(1) as a template? 2003-05-31 18:19:50 +00:00
i4b Get rid of duplicates. 2003-09-14 13:41:59 +00:00
ifmcstat Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
inetd Rather than use the gcc -fno-builtin-log flag, just rename the 'int log' 2003-10-30 22:56:44 +00:00
iostat Remove MAINTAINER= lines in the makefiles for camcontrol, iostat, libcam 2003-06-14 05:28:01 +00:00
ip6addrctl add ip6addrctl(8) which is a command to configure address 2003-10-30 17:46:40 +00:00
ipftest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipresend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipsend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
iptest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
IPXrouted Make this WARNS 2 clean, and fix up the manual page: 2003-11-15 17:10:56 +00:00
jail A variety of content cleanups: 2003-11-20 03:47:50 +00:00
jexec Make jexec duplicate the actions of the shell searching for an 2003-07-04 19:14:27 +00:00
jls IP addresses can be up to 15 characters long, not 12. 2003-04-22 13:24:56 +00:00
kbdcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
kbdmap mdoc(7) police: bump document date for the C rewrite, nit. 2002-12-04 14:45:48 +00:00
kernbb Fix our kernel support for Basic Block Profiling to work with GCC33. 2003-12-03 07:43:03 +00:00
keyserv Use arc4random() instead of random() when generating the master key. 2003-02-18 01:35:58 +00:00
kgmon Use correct item to track max width of list 2003-03-24 20:55:28 +00:00
kgzip Remove uneeded cast. 2003-06-11 21:37:19 +00:00
kldxref style.Makefile(5) 2003-04-04 17:49:21 +00:00
lastlogin The .Nm utility 2002-07-14 14:47:15 +00:00
lpr Fix a warning about mismatched pointers. A pointer to "void *" is not the 2003-10-26 03:01:24 +00:00
lptcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
mailstats Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
mailwrapper add FBSDID 2003-07-06 12:44:11 +00:00
makemap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
manctl The .Nm utility 2002-07-14 14:47:15 +00:00
memcontrol mdoc(7) police: markup fixes. 2002-11-27 15:31:08 +00:00
mergemaster Use the actual build target (all), since relying on the build as a 2003-08-04 10:23:45 +00:00
mixer Document changes to default output. 2003-06-15 08:46:36 +00:00
mld6query Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 2003-10-24 18:26:30 +00:00
mlxcontrol
mount_nwfs Make this 64 bit clean. Use size_t for sysctl() length pointer args. 2003-07-25 20:56:57 +00:00
mount_portalfs Correct paths to mount sources. 2003-07-02 16:43:14 +00:00
mount_smbfs Correct paths to mount sources. 2003-07-02 16:43:14 +00:00
mountd Rename the 'log' variable rather than -fno-builtin-log 2003-10-30 22:57:43 +00:00
moused __FBSDID; remove duplicate <ctype.h>; try to reduce style inconsistencies. 2003-11-17 11:26:51 +00:00
mptable Make this build and work on amd64 (sledge at least). 2003-09-30 04:09:21 +00:00
mrouted Use -D to rename the log() function (extensively used) rather than 2003-10-30 22:59:41 +00:00
mtest add FBSDID 2003-07-06 12:44:11 +00:00
mtree The new "spec against spec" comparison code was yet another time 2003-11-30 18:06:02 +00:00
named LANG->LC_ALL 2003-08-04 21:31:53 +00:00
named.reload
named.restart
ndc style.Makefile(5) 2003-04-04 17:49:21 +00:00
ndiscvt Make ndiscvt(8) emit the binary image array as inline assembly code rather 2003-12-18 21:47:14 +00:00
ndp - make command line argument parsing POSIX compliant. comment from 2003-11-13 16:02:44 +00:00
newsyslog Handle a 'const' parameter without using __DECONST(). 2003-10-04 02:24:47 +00:00
nfsd style.Makefile(5) 2003-04-04 17:49:21 +00:00
ngctl Get rid of the old constants which did not include the trailing NUL 2003-11-12 13:04:44 +00:00
nghook Allow nghook to execute a program with the data socket connected to 2003-10-24 10:01:36 +00:00
nologin Remove the BUGS section introduced in rev 1.11 now that the problem 2003-11-17 06:39:54 +00:00
nslookup style.Makefile(5) 2003-04-04 17:49:21 +00:00
nsupdate
ntp Xref police: ntp.conf(8) -> ntp.conf(5). 2003-06-17 09:51:17 +00:00
ofwdump Autosize the property buffer instead of limiting it to 8192, and 2003-06-11 18:44:26 +00:00
pccard Ooops. Committed sin number 1: updating the code w/o updating the comments. 2003-10-04 18:43:21 +00:00
pciconf make pciconf understand it's own output as stated in the manpage. 2003-06-20 23:59:25 +00:00
pcvt Call exit(0), not exit. 2003-04-29 19:53:00 +00:00
periodic The .Nm utility 2002-07-14 14:47:15 +00:00
pkg_install Correct truncation detection after use of snprintf: The case where 2003-12-17 13:36:05 +00:00
pnpinfo style.Makefile(5) 2003-04-04 17:49:21 +00:00
ppp Replace all uses of the old netgraph constants NG_*LEN by the new 2003-11-15 15:26:35 +00:00
pppctl Add IPv6 support to pppctl by using getaddrinfo() and trying each address 2003-12-07 08:39:29 +00:00
pppd Disclaim ownership of pppd/chat. It is vendor code, but has been badly 2003-10-29 19:24:04 +00:00
pppstats Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
praliases Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
procctl Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
pstat Remove options processing for dumping swapdevice radix map. 2003-07-31 21:20:08 +00:00
pw mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
pwd_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
quot Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
quotaon Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rarpd Make it clear that -a flag and interface parameter are mutually exclusive 2003-08-16 22:23:16 +00:00
raycontrol update for 802.11 support 2003-06-28 06:19:37 +00:00
repquota Add support for a -n argument which displays user and group IDs 2003-07-07 21:41:23 +00:00
rip6query The .Nm utility 2002-07-14 14:47:15 +00:00
rmt There is no need to #include <sgtty.h> 2003-09-04 01:33:43 +00:00
route6d - need_trigger/idx should be u_int, not ssize_t. 2003-11-14 17:16:50 +00:00
rpc.lockd Make this compile cleanly. It passes WARNS=2, but I haven't checked 2003-10-26 06:10:44 +00:00
rpc.statd Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +00:00
rpc.umntall Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +00:00
rpc.yppasswdd Fix yppasswdproc_update_master_1_svc() too. 2003-06-15 21:24:45 +00:00
rpc.ypupdated Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rpc.ypxfrd Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rpcbind Don't pass NULL as an integer. 2003-10-29 09:31:41 +00:00
rrenumd fix comment. 2003-10-26 10:30:17 +00:00
rtadvd fixed memory leak. 2003-09-20 09:41:13 +00:00
rtprio add FBSDID 2003-07-06 12:44:11 +00:00
rtsold backout 1.11. ifname in struct ifreq should be copyed by strncpy. 2003-08-17 11:54:58 +00:00
rwhod use a list to enumerate options 2003-07-06 12:27:52 +00:00
sa Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
sade Provide a way to deal with rc.conf which may already be populated in certain 2003-12-13 16:12:55 +00:00
sendmail Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
setfmac Mostly fixed the SYNOPSIS. 2003-05-31 18:42:18 +00:00
setkey enable aes-xcbc-mac and aes-ctr, again. 2003-11-10 10:39:14 +00:00
setpmac mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
sgsc
sicontrol mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
sliplogin Add section number to .Xr 2003-06-08 14:33:04 +00:00
slstat Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
spkrtest The .Nm utility 2002-07-14 14:47:15 +00:00
spray do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, instead 2002-07-15 18:53:52 +00:00
stallion Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
sysinstall Install 100dpi fonts by default when installing X11: fun as using 75dpi 2003-12-17 23:08:13 +00:00
syslogd logerror is used in syslogd to log errors from syslogd itself. It 2003-11-16 21:51:06 +00:00
tcpdchk Turn on the extended syntax, which TCP_wrappers has by default, as 2003-07-24 19:58:56 +00:00
tcpdmatch Drop MAINTAINER bits from here. 2003-06-04 15:58:03 +00:00
tcpdump Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
timed Fix a BSS buffer overflow caused by makeargv() writing past the end of 2003-10-11 07:35:35 +00:00
traceroute Update for traceroute 1.4a12 2002-07-28 02:27:07 +00:00
traceroute6 - setsockopt/sysctl takes int, not u_long. 2003-11-12 18:56:59 +00:00
trpt Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
tzsetup Cosmetic fix: a message was mixed with a dialog box border line. 2003-11-28 20:44:25 +00:00
ugidfw style.Makefile(5) 2003-04-04 17:49:21 +00:00
usbd fix spelling of ATTACH 2003-10-25 22:03:10 +00:00
usbdevs The .Nm utility 2002-07-14 14:47:15 +00:00
vidcontrol Propagate ioctl() failure to exit status 2003-09-18 16:20:32 +00:00
vipw Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
vnconfig
watch Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
watchdogd o style(9) fixes 2003-07-03 03:37:04 +00:00
wicontrol Typos fixing: 2003-10-05 12:09:31 +00:00
wlconfig The .Nm utility 2002-07-14 14:47:15 +00:00
yp_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypbind Correct a spelling error. 2003-06-04 19:24:24 +00:00
yppoll Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
yppush Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypserv Eliminated two dozens of superfluous cats and two r-cats (sorry, Jordan). 2003-06-13 16:13:28 +00:00
ypset Include stdlib.h for exit() 2003-06-08 06:25:47 +00:00
zic style.Makefile(5) 2003-04-04 17:49:21 +00:00
zzz add section name 2003-08-16 19:59:53 +00:00
Makefile Commit the first cut of Project Evil, also known as the NDISulator. 2003-12-11 22:34:36 +00:00
Makefile.inc