Commit Graph

105307 Commits

Author SHA1 Message Date
lukem
eeca0be61b use YHEADER instead of YFLAGS/CLEANFILES 2002-11-18 13:45:02 +00:00
kleink
4f7792917a Update for 1003.1-2001 base and XSI changes. 2002-11-18 13:39:33 +00:00
lukem
c7ad6e6337 Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX". 2002-11-18 12:39:43 +00:00
lukem
e7bf86cbd5 Separate snap_kern into three targets, to allow finer control over
which bits to build, and to allow "make -j N" actually do something in
parallel:
- build_kernels: for each of ${ALL_KERNELS}, create kern-${NAME} target
  which configures & builds the kernel ${NAME}.
- build_kernsets: for each of ${KERNEL_SETS}, create kernset-${NAME} target
  to create ${RELEASEDIR}/binary/sets/kern-${NAME}.tgz
- build_releasekernels: for each of ${KERNEL_SETS} ${EXTRA_KERNELS}, create
  ${RELEASEDIR}/binary/kernel/netbsd-${NAME}.gz (et al)
(The latter two .WAIT until build_kernels has completed)
2002-11-18 07:09:46 +00:00
rtr
d64b3c2b83 Fix bug causing segmentation fault when no fs type specified 2002-11-18 05:48:00 +00:00
enami
34f6f0d4dc Typo in comment. 2002-11-18 04:38:43 +00:00
enami
89e4128421 Don't allocate struct entry one by one; it just wastes memory. 2002-11-18 04:28:03 +00:00
nathanw
7ec345ff22 In getuptime(), use kread() to get the current time as well as boottime,
instead of calling time(3).

This makes rate calculations of crash dumps sensible; in contrast,
subtracting the boot time of the crash dump from the current time of the
running system produces a not-very-meaningful number.
2002-11-18 03:17:24 +00:00
thorpej
42ea935cff Add a "package" keyword, which makes it somewhat easier to add 3rd
party software packages to the kernel.  The statment:

package "../path/to/some/directory/files.package"

is equivalent to the sequence:

prefix "../path/to/some/directory"
include "files.package"
prefix
2002-11-17 23:36:19 +00:00
chs
ab17ec89d1 add support for __MACHINE_STACK_GROWS_UP platforms. from fredette@ 2002-11-17 22:53:46 +00:00
chs
4153f58dfe move initialization of iobase to before we first use it. 2002-11-17 22:49:56 +00:00
oster
7a58f70fb2 When setting root or autoconfig status, be sure to update used_spares too! 2002-11-17 22:41:36 +00:00
thorpej
aceaa7e184 When emitting -I directives for prefix'd paths, use EXTRA_INCLUDES
rathern than INCLUDES, so that it works with sys/conf/Makefile.kern.inc.
2002-11-17 22:10:05 +00:00
itojun
233424cdc2 make sure to bound string operation by strlcpy
(there are bunch of "strcpy is safe" comments, i think we should change them
to strlcpy as much as possible)
2002-11-17 20:49:33 +00:00
itojun
ca7918fced whitespace 2002-11-17 20:48:44 +00:00
itojun
b3399f001e KNF 2002-11-17 20:40:59 +00:00
manu
dc4f3b6625 Introduction of IRIX sysctl broke binary compatibility because I changed the
offset of the Linux entry. Fix this.
2002-11-17 19:54:59 +00:00
itojun
318c547b9b document new sanity checks. sync w/kame 2002-11-17 19:34:52 +00:00
itojun
e34d5a243d more pickier packet validation, based on
draft-savola-v6ops-6to4-security-00.txt.  sync w/kame
2002-11-17 19:29:31 +00:00
chs
ab08c3ab73 support a variant of the "member" keyword where the symbol defined
is different from the actual member name.
2002-11-17 19:24:50 +00:00
manu
fe8f53c2a4 in mach_sys_map_fd, if the mapping failed because of the requested place
is already used, we want to remap to another place. The vmcmd must be
completely rebuild, else things does not work as expected, as the vmcmd has
been modified by the first mapping attempt.
2002-11-17 18:39:48 +00:00
chs
737b05a938 make this compile again. 2002-11-17 17:10:46 +00:00
chs
8cfa3366d3 increase cross-friendliness. 2002-11-17 17:10:11 +00:00
manu
55c5227095 Add vm_map and vnode locking 2002-11-17 16:51:12 +00:00
wiz
481f815061 Add {cat,man,html4}/dreamcast, and html4/evbarm. 2002-11-17 15:51:21 +00:00
wiz
2b116e162c Add some definite articles. 2002-11-17 15:48:05 +00:00
itojun
88e44ce1fd named is now 8.3.4 2002-11-17 14:37:47 +00:00
itojun
729df1257b sync with bind 8.3.4. 2002-11-17 14:09:52 +00:00
itojun
9b33cfc68a new version # for bind 2002-11-17 14:05:38 +00:00
itojun
c0ddbdedc2 verifiedexec_parse.h is machine-generated, and shouldn't be committed.
tsutsui
2002-11-17 13:57:38 +00:00
itojun
e5964f595e use CFLAGS for -g (is it needed?) 2002-11-17 13:54:49 +00:00
lukem
32615eac46 Apply fixes & enhancements from Alan Barrett. (Thanks Alan!)
* When building a kernel with the -k option, make obj in $TOP/etc to
    ensure that the correct KERNOBJDIR is created and used.  Previously,
    KERNOBJDIR could sometimes be an objdir outside the source tree
    and sometimes $TOP/sys/arch/$ARCH/compile inside the source tree,
    depending on whether or not a complete build had beed done before
    the kernel build.

  * Renamed KERNCONFNAME to kernconfname, for consistency with what
    seems to be a convention that variables local to build.sh (as
    opposed to make or environment variables) have lowercase names.

  * Renamed the do_buildonlytools and do_buildonlykernel variables to
    do_buildtools and do_buildkernel, because the word "only" is no
    longer appropriate now that more than one of them can be active
    simultaneously.

  * Changed a few '|| exit 1' tests to '|| bomb "message"', and added a
    few more similar tests.

  * Changed all 'echo "===> ..."' to use $runcmd, and added a few more
    similar echos.  Previously, some used $runcmd and some did not.
