Commit Graph

88648 Commits

Author SHA1 Message Date
chs a4f1bc813a pick up changes from ufs_balloc_range(). 2001-11-30 07:06:19 +00:00
chs 9958c29316 VOP_PUTPAGES() requires page-aligned offsets, so be sure to provide such.
fixes PR 14759.

(while I'm here, call VOP_PUTPAGES() directly instead of indirecting through
the UVM pager op vector.)
2001-11-30 07:05:53 +00:00
enami a0ae8adf89 Declare some asm statement with output as volatile. Without this,
gcc with -march=pentiumpro produce bad code.
2001-11-30 06:53:56 +00:00
gmcgarry f6b3e39803 Don't abuse preprocessor flags. 2001-11-30 06:40:52 +00:00
gmcgarry b35b20d732 Remove clock_machdep.h. 2001-11-30 06:30:52 +00:00
lukem d864702dc2 ptv 2001-11-30 04:57:26 +00:00
lukem 0878e1d37d fix WARNS=2 warnings 2001-11-30 04:44:24 +00:00
thorpej 0046f5dadd - Comment-out EXT2FS, MSDOSFS.
- Uncomment FDESC, KERNFS, PROCFS,
- Add commented-out DEBUG.
- Hard-wire the location of some of the on-board PCI devices.
- Also build a "netbsd-fxp0" with the root FS hard-wired to
  the on-board Ethernet.
2001-11-30 03:01:23 +00:00
itojun e86f5a87e8 sync with latest GENERIC. 2001-11-30 02:40:57 +00:00
mjl 8231ab74c5 Add assembler version of strlen. 2001-11-30 02:27:20 +00:00
mjl a9c86c6ce0 Add assembler version of strlen. 2001-11-30 02:26:35 +00:00
mjl 625c08cf7e Outifdef some stuff not needed in the _KERNEL case. 2001-11-30 02:25:50 +00:00
thorpej a3c473186e - Define MAKE_MACHINE reasonably for the bootstrap make.
- Don't unset IFS; some shells don't like that.  Instead save, and
  restore IFS.
