Commit Graph

58771 Commits

Author SHA1 Message Date
eeh d1b815fe32 Sample code to implement ffs() using the popc insn (if it's ever implemented). 1999-12-30 15:30:26 +00:00
itojun e8834c8cd2 avoid memory leak on realloc() failure. 1999-12-30 09:52:03 +00:00
itojun c8ebe62e8b avoid memory leak on realloc() error. 1999-12-30 09:10:28 +00:00
hubertf ac80f7c7ac add disabled entry for options APM_DISABLE_INTERRUPTS=0 1999-12-30 04:18:51 +00:00
simonb d61cb0817b Don't use <err.h>. Use ANSI prototypes (no dependance on the __P()
macro).  Add new fwrite_be_offt() function which writes out a big-endian
64bit number regards of the size of off_t on the host machine.

Also fix ``bug'' in previous - even though the off_t pointers were
stored big-endian, the individual card lenghs were in host-order.  The
cards.pck files are now identical when make on a big- or little-endian
machine.

Now builds a correct cards.pck file on non-NetBSD machines as well
- tested on Ultrix and Solaris (but Solaris needs -lsocket to get
htonl()).
1999-12-30 01:40:08 +00:00
simonb c3a7361d5d Don't use any NetBSD specific features (<err.h> and friends mainly
- replaiced with local die() and dieperror() routines).  Use ANSI
prototypes (no dependance on the __P() macro).  Add new fwrite_be_offt()
function which writes out a big-endian 64bit number regards of the size
of off_t on the host machine.  Remove unused unctrl() function.

Now builds correct fortune .dat files on non-NetBSD machines as well
- tested on Ultrix and Solaris (but Solaris needs -lsocket to get
htonl()).
1999-12-30 01:32:33 +00:00
simonb f6c35735cd No need to include <sys/endian.h> here - <sys/types.h> includes
<machine/endian.h> which DTRT.
1999-12-30 01:26:44 +00:00
cgd 71a030cab6 avoid 'marching unit numbers' for cloning devices. (e.g., previously,
if you com* at pcmcia?, and com3 and com4 as pcmcia cards, and removed
and reinserted the card that was com3, it would become com5.  if you then
removed and reinserted com4, it would become com6.  etc.)  Now, instead
of incrementing FSTATE_STAR configuration entries for a driver when
a cloning instance is attached, leave it alone, and scan the device softc
array (starting at the first cloning unit number) for units which are
available for use.  This wastes a tiny bit of time (can require a linear
scan of the softc table for the device), but device attachment should be
relatively infrequent and the number of units of each type of device
is never particularly large anyway.
1999-12-30 01:03:43 +00:00
simonb 49ee67c77e Include qvssvar.h to get mouseInput() prototype. 1999-12-30 01:01:48 +00:00
simonb 5c8cb4e2a7 Make some functions static which aren't used anywhere else. Remove local
function definitions that are already in qvssvar.h.
1999-12-30 00:57:29 +00:00
simonb 644ff8f7ed Include <pmax/pmax/cons.h> instead of <dev/cons.h> to get RCONSDEV.
That file includes <dev/cons.h>.
1999-12-30 00:31:02 +00:00
simonb 88edf446c2 s/lk_mapchar/lk_reset/. 1999-12-30 00:29:53 +00:00
tron a3f8a54bf4 Regen. 1999-12-29 21:29:02 +00:00
tron 5228e12283 Add vendor and product code for Solid Year USB keyboard provided by
Ichiro Fukuhara in PR kern/9070.
1999-12-29 21:28:31 +00:00
tron eec7b963e1 Correct typo reported by Jens Nilsson in PR misc/9069. 1999-12-29 21:19:36 +00:00
pk f152d57aa2 Make sure to reset the FP queue when loading new values into FP registers. 1999-12-29 15:21:27 +00:00
hannken 2b8c4ea32e Fix IS_DATA and IS_TEXT. PF_X and PF_W are valid on p_pflags, not p_ptype. 1999-12-29 11:08:02 +00:00
veego a7c3d2263b Fix a panic which was mentioned on the ipfilter mailing list.
Patch from Darren send to the mailing list after he released 3.3.6 and
did a bad job with using the wrong way to update the NetBSD version
of ipfilter.
1999-12-29 08:19:07 +00:00
cgd 1fa77b6d55 Use:
.Sh SEE ALSO
rather than:
	.Sh "SEE ALSO"
