Commit Graph

86770 Commits

Author SHA1 Message Date
yamt
1d81d04484 avoid leaks in the case of error. 2001-10-25 02:02:02 +00:00
thorpej
9132ab1031 No need to assign HOSTPROGNAME here, since we aren't changing it from
what PROG defaults to.
2001-10-25 01:49:48 +00:00
thorpej
32928fda0d When adding something to CPPFLAGS, use +=, not = 2001-10-25 01:47:11 +00:00
augustss
61406d282b Force BIOS out of the game by setting the LEGSUP register to its default
value.
2001-10-25 01:46:26 +00:00
thorpej
e39fae1aff Add the program's CPPFLAGS to HOST_CPPFLAGS using make(1)'s normal
lazy evaluation semantics, not the "assign it now" semantics.  This
allows variables used in the program's CPPFLAGS to get the correct
values of e.g. MACHINE, MACHINE_ARCH, MACHINE_CPU, etc.

Problem was notices when propagating MACHINE and MACHINE_ARCH via
MAKEFLAGS (i.e. from the command line, rather than the environment).

For this to work, make sure you <bsd.hostprog.mk> is at least rev 1.15.
2001-10-25 01:25:02 +00:00
thorpej
4cd6ce7ea8 Remove an unnecessary "CPPFLAGS=${HOST_CPPFLAGS}" -- the host tool
targets use HOST_CPPFLAGS exclusively, and keeping this assignment
can get us into some unfortuante recursion trouble.
2001-10-25 01:21:14 +00:00
thorpej
14c7c08a1d Provide a PRINTOBJDIR. 2001-10-25 00:36:26 +00:00
thorpej
a830755714 Don't descend into this mdsetimage -- we now use the BFD'ified
version in src/gnu/usr.sbin.
2001-10-24 23:59:40 +00:00
thorpej
a0e5722800 Descend into mdsetimage. 2001-10-24 23:58:58 +00:00
thorpej
5717160d3a MDSETIMAGE gets a MACHINE_GNU_PLATFORM prefix. 2001-10-24 23:58:21 +00:00
thorpej
b196c65125 Build a properly target-prefixed cross-tool version of mdsetimage,
using libbfd.
2001-10-24 23:57:45 +00:00
thorpej
e46fa74fd3 Add support for building as a target-prefixed cross-tool from src/tools. 2001-10-24 23:56:38 +00:00
matt
920cfb5205 Add "Red Black +" balanced binary tree routines to libkern. These provide
O(log(N)) insertation, deletion, and lookup times.  However, unlike most
red-black implemenations, this one does no additional memory allocations.
2001-10-24 22:40:56 +00:00
augustss
c642c12a27 Add a BUGS section mentioning the difficulties with using ddb during boot. 2001-10-24 22:37:07 +00:00
augustss
8c7d06c6f9 Add commented out match level feature. 2001-10-24 22:31:04 +00:00
atatat
70478477a0 Clean up the code a bit so that the ioctl() return value is always
compared to -1 (instead of <0 or !=0) and always to call err() with
EXIT_FAILURE instead of sometimes using 1.
2001-10-24 22:10:15 +00:00
augustss
3c51e46294 Regen. 2001-10-24 21:49:07 +00:00
augustss
5bd2b33be2 Add a PS/2 adapter. 2001-10-24 21:48:38 +00:00
augustss
78ed7b801d If there is no pckbc, but there is a ukbd, try using the latter as console. 2001-10-24 21:05:17 +00:00
augustss
1f93717101 Some more paranoia tests when entering the interrupt routine. 2001-10-24 21:04:04 +00:00
augustss
80d988187f If we are the console and we have DDB then events must not be delivered
from the interrupt routine since this will enter the USB interrupt
processing recursively during polling.
Now ukbd can be used as console keyboard for DDB!
2001-10-24 21:02:18 +00:00
thorpej
98f31d05a1 Apply patch from misc/13927. Also corresponds to master binutils
rev 1.24 of this file.  Binutils log message:

Fri Sep 14 13:56:45 2001 UTC by nickc:
Fix bug emitting R_SPARC_UA32 relocs into shared objects
2001-10-24 21:01:31 +00:00
thorpej
678788904a Memory map and system registers for the Firepower ES, MX, LX, and TX
systems.
2001-10-24 20:36:44 +00:00
augustss
adca9c589f More debug. 2001-10-24 20:20:03 +00:00
leo
56252d5449 Small changes to the boot system:
- Install boot.atari in both / and /usr/mdec. It looks good to have a
   spare copy soemwhere...
 - Add '/boot.ata' as a last resort bootname.