2002-11-17 12:59:37 +00:00
chs
4b2625143d change uvm_uarea_alloc() to indicate whether the returned uarea is already
backed by physical pages (ie. because it reused a previously-freed one),
so that we can skip a bunch of useless work in that case.
this fixes the underlying problem behind PR 18543, and also speeds up fork()
quite a bit (eg. 7% on my pc, 1% on my ultra2) when we get a cache hit.
2002-11-17 08:32:43 +00:00
takemura
fcdaf149b3 Added xi to GENERIC. (PR port-hpcmips/19059) 2002-11-17 07:21:11 +00:00
simonb
5e3d4a224c Add cache_r4k_op_8lines_{16,32} macros to perform cache ops on 8
consecutive lines.
2002-11-17 06:40:43 +00:00
itohy
d6fda2f750 Add {cat,man}4/dreamcast/* 2002-11-17 06:14:39 +00:00
itohy
590fc1bda3 Add {cat,man,html}4/dreamcast, html4/evbarm 2002-11-17 06:12:52 +00:00
thorpej
260b39b0f5 Put const data in .rodata (cut-and-pasted from linux-elf.h). Pass -matpcs
to the assembler.
2002-11-17 06:03:07 +00:00
itohy
e3d75a4ff4 Regen (fix desc, add manual pages) 2002-11-17 05:58:51 +00:00
itohy
ee6a196208 Add dreamcast specific device names 2002-11-17 05:56:12 +00:00
itohy
f9d87879fa Add man4.dreamcast 2002-11-17 05:54:30 +00:00
itohy
d7eb7f969e Manual pages of dreamcast specific drivers 2002-11-17 05:53:41 +00:00
itohy
30ce0d4185 Unification: "Maple Bus", "Maple" -> "Maple bus" 2002-11-17 05:45:26 +00:00
simonb
aa5595f691 Fix typo in the address of the Au1500 MAC1 enable register; 2nd MAC works
on the Au1500 cpu now.
2002-11-17 04:57:34 +00:00
simonb
ba1c8ffa9d Remove reference to mips_int5_evcnt from here; that is port-specific,
not arch-specific.
2002-11-17 04:56:57 +00:00
itojun
bc0b132907 should be safer to cast to u_long than to cast down to int 2002-11-17 04:49:18 +00:00
tsutsui
b2c857ac58 Add a cast to sizeof in printf() arg since _BSD_SIZE_T is unsigned long
on some ports.
2002-11-17 04:44:42 +00:00
itojun
81a0af7afd ${setdir} is not needed as we chdir to ${setdir}. 2002-11-17 04:14:00 +00:00
lukem
a4b13dc86b postinstall obsolete sets check 2002-11-17 03:25:36 +00:00
lukem
3b1e0611c6 Add support for using the obsolete sets to check for and remove obsolete files. 2002-11-17 03:22:47 +00:00