Commit Graph

96541 Commits

Author SHA1 Message Date
bjh21 b846107274 Rather than hardcoding "/bin/sh", use _PATH_BSHELL. To allow bootstrapping,
provide a default for this in pathnames.h, and only include <paths.h> ifndef
MAKE_BOOTSTRAP.
2002-04-27 15:14:30 +00:00
shin 0201440bd2 * make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
2002-04-27 12:36:47 +00:00
shin e81d147a25 add INTERTOP CX310 to supported machine. 2002-04-27 12:21:30 +00:00
chris 8480bd8390 Correct typo.
Remove tabs, !Edit on Risc OS shows tabs as [09] by default.
2002-04-27 10:48:13 +00:00
tsutsui 0ab399cb54 Add bbinfo.h. 2002-04-27 10:22:36 +00:00
tsutsui d60ade3462 Install bbinfo.h. 2002-04-27 10:20:38 +00:00
tsutsui 9f51b11c37 Use a magic structure with a magic number instead of using nlist(3)
for installboot(8) to patch proto bootblocks.
(This is a preparation to migrate MI installboot.)
2002-04-27 10:19:57 +00:00
lukem f9eb7d99f0 run "./etc/postinstall check" in afterinstall: 2002-04-27 08:11:53 +00:00
mrg 5bd8d70795 bump version to nb2. 2002-04-27 04:31:16 +00:00
gson ae16970106 Add myself. 2002-04-27 03:49:06 +00:00
enami 064142edd8 Use ETHER_HDR_LEN instead of 14. 2002-04-27 02:38:47 +00:00
thorpej 9054daca3e * Instrument tcp_build_datapkt().
* Remove the code that allocates a cluster if the packet would
  fit in one; it totally defeats doing references to M_EXT mbufs
  in the socket buffer.  This drastically reduces the number of
  data copies in the tcp_output() path for applications which use
  large writes.  Kudos to Matt Thomas for pointing me in the right
  direction.
2002-04-27 01:47:58 +00:00
perseant 76d2795556 Make exported LFSes not panic on the first file create. 2002-04-27 01:00:46 +00:00
matt e18dedbd2f switch from addis R,0,... to the simplified mnemonic of lis which is
typically used for this.
2002-04-26 23:28:53 +00:00
thorpej 2ddda24f28 53c1010 chips are ultra3, not ultra2. 2002-04-26 19:44:52 +00:00
groo c82eeddb2d dreamcast dependent set list 2002-04-26 19:17:38 +00:00
groo d11fdcc492 Complete the switch to NEW_TOOLCHAIN for sh3e[lb]. 2002-04-26 19:16:04 +00:00
bjh21 caaf2ee30b Include <arpa/inet.h> for ntohl and htonl on POSIX systems.
Also include its prerequisites for compiling on older NetBSD versions.
2002-04-26 18:04:58 +00:00
thorpej bfd9280083 Issue a CPWAIT sequence after enabling the MMU to make sure
it's really enabled.
2002-04-26 18:01:21 +00:00
bjh21 bde73607cc Pull in config.h when we're building zic as a host tool.
This makes zic compilable with Sun WorkShop C 5.0.
2002-04-26 17:31:54 +00:00
matt f9f502221e Use the correct name of the INSTALL kernel. 2002-04-26 17:30:00 +00:00
christos a82db51f4d disable profiling set{u,g}id binaries. 2002-04-26 16:39:52 +00:00
lukem 3fa66e9068 - use "cp" instead of "cp -p", as the files in ${SRC_ETC} might not be owned
by root
- set umask to 022
2002-04-26 16:32:49 +00:00
lukem 248bbf896e Document NETBSDSRCDIR & UNPRIVED.
Reword BSDOBJDIR and BSDSRCDIR descriptions.
2002-04-26 16:24:06 +00:00
lukem 8feb052770 s/_SRC_TOP_/NETBSDSRCDIR/ 2002-04-26 16:23:14 +00:00
lukem bb2f4a8f06 s/BSDSRCDIR/NETBSDSRCDIR/ 2002-04-26 15:54:41 +00:00
lukem 9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
lukem 9830579350 add 'help' as a synonym for 'usage' 2002-04-26 15:49:09 +00:00
lukem 5363a55b99 s/REV/DISTRIBREV/ 2002-04-26 15:47:21 +00:00
lukem 560c3ebc52 add etc/postinstall 2002-04-26 15:46:13 +00:00
lukem 9ada96166d install postinstall 2002-04-26 15:43:39 +00:00
lukem 6cc319cec4 postinstall -- check for or fix configuration changes that occur over time
as NetBSD evolves.