All per discussion with Simon Burge, Matthew Green and Soren S. Jorvang.
2001-10-24 20:12:57 +00:00
briggs
7bd7e68996 First cut at sysinst for sandpoint. 2001-10-24 19:43:40 +00:00
thorpej
163bd42722 Per request of mrg@netbsd.org, use MACHINE_ARCH of "sparc" for 32-bit
sparc64 kernels, thus defaulting to using the 32-bit "sparc" target
toolchain.
2001-10-24 19:12:18 +00:00
thorpej
36703ab375 Clean up the 32-bit vs. 64-bit kernel configuration stuff:
- Put all options necessary to build a 64-bit kernel into std.sparc64-64,
  which can be included after std.sparc64.
- Change the logic used to enable 64-bit kernels.  The kernel Makefile now
  uses an LP64 make variable, and explicitly sets compiler flags and linker
  scripts to generate 32-bit or 64-bit kernels.
2001-10-24 18:49:38 +00:00
atatat
cdc6282274 Provide a short output format for the get command that only prints the
address corresponding to RTA_GATEWAY, or nothing if it doesn't exist.
Modify the exit value of route depending on this, so that one can do
stuff like:

#!/bin/sh
gw=`route -sn get default 2>/dev/null`
if [ -z "$gw" ]; then
	echo no default route
	exit 1
fi
ping -w1 -c1 $gw >/dev/null 2>&1
if ! route -sn get $gw >/dev/null; then
	echo default gateway not responding
	exit 1
fi
echo default gateway is at $gw
2001-10-24 18:40:16 +00:00
augustss
87c42c4d3f Improve language. 2001-10-24 18:33:52 +00:00
augustss
6a51bdd2f2 Update usage message. 2001-10-24 18:31:16 +00:00
briggs
308f381263 Initial cut at installation instructions for sandpoint. 2001-10-24 18:30:34 +00:00
tron
c92eaa40f3 Avoid segmentation fault if "-z" option is used. Patch supplied by
Jarle Greipsland in PR bin/14338.
2001-10-24 17:27:18 +00:00
atatat
2e4d1a174e Print a R on reject routes to indicate that they're not normal routes,
and check netmask (or prefix) length as well as the destination
address when determining if a route is a "default" or not.  This means
that the output from 'route show' will no longer say:

	Internet6:
	Destination       Gateway            Flags
	default           localhost          UG
	default           localhost          UG

but instead

	Internet6:
	Destination       Gateway            Flags
	::/104            localhost          UGR
	::/96             localhost          UGR

which makes much more sense.
2001-10-24 16:05:06 +00:00
soren
3715322bb3 Determine PCI config mode before the ACPI probe; some methods need
to access PCI configuration space early.
2001-10-24 15:53:04 +00:00
augustss
9e06709975 Clear wskbd_console_device when console keyboard is detached. 2001-10-24 15:44:50 +00:00
thorpej
d213444bc5 Need to install intr.h. 2001-10-24 15:33:17 +00:00
augustss
5c2ee5ebed Make sure interrupt pipe is closed when detaching console keyboard. 2001-10-24 15:31:06 +00:00
nonaka
ea626a3168 Fix cross-compile failure. 2001-10-24 15:30:47 +00:00
augustss
97d4315865 Better debug message. 2001-10-24 15:30:17 +00:00
bjh21
5b191935e3 Re-instate MACHINE -> MACHINE_ARCH entry for arm26, which I left out of the
last change.
2001-10-24 14:55:09 +00:00
augustss
b97e37c9db Update for wsmux ioctl() name changes. 2001-10-24 14:14:03 +00:00
augustss
2f1f0a1702 Major rototilling of the wsmux code. No user visible changes (except that
many bugs have been fixed).
Changes:
The wskbd, wsmouse, and wsmux are now "sub-classes" of wsevsrc, which is
a source of ws events.  This make the structure of those drivers a little
more uniform.
Many bug fixes involving adding and removing devices from muxes.
When a kernel is configured without wsmux there will now be none (unlike
before where you got a console mux anyway).
The kernel now compiles with all combinations of ws devices present.
2001-10-24 14:07:31 +00:00
bjh21
ad870d54a0 Sync the MACHINE -> MACHINE_ARCH mapping for ARM platforms with
sys/arch/*/param.h.  While not necessarily correct, param.h is at least
definitively incorrect.
2001-10-24 14:00:24 +00:00
bjh21
a9c8e8ab15 We set MACHINE_ARCH to "arm" on arm26 now. 2001-10-24 13:53:24 +00:00
bjh21
61d38b1990 Fix up the Makefile fragments for GDB on NetBSD/arm so they actually
correspond to the files we've got.
2001-10-24 13:47:52 +00:00
lukem
655fadf63c fix typo 2001-10-24 11:28:55 +00:00
itojun
eecba85f88 no tcp_fasttimo any more. PR 14333 2001-10-24 09:37:00 +00:00
enami
4644bbe41d s/fnctl/fcntl/ 2001-10-24 09:01:47 +00:00
itojun
73f4e5001f more whitespace sync with kame 2001-10-24 06:36:37 +00:00