Commit Graph

58792 Commits

Author SHA1 Message Date
eeh
75402069b7 Use absolute size structures for H/W registers. 1999-12-30 16:25:17 +00:00
eeh
01dc4c4451 Update 32-bit sigcontext structures. 1999-12-30 16:24:33 +00:00
eeh
0e853e8d4a struct core32 is now in MI headers. 1999-12-30 16:22:12 +00:00
eeh
2c1410f883 Implement PMAP_PREFER(). 1999-12-30 16:21:25 +00:00
eeh
4558c5bfb7 Add the %gsr to our fpstate structure. 1999-12-30 16:20:43 +00:00
eeh
0e53075800 Switch libkern back to a library 'cause bzero's back in locore.s. 1999-12-30 16:19:00 +00:00
eeh
c0ac678704 I should have made uvm_page_physload() take paddr_t's instead of vaddr_t's.
Also, add uvm_coredump32().
1999-12-30 16:09:47 +00:00
eeh
3bd42b03a7 Make getcwd_common() available to COMPAT_NETBSD32 code as well. 1999-12-30 16:01:34 +00:00
eeh
f293acc959 Dump cores for 32-bit processes. 1999-12-30 16:00:23 +00:00
jonb
fb98025cac Make things link again. Thanks for the hints Simon and itojun... 1999-12-30 15:59:31 +00:00
eeh
b142754870 Handle args for 32-bit emulation processes properly. 1999-12-30 15:59:26 +00:00
eeh
7aeaf762e5 Move netbsd32_exec BEFORE normal 32-bit exec so 32-bit binaries are not executed
on 64-bit kernels without emulation mode.
1999-12-30 15:57:31 +00:00
eeh
c31ab38252 Add prototype for cpu_coredump32() 1999-12-30 15:53:09 +00:00
eeh
cadfe4867c Add dtime_t for on-disk time_t so we can fix the Y2038 problem. 1999-12-30 15:51:35 +00:00
eeh
fd992f88b0 Make sure the elf_args strucure is appropriate for the size of the ELF binary. 1999-12-30 15:48:19 +00:00
eeh
65ff6824ed Added a 32-bit compatibility process flag. 1999-12-30 15:46:16 +00:00
eeh
9701a23cec Format for 32-bit core images. 1999-12-30 15:45:09 +00:00
eeh
a65e57bfc6 Update to 32-bit compatibility routines. 1999-12-30 15:40:45 +00:00
itojun
5dd97131d3 typo (sa_family must be sa_len)
NetBSD PR: 9084
1999-12-30 15:39:40 +00:00
eeh
818cfe2268 Workaround for gcc 2.96 bugs. 1999-12-30 15:34:47 +00:00
eeh
0ba088f0a3 New bzero() using block store insns. 1999-12-30 15:31:39 +00:00
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