2001-11-30 02:18:13 +00:00
enami b3d722b5b5 Since we know that `va' is non-NULL here, no need to test if it is NULL. 2001-11-30 01:54:21 +00:00
enami ba7af71cd5 Use cached pointer to next buf instead of re-fetching it. GCC actually
generates different code.
2001-11-30 01:31:30 +00:00
thorpej 9f434e6392 Clean up some MAKE_BOOTSTRAP issues wrt. MACHINE/MACHINE_ARCH. 2001-11-30 01:29:47 +00:00
thorpej cce3152281 Deal with an LP64 printf format issue. 2001-11-30 00:46:36 +00:00
thorpej eaf8d9021b Deal with LP64 printf format issues. 2001-11-30 00:12:04 +00:00
thorpej 89c7818994 Ah, don't actually need MAKEWHATIS here. 2001-11-29 23:55:33 +00:00
thorpej 79b30cbdeb Provide ${MAKEWHATIS}. 2001-11-29 23:53:23 +00:00
thorpej 7c2121a815 Build makewhatis as a host tool, since it is used at the end of
the build.

XXX Needs a -lz hostlib.
2001-11-29 23:51:38 +00:00
thorpej 65709d507f Allow this to be built as a host program. 2001-11-29 23:50:12 +00:00
thorpej 2c6ba846c5 Rename a local to avoid a -Wshadow warning. 2001-11-29 23:32:42 +00:00
thorpej 3a4956a5c8 On platforms for which there is more than one kernel set choice,
default the kernel sets to "no", thus requiring that the user
explicitly enable the one that is right for their system.
2001-11-29 23:24:23 +00:00
thorpej 0f33bc5dfa Update for the new kernel set names. 2001-11-29 23:20:56 +00:00
ross 0133468c02 English; -mdoc 2001-11-29 23:19:52 +00:00
ross f97914a629 English 2001-11-29 23:14:39 +00:00
bjh21 822cc4efe2 Rather than making FileCore boot block support conditional on __arm32__, make
it conditional on USE_ACORN, and define that if MACHINE is arm26 or acorn32.
This is less than optimal, and maybe we should define it for all ARM systems,
but then disklabel handling across architectures is generally a mess at the
moment.
2001-11-29 23:08:53 +00:00
ross c711939949 English 2001-11-29 23:06:14 +00:00
ross c73d16d227 grammar 2001-11-29 23:00:43 +00:00
ross 28e17cffb8 Delete the old BUGS section entry:
> On the VAX bytes are handled backwards from most everyone else in
> the world.  This is not expected to be fixed in the near future.

Multiple levels of irony there...
2001-11-29 22:55:57 +00:00
thorpej 8bfa8833dc Add release-building glue for NetBSD/evbarm. Currently we build
two kernel sets: one for INTEGRATOR, one for IQ80310.
2001-11-29 22:46:42 +00:00
thorpej 44f4566e1a Change the way kernel sets are specified, and make them
more consistent.  To quote the comment in etc/Makefile
that describes how it's done:

# This target builds the kernels specified by each port.  A port may
# specify the following kernels:
#
#       KERNEL_SETS             The list of kernels that will be
#                               packaged into sets, named
#                               kern-${kernel}.tgz.  These kernels
#                               are also placed in the binary/kernels
#                               area of the release package as
#                               netbsd-${kernel}.gz.
#
#       EXTRA_KERNELS           Additional kernels to place in the
#                               binary/kernels area of the release
#                               package as netbsd-${kernel}.gz, but
#                               which are not placed into sets. This
#                               allows a port to provide e.g. a netbootable
#                               installation kernel containing a ramdisk.
#
#       BUILD_KERNELS           Additional kernels to build which are
#                               not placed into sets nor into the
#                               binary/kernels area of the release
#                               package.  These are typically kernels
#                               that are built for inclusion only in
#                               installation disk/CD-ROM/tape images.
#
2001-11-29 22:45:53 +00:00
christos 9caaf10ee6 PR/14776: Emmanuel Dreyfus: cross device hard link causes panic.
Call VOP_ABORTOP on the right vnode damnit!
2001-11-29 22:32:53 +00:00
thorpej 2494c460a5 Use inline functions for the byte swap routines. Allows libc to build
again (-Wshadow).
2001-11-29 22:32:45 +00:00
bjh21 de5af1d829 Add "options FLASHYTHING", which causes IPL changes to trigger screen border
colour changes.  This gives quite a good real-time visual impression of what
the system's doing at reasonable overhead.
2001-11-29 22:17:16 +00:00
christos 2c06265fb5 welcome to 1.5Z [struct ucred changes] 2001-11-29 21:24:02 +00:00
christos af0366bdde use struct uucred. 2001-11-29 21:23:38 +00:00
christos a74164fa6e sprinkle crcvt() 2001-11-29 21:23:13 +00:00
christos b2cfd799a6 use struct uucred in nfsd_svcargs so that we don't break the sys_nfssvc() ABI. 2001-11-29 21:22:50 +00:00
thorpej 235d97a465 KERNBASE is a constant that kernland has no business using; it's
existence and value are machine-dependent, and using KERNBASE
either breaks binary compatibility across the same MACHINE_ARCH
or prevents this program from compiling at all.
2001-11-29 21:22:25 +00:00
christos 0fdce3fa8a sprinkle crcvt() 2001-11-29 21:21:29 +00:00
christos 2a73d40eab introduce crcvt() that converts from struct uucred to struct ucred. 2001-11-29 21:21:13 +00:00
christos 710a2e8de1 Welcome to 1.5Z [struct ucred changes] 2001-11-29 21:20:36 +00:00
christos edd0fb6c43 use struct uucred in export_args. 2001-11-29 21:20:17 +00:00
christos 4328373c61 Introduce struct uucred which is our ``old'' ucred structure. This is
going to be used the kernel interfaces to userland, so that we don't
break the existing ABI. struct ucred has now been modified to have
u_int32_t for cr_ref and cr_ngroups.
2001-11-29 21:20:00 +00:00
atatat d8382e86b5 Make sure this directory is kept. 2001-11-29 20:07:52 +00:00
atatat 5d4244e082 We need to include <uvm/uvm.h> instead of (not) including
<uvm/uvm_extern.h> so that assym.h can be built.
2001-11-29 20:04:19 +00:00
augustss f1df2b078f Xref usbhidaction(1). 2001-11-29 19:21:40 +00:00
briggs 9a0fda91f4 SUNOS_M_NATIVE is now a macro that takes an arg, not a constant. 2001-11-29 18:53:50 +00:00