Commit Graph

109590 Commits

Author SHA1 Message Date
lukem
4d531936c1 use distrib/common/sunbootcd.sh instead of building the
non-cross-friendly distrib/utils/mksunbootcd/mksunbootcd
2003-03-07 09:46:51 +00:00
lukem
43dbccb5e3 Script to make a file system image (usually .iso) bootable by Sun
computers, by appending appropriate boot file systems to the image and
then creating a disklabel using sunlabel(8).

Inspired by distrib/utils/mksunbootcd, except that this is a shell script
instead of being a C program that would have needed to become a host tool.
2003-03-07 09:36:02 +00:00
lukem
85794c7b93 improve calculation to determine number of disks required 2003-03-07 09:33:53 +00:00
grant
7d55c4c504 fix a bogus error message when given a HTTP URL with a trailing
slash.
2003-03-07 08:13:48 +00:00
tshiozak
5abc4b4f43 add fgetws() and fputws() (lib/20576).
Note: fgetws.c, fgetws.3, fputws.c and fputws.3 are obtained from FreeBSD,
and fitted by sigsegv@infoseek.jp and me.
2003-03-07 07:11:35 +00:00
tshiozak
e16e5eebd3 add original FreeBSD RCS ID.
NOTE: these files were obtained from FreeBSD and fitted for NetBSD
by sigsegv@infoseek.jp.
2003-03-07 06:46:38 +00:00
fvdl
c6fc01f541 Use both -I. for generated .h files, and -I${.CURDIR} for include "foo" 2003-03-07 01:31:30 +00:00
thorpej
b81d443ef3 Allow a memory disk image to be statically included in the kernel
to be specified in the kernel configuration file, like so:

makeoptions	MEMORY_DISK_IMAGE="/path/to/image.fs"
2003-03-07 01:26:12 +00:00
lukem
ea64374119 remove unnecessary message 2003-03-07 01:22:16 +00:00
thorpej
b48666e01a Add a HEXDUMP host tool. 2003-03-07 01:21:56 +00:00
thorpej
ae754e0c76 Make hexdump a host tool. 2003-03-07 01:14:30 +00:00
fvdl
2130087152 This seems to need a -I${.CURDIR} these days. 2003-03-07 01:06:05 +00:00
fvdl
a5e1ea426b Add GENERIC.MP to the kernel sets. 2003-03-07 00:48:48 +00:00
dsl
ef50700873 LIBSA_NO_CLOSE is LIBSA_NO_FS_CLOSE everywhere else. 2003-03-07 00:46:37 +00:00
fvdl
74cc14e0d0 Quell formwat warning for LP64 for the diskinfo printf. 2003-03-07 00:42:04 +00:00
matt
52f7db1beb Fix C&P tpyo. 2003-03-07 00:14:38 +00:00
taca
e7e88128f7 Fix compile error with struct consdev change. 2003-03-06 23:47:35 +00:00
fvdl
86748d8f56 etc setlit for x86_64 2003-03-06 23:42:53 +00:00
fvdl
12979f5862 Sync with reality. 2003-03-06 23:41:10 +00:00
fvdl
dd5e8c7e4d Update include files. 2003-03-06 23:25:19 +00:00
fvdl
d2c1c747ec Remove last traces of pccons. 2003-03-06 23:21:36 +00:00
matt
c4d8a6226e Make the intel phy match the i82562 phys. 2003-03-06 22:38:09 +00:00
fvdl
167eeeab9c Update for kernel include changes. 2003-03-06 22:32:07 +00:00
bouyer
5cdb9ac484 Regen: Remove duplicate in previous. 2003-03-06 22:25:43 +00:00
bouyer
0cc9494784 Remove duplicate in previous. 2003-03-06 22:25:23 +00:00
fvdl
06114d8df6 Don't descend into ../i386/include anymore. 2003-03-06 22:22:55 +00:00
fvdl
00289f6f52 Put the correct value in the TPR before entering DDB. 2003-03-06 22:17:44 +00:00
bouyer
35f51b36b4 Regen: Add several SiS host bridges, from FreeBSD. 2003-03-06 22:10:26 +00:00
bouyer
bc029ddc91 Add several SiS host bridges, from FreeBSD. 2003-03-06 22:09:46 +00:00
thorpej
1557986bd7 Don't require that input buffers and output buffers be of the same
type.
2003-03-06 21:32:59 +00:00
thorpej
a572240890 For functions with inputs and outputs, we currently require that the
buffer types be the same; don't rely on the middle-end to enforce this
for us.
2003-03-06 21:10:45 +00:00
thorpej
53c077e6a5 Pull in a patch from GCC 3.3 that's been in my local tree for a long time:
(*mulsi3_compare0, *mulsi_compare0_scratch, *mulsi3addsi_compare0,
*mulsi3addsi_compare0_scratch): Predicate on !arm_is_xscale.