checks/fixes supported in initial version:
  defaults      /etc/defaults being up to date
  mtree         /etc/mtree being up to date
  rc            /etc/rc* and /etc/rc.d/ being up to date
  periodic      /etc/{daily,weekly,monthly,security} being up to date
  ssh           ssh configuration file relocation
2002-04-26 15:37:25 +00:00
bjh21 dad5e0c347 Change RCS/SCCS IDs to our usual style. 2002-04-26 15:32:45 +00:00
lukem 7bbec49f2a remove unused REV & VER 2002-04-26 15:27:02 +00:00
lukem 29d47e20ef s/VER/DISTRIBVER/ 2002-04-26 15:25:33 +00:00
lukem 5bf6e9db83 use RELINSTALL 2002-04-26 15:05:29 +00:00
lukem 9074deb758 use gzip -9f 2002-04-26 15:05:18 +00:00
lukem f845b9752d use RELINSTALL 2002-04-26 15:04:30 +00:00
lukem 82172c42f6 Implement NETBSDSRCDIR, which is the top level of the NetBSD source tree.
Defaults to the directory determined by the _SRC_TOP_ logic (if != ""),
and the BSDSRCDIR.

NETBSDSRCDIR has been provided for use by the various NetBSD source
Makefiles to find the top of the NetBSD source tree, and isn't
affected by the inheritance properties of _SRC_TOP_, nor does it
have the magic BSDOBJDIR baggage that BSDSRCDIR is stuck with.
2002-04-26 15:02:02 +00:00
bjh21 2277ee229b This header needs struct in_addr from <netinet/in.h>, so include that.
POSIX-2001 says exposing the contents of <netinet/in.h> here is OK.
2002-04-26 14:56:16 +00:00
lukem 46569c985e Revert part of previous; don't set _SRC_TOP_ to BSDSRCDIR if it can't be
determined, since BSDSRCDIR's default of /usr/src might not exist and the
calculation of _SRC_TOP_OBJ_ would then generate a warning :-(.
_SRC_TOP_ can now == "" if make(1) (or a parent make(1)) was started
outside of the NetBSD source tree.

Now, if _SRC_TOP_ != "",  BSDSRCDIR defaults to ${_SRC_TOP_} and
BSDOBJDIR defaults to the objdir of ${BSDSRCDIR}.

Failsafe defaults for BSDSRCDIR (/usr/src) and BSDOBJDIR (/usr/obj)
are provided later in the file.

This should result in a usable BSDSRCDIR default (i.e, _SRC_TOP_ if
running from within the source tree), with safe fallbacks as appropriate
(/usr/src, as always), meaning that BSDSRCDIR should be able to be used
instead of _SRC_TOP_ in the source tree, although I need to carefully
test this.  *aaaiiiieeee!!!*.  (Now I understand some of Todd's pain :)
2002-04-26 14:27:23 +00:00
ad 9a25612703 Regen. 2002-04-26 14:21:28 +00:00
ad fda5e53ba0 Oops, add more IDs used by aac_pci.c. 2002-04-26 14:20:59 +00:00
msaitoh 271b97bb3b add SH4 Processor Version Register 2002-04-26 11:56:02 +00:00
msaitoh f6bf722a2e fix around PTR and PDR 2002-04-26 10:22:53 +00:00
perseant c5f5fa476f Fix error in how much memory needed to be allocated to check data cksum
to proceed with adding segments.

Use fixed-width types to compute checksum, so LP64 machines can do it too.

Tested on alpha; test-compiled on arm32.
2002-04-26 04:34:41 +00:00
thorpej e2a2842013 Keep track of which DMA window was actually used to map the
request (not always the passed in DMA tag if we try direct-map
and then fall back to sgmap-mapped).  Use the actual window
when performing dmamap_sync and dmamap_unload operations.

Fixes DMA resource leak on systems with 2G+ RAM.  Thanks to
Matt Thomas for help debugging this.
2002-04-26 04:15:18 +00:00
lukem 51fa6a7f42 remove stuff migrated to ../ramdisk or ../miniroot 2002-04-26 03:58:41 +00:00
enami 6335b88f05 We don't need to re-activate page in genfs_putpages() when GOP_WRITE returns
ENOMEM (temporary memory shortage) since it is already handled in
uvm_aio_aiodone() for both async/sync case.  Discussed with chuq.
2002-04-26 03:57:31 +00:00
lukem 53f41a1d9d use ${WORKDIR} instead of ${TARGETDIR}, since the latter is only valid
within parselist.
2002-04-26 03:49:21 +00:00