Commit Graph

87406 Commits

Author SHA1 Message Date
christos e415081a60 PR/14498: Wesley Chen: Identify loaded modules vs. kernel, because we don't
load the elf header with them.
2001-11-08 15:01:35 +00:00
christos 500d44e36c PR/14498: Wesley Chen: Print a return after enumerating the matching symbols. 2001-11-08 15:00:17 +00:00
simonb c71f9f2709 Include <limits.h> to get LLONG_{MIN,MAX}. 2001-11-08 12:24:12 +00:00
tron b1d32d0e07 Rename a parameter to fix build problem with new toolchain. 2001-11-08 11:24:07 +00:00
itojun e6ccd47666 use strncpy() to set ifname arg to ioctl. 2001-11-08 09:45:34 +00:00
jmc 3d866aff42 Add netsmb and smbfs dirs under include 2001-11-08 09:15:08 +00:00
jmc 17742578ef Add trm.4 and makefs.8 2001-11-08 09:14:18 +00:00
jmc 0807cb719b Add makefs 2001-11-08 09:14:02 +00:00
haya fd0fac251e Regen w/ devlist2h.awk ver 1.4. 2001-11-08 09:08:41 +00:00
haya ba93570e3c Bugfix; to create compilable pcmciadevs_data.h. kern/11659 2001-11-08 09:02:17 +00:00
rafal 9f74cbc2da Oops, last round checked in make droppings here. Check in the actual
toolchain2netbsd generated files, though this is as of yet untested.
2001-11-08 08:20:31 +00:00
tron 4c61cd90ba Don't abuse opendisk(3) to open PCI bus devices which are no disks. This
fixes PR bin/14468 by Valeriy E. Ushakov.
2001-11-08 08:05:05 +00:00
gmcgarry 2cd41580a7 Make install observe ${INSTPRIV} 2001-11-08 07:45:25 +00:00
tron 316d7126f6 Try to open the file before configuring a vnode disk device to avoid silly
error messages when the file cannot be opened for some reason. This fixes
PR bin/12445 by <knotwell@ix.netcom.com>.
2001-11-08 07:44:32 +00:00
jmc 9cc2cb211f Turn back on all floppies. They all build once again with both new and old
toolchains
2001-11-08 07:41:03 +00:00
jmc c79e9118a0 Nuke chio and chroot to make some room. Also twiddle with inode size on newfs.
Makes everything build once again.
2001-11-08 07:40:01 +00:00
jmc fbc66d002f Bump inode size up to get some space. Very few inodes actually get used here 2001-11-08 07:37:39 +00:00
jmc edf781f5fc Oops...don't nuke the global symbols with objcopy. Just keep the crunched stub
and revert the others to locals
2001-11-08 07:35:00 +00:00
tron ae4a0efaaa Fix oversight in last commit. 2001-11-08 07:30:00 +00:00
tron d6302e0641 Use the block device when invoking "vndconfig" because the character
device isn't accepted any longer.
2001-11-08 07:29:45 +00:00
rafal f317d28b1a New toolchain files for mipseb. Mainly toolchain2netbsd output with some
changes to configuration stuff to (a) recognize `mipseb', and (b) build a
BE-default GCC on mipseb.  gprof and gdb still not done.

WARNING: Binutils 2.11.2 (maybe earlier) changed the MIPS ABI, so any
shared libs built by this toolchain WILL NOT WORK without either a whack
to BFD to fix that or a patch to ld_elf.so to work around it.  I need to
chase the binutils folks on this issue still.

That said, the new toolchain seems to work quite well once the ABI change
is worked around/fixed -- I'm committing from a machine running a user-
land built with the new compiler.
2001-11-08 07:21:53 +00:00
gmcgarry 12b20b6dde Use crufty old clock-handling code for now. 2001-11-08 07:01:33 +00:00
enami 6023422f9d Fix -Wshadow warnings. 2001-11-08 06:51:05 +00:00
gmcgarry f410d2f08f Implement bus_space_vaddr() 2001-11-08 06:32:02 +00:00
gmcgarry 66105909dc placeholders for wscons 2001-11-08 06:29:24 +00:00
gmcgarry 3fe33b077f Reserve for wscons. 2001-11-08 06:27:45 +00:00
lukem 68b8babd26 sync with ufs/ufs/ufs_bmap.c rev 1.14:
- assert that ufs_getlbns() is only called for blocks which involve indirects
- use a shift instead of a multiply in one place
2001-11-08 06:10:13 +00:00
lukem 27cc5a5d37 add RCSID 2001-11-08 05:59:31 +00:00
chs 81625d675b the previous fix (in rev. 1.26) for hangs when the filesystem is full
was wrong, so fix it right this time.  undo the previous change and
instead, replace the troublesome VOP_FSYNC()s with code that just flushes
the particular indirect blocks that we allocated.  this resolves the
softdeps for those blocks.  then we can change the pointer for
the first indirect block we allocated to zero, write that, and finally
invalidate all the indirect blocks we've touched.  also, wait until
after we finish all this before freeing any blocks we allocated.
fixes PRs 14413 and 14423.
2001-11-08 05:27:25 +00:00
chs df71d3fadc in both paths that can cause fragments to be expanded (write and truncate-up),
deal with the fragment expansion separately before the rest of the operation.
this allows us to simplify ufs_balloc_range() by not worrying about implicit
fragment expansion.

call VOP_PUTPAGES() directly for vnodes instead of
going through the UVM pager "put" vector.
2001-11-08 05:24:52 +00:00
chs 0de5f1ba39 only call ufs_getlbns() for blocks which involve indirects, and assert
that this is so.  use a shift instead of a multiply in one place.
2001-11-08 05:00:51 +00:00
chs f57fce8e9e call VOP_PUTPAGES() directly for vnodes instead of
going through the UVM pager "put" vector.
2001-11-08 04:51:05 +00:00
thorpej 64d042b3b3 Correct a comment. 2001-11-08 04:18:46 +00:00
thorpej 05dfd6cada * Define fixed virtual addresses for the Primary and Secondary
PCI I/O spaces, as well as the i80312 PMMRs.  Map these regions
  in early bootstrap along with the on-board device address space.
* Adjust call to i80312_sdram_bounds() for the new way the PMMRs
  are defined in i80312reg.h
* Word around some serious braindamage in RedBoot -- RedBoot uses
  the on-board Ethernet to TFTP the kernel image.  However, it does
  not stop the Ethernet before transferring control to the loaded
  program.  This means that if it happens to receive another packet
  (broadcast/multicast/unicast), it will happily scribble over the
  memory of the new running program.  Work around this problem by
  performing a secondary-bus-reset on the i80312's PPB.  XXX This
  could be problematic if we ever encounter an application where
  the i80312's PPB is actually used as a passthrough PPB.
2001-11-08 03:28:53 +00:00
thorpej 64f23a2423 Adjust the way the PMMRs are defined -- offsets from a base, not
absolutes.  Also, add PPB and more ATU registers.
2001-11-08 03:20:36 +00:00
thorpej 4cd18f3872 Fix the Bridge Control Register bit definitions, add ones that
appeared in PCI 2.2.
2001-11-08 03:18:12 +00:00
lukem 6ff2f2f438 add RCSID. (note; this file gets #included) 2001-11-08 02:42:31 +00:00
lukem ec6245465a add RCSID 2001-11-08 02:39:06 +00:00
christos 271dd3ace8 Revert previous change that accepts non-raw devices as argument. The
distrib Makefiles have been adjusted appropriately. This change made
block devices and char devices look the same to the naive user, and
it is not appropriate.
2001-11-08 02:14:09 +00:00
thorpej f30c8426f2 Fix delay(). 2001-11-08 02:12:05 +00:00
christos c7be54ce17 increase the size up to the max for the floppy. 2001-11-08 02:11:38 +00:00
christos 6e43164c91 1. delete all instances of /dev/{r,}vnd0d. Use vnconfig vnd0 and disklabel
vnd0 and let opendisk(3) DTRT.
2. resize some of the images since we've gotten an average of 5K more
   with the new toolchain.
3. comment out the rescue disks, since they don't fit anymore.

Now the whole directory compiles and works with the in-tree toolchain,
but does not work still with USETOOLS.
2001-11-08 02:10:25 +00:00
simonb 1adc8dd435 Don't rebuild "fini" _every_ time make(1) is run; avoids a complete
rebuild of f771 all the time.
2001-11-08 00:13:53 +00:00
hubertf dc9f52db45 Add a second example for copying directory trees, this time as root
(using -pe, which also preserves ownership).

Proof-read by Perry.
2001-11-08 00:02:10 +00:00
aymeric 77dd4deaa6 introduce an interrupt_depth variable which counts how nested we are into
interrupts.
This allows hardclock() to account for the time spent in interrrupts, and
as a side-effect, top(1), systat(1) and others will no more report 0% of
interrupt activity.

mvme68k does that already.
2001-11-07 23:25:03 +00:00
thorpej ea1dce5b44 Regen; correct i80312 description. 2001-11-07 21:13:26 +00:00
thorpej 4fd2586143 Correct i80312 description. 2001-11-07 21:12:49 +00:00
bjh21 ec2fc79a18 Diagnostic panics should be enabled when DIAGNOSTIC is defined, not undefined. 2001-11-07 20:04:52 +00:00
bjh21 479d71be35 Add support for feeding entropy to rnd(4). 2001-11-07 20:01:58 +00:00
bjh21 a2d0fc8a64 Small debugging improvements. 2001-11-07 19:53:19 +00:00