(mulhisi3, *mulhisi3addsi, *mulhidi3adddi): New patterns, predicated
on arm_is_xscale.
2003-03-06 20:58:20 +00:00
fvdl
51c335ad9a Fixup DDB entry and register access. 2003-03-06 20:58:09 +00:00
jonathan
a9ae465f5e Commit the FreeBSD alternative of a private patch to check NIC internal
ram for using TBI, versus MII/GMII.

FreeBSD commit log and versions:
   Obtain the media type from the shared memory and only use the eeprom
   as a fallback.

   if_bge.c:	rev 1.30
   if_bgereg.h:	rev 1.13

Thanks to Paul Saab @mu.org.
2003-03-06 20:53:05 +00:00
thorpej
65d8e7315e HW_PHYSPAGES -> HW_PHYSMEM64, HW_USERPAGES -> HW_USERMEM64. 2003-03-06 20:39:08 +00:00
thorpej
5fbe4e61de hw.physpages -> hw.physmem64, hw.userpages -> hw.usermem64 2003-03-06 20:36:51 +00:00
thorpej
be8e7c7bd2 Note/adjust hw.physmem64 and hw.usermem64 entry. 2003-03-06 20:35:13 +00:00
thorpej
9e7bb2595e Based on the feedback on wasabisystems.com!bsd-api-discuss (sure wish
people would read that list in a more timely fashion!), change the new
64-bit memory reporting sysctl nodes to report bytes.  This should not
be a problem, since it's only a week old, and no applications use the
new nodes yet.
2003-03-06 20:32:59 +00:00
matt
feeb962699 Correct pci1 bus_space tag. 2003-03-06 20:15:24 +00:00
jonathan
cf38b6aae6 FreeBSD fix for problems reported (to FreeBSD) with 16-bit accesses
to 32-bit device registers. Add (untested) NetBSD fix for big-endian hosts.
From FreeBSD versions:
	if_bge.c:	1.26 and 1.27
	if_bgereg.h: 1.12

FreeBSD (MFC) comment:

MFC:  Avoid 16-bit accesses to device memory.  Use volatile where
appropriate in referencing device memory.  Parenthesize BGE_HOSTADDR
define properly.
2003-03-06 20:12:53 +00:00
thorpej
ea9a7f73e0 * No need for an interface attribute on "dma".
* Take the "dma" attribute off fhpib and nhpib, so that leaving out "dma"
  causes a compile-time error, rather than a run-time crash.
2003-03-06 18:28:52 +00:00
thorpej
bba7685f5f Update for consdev changes. 2003-03-06 18:24:52 +00:00
taca
28d2056e12 make it compile in /usr/src/rescue directory. 2003-03-06 17:01:27 +00:00
christos
bcb98aa28e handle repositories that contain symlinks in their path. 2003-03-06 16:14:34 +00:00
darrenr
bacf7b9b2b When unblocking threads, do not call setrunnable() on the thread we will
be returning because the code path that calls is will very likely call
setrunnable() again on the returned thread, leading to a panic because
the thread returned is already at LSRUN.  This fixes a problem where netbsd
would panic when using gdb (5.3) on a process with multiple lwp's like this:
% gdb program
(gdb) run
^C
(gdb) quit
2003-03-06 15:31:14 +00:00
martin
5005fdb656 Run "arrival" scripts too in the inital pass on startup.
Open the routing socket before this pass to close a small window where
we would miss messages at startup (and get state kept by the scripts
out of sync).
Patch supplied by KOIE Hidetaka in private mail.
2003-03-06 13:33:29 +00:00
skrll
bcc03a47aa Add NULL cn_halt and cn_flush entries to consdevs. Hi Matt! 2003-03-06 13:09:28 +00:00
dsl
f24cb25605 - add keywords for utime, stime and ctime (output sss.ssssss if small)
- fiddle with keyword table - mainly to keep width under 80 cols
- add -k keylist so sort output
- don't use logs to work out field width, get -MAXINT right
- user defined headers can be 1 char (actually they can be zero length)
  so ?? in tty column isn't guaranteed to be wider than header
- remove some long long casts (compiles on sparc64 still)
- use kvm_openfiles(NULL, NULL, NULL, KVN_NO_FILES, ..) unless core file
  specified,
(approved by christos)
2003-03-06 09:04:21 +00:00
dsl
036e265716 - add keywords for utime, stime and ctime (output sss.ssssss if small)
- fiddle with keyword table - mainly to keep width under 80 cols)
- add -k keylist so sort output
- don't use logs to work out field width, get -MAXINT right
- user defined headers can be 1 char (actually they can be zero length)
  so ?? in tty column isn't guaranteed to be wider than header
- use PRId64 to remove some long long casts
- use kvm_openfiles(NULL, NULL, NULL, KVN_NO_FILES, ..) unless core file
  specified
(approved by christos)
2003-03-06 09:02:16 +00:00
rafal
d5afdde2ba Catch up to struct consdev changes. 2003-03-06 07:59:37 +00:00