The former is the correct form, and it makes a (barely persceptible)
difference in formatting for some output devices (e.g. 'ps').
1999-12-29 06:54:00 +00:00
tsutsui bcfe791812 Modify software interrupt handling a bit. 1999-12-29 05:01:13 +00:00
hubertf a27c7840ac mention /usr/share/examples/apm/script 1999-12-29 05:00:43 +00:00
castor 7fc2807b2b Make SOFTFLOAT emulation compatible with _MIPS_BSD_API_LP32_64CLEAN 1999-12-29 04:41:12 +00:00
hubertf cabb78b63e Add share/examples/apm/script, an example script to put into
/etc/apm/{line,battery,standby,...}
1999-12-29 04:16:21 +00:00
hubertf 6f51bb4732 make example cut&paste-ready 1999-12-29 04:11:30 +00:00
mrg 701497d2a8 add that /usr/lib/X11/locale is reqired for netscape. 1999-12-29 00:44:19 +00:00
assar c2de858715 add a typedef `sy_call_t' for the function type used in `struct
sysent'
1999-12-28 23:16:49 +00:00
kleink 1e9bb239a3 Off-by-one error in limiting the DMAC buffer size for Audio 2 to 64K (actually
64K - 1); from Dave Sainty in PR kern/9064.
1999-12-28 19:26:26 +00:00
jsm 73479d22b8 Use separate definitions and extern declarations of variables rather
than linker commons.
1999-12-28 18:05:24 +00:00
assar 8f5685ec6b ignore KEY and SIG records when matching responses to the query. we
get those as extras from DNSsec-enabled name servers.
1999-12-28 15:47:41 +00:00
tsubai a1da0497d2 Remove two panic conditions.
XXX untested.
1999-12-28 13:49:20 +00:00
simonb 2a69a62828 Use /usr/mdec/installboot to install new bootblocks. 1999-12-28 11:05:48 +00:00
simonb 082034a93d Use the "echoimage" target.
Install the ecoff install kernel in the release directory.
1999-12-28 10:56:54 +00:00
simonb 552638f765 Don't do the disklabel dance - just newfs the vnode.
Add an "echoimage" target.
1999-12-28 10:54:20 +00:00
simonb 57d1fda0d9 Add /usr/mdec/installboot. 1999-12-28 10:46:55 +00:00
darrenr 8a68eee934 update ipfilter code to 3.3.6 1999-12-28 07:40:12 +00:00
darrenr 0d8c216398 update DARRENR branch of dist/ipf to 3.3.6 1999-12-28 07:21:58 +00:00
darrenr 1904e0a218 update ipfilter code to 3.3.6 1999-12-28 07:14:53 +00:00
takemura 3e0dc7b316 VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
1999-12-28 03:15:16 +00:00
mjl 9d38d8530d Fix typo.:wq 1999-12-28 02:54:51 +00:00
mjl 67b9836fda Fix typo. 1999-12-28 02:51:17 +00:00
mjl 17c129e7df Fix spelling of separate. 1999-12-28 02:39:14 +00:00
mjl e09ea1631a Fix typos, as noted by Christian Weisgerber in OpenBSD PR/1030. 1999-12-28 02:15:41 +00:00
kleink f6655d0f7e Fix a buffer KVA comparison botch in eso_mappage(); from Dave Sainty in
PR kern/9062.
1999-12-28 01:39:38 +00:00
mrg 3304333ff0 add "/sbin/loader" to the list of required files. 1999-12-27 22:59:18 +00:00
jlam b6b1a9e6b8 man/man8/i386/apmd.8 was moved 1999-12-27 22:53:15 +00:00
jlam 893014097a s/libm386/libm387/ 1999-12-27 22:50:36 +00:00
matt 6b0de2aa24 Off by one error in station events. 1999-12-27 22:41:04 +00:00
castor 2a0deb6e74 Add code to ensure delay slot is printed when disassembling. 1999-12-27 21:12:25 +00:00
garbled d2fb9c48f8 Change MENUC= and MSGC= to ?= to aid in cross-compiling sysinst. 1999-12-27 20:31:32 +00:00
castor cf643fe983 Add macro for MIPS_PHYS_MASK and document use of bits in system status
registers.
1999-12-27 20:05:06 +00:00