98057 Commits

Author SHA1 Message Date
drochner
49c4cfb2c5 provide a db_vprintf() which is exactly what the name suggests 2002-06-05 17:53:52 +00:00
manu
55dd8b2806 - Introduce irix_check_exec() to check if a given process is an IRIX one
- First implementation of procblk(). THis is supposed to suspend processes.
We emulate this by sending a SIGSTOP, which is not very accurate since
on IRIX, sending a SIGCONT to a process suspended by procblk() will not
resume it.
- support for shared groups
2002-06-05 17:27:11 +00:00
bouyer
10f940facc STE_CarrierSenseErrors is 8bit wide, not 16bit.
Reenable statistics interrupts, reading it as 16bit caused it to not be cleared,and thus the eventual interrupt to not be cleared (and this caused an
infinite loop in interrupt routine).
While I'm there count STE_CarrierSenseErrors as oerror (this is incremented
each time we try to send a packet and the link is down).
2002-06-05 16:27:29 +00:00
scw
9f2155138c Fix a botched pmap_vsid_bitmap[] index.
I'm surprised this worked as long as it did.
2002-06-05 15:55:51 +00:00
bouyer
aad58d87e1 Rework transmit underrun logic:
- when a transmit underrun occurs, only reset the transmit logic. This prevents
  the link from going down at the MII level (the same logic can probably
  be used for other transmit errors)
- set the urgent threshold to half the start threshold. From experiments
  this helps a bit decreasing the number of underruns

Now that underruns don't cause the interface to stop for several seconds,
make back out the default transmit threshold to 128.
2002-06-05 15:24:31 +00:00
thorpej
86490156db Don't make _mcount static; it's already out of the user's namespace,
and doing so causes some versions of GCC to warn about "static function
prototype, but function not defined".
2002-06-05 15:14:16 +00:00
fvdl
9117c00bad Set output arch to i386:x86-64. From Jason. 2002-06-05 15:06:56 +00:00
thorpej
af70ebcb19 Need <machine/intr.h> to be installed, for now. 2002-06-05 14:59:52 +00:00
fvdl
eb3b53295f Don't forget to put the instruction size in tf_err on system call
entry, for the sake of syscall restart.
2002-06-05 14:59:37 +00:00
itojun
94db0712e3 sync - no fstab.* any longer 2002-06-05 14:39:26 +00:00
itojun
19d21bd24b sync 2002-06-05 14:37:07 +00:00
lukem
29559300fb - use setprogname()
- only support -6 if INET6 is defined
2002-06-05 13:51:54 +00:00
deberg
571ce99a40 next68k bootloader is now in the installation directory 2002-06-05 13:51:05 +00:00
deberg
002395174b copy bootloader to RELEASEDIR/installation 2002-06-05 13:49:33 +00:00
christos
4062b8f15f PR/10566: Brian Stark: explicitly document all ipv6 options.
While I am there, fix dup {+,-}ipv6 description.
2002-06-05 13:12:05 +00:00
itojun
f45a8e9eb0 typo/bound check fix from YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> 2002-06-05 13:11:34 +00:00
wiz
c81a957770 Fix version number in sysinst welcome screen. 2002-06-05 12:55:14 +00:00
itojun
330a006cc4 use types defined in inttypes.h.
have attribute(packed) to struct magic to make it packed in the same way
across different archs.
2002-06-05 12:52:57 +00:00
yamt
15da77e3d3 exit on EOF from stdin. 2002-06-05 12:19:23 +00:00
lukem
0165e1202a As parselist.awk now sets COPY-ied files explicitly to 444, ensure
executable files are 555.
2002-06-05 11:22:04 +00:00
lukem
90028da4e1 Functionality improvements:
- Add `no' keyword, which can be used in the following ways:
	no file-system SOMEFS
	no makeoptions FOO
	no options OPT1[,OPT2[,...]]
	no pseudo-device somepseudo
  This turns off a previous file-system/makeoptions/options/pseudo-device
  entry for the same item.
  Grammar support for 'no device DEV at ATTACH' added, but not
  implemented yet.

Code changes:
- Convert many simple lists to TAILQs
- Convert prefix to SLIST
- Remove argument names from prototypes.
- Don't bother with custom alloc code for hashtables; just use emalloc()
  like everything else.
- Implement ht_remove(), to remove an entry from a hash table.
  Add removed entries to a freelist for later reuse.
- Don't selectbase() devices and pseudo-devices at definition time; instead
  do it at one pass after the config file has been parsed in fixdevis().
- Rename nvhead to nvfreelist; a more apt name...
- Minor code cleanups.
2002-06-05 10:56:17 +00:00
lukem
3f4d453aef - when showing the final progress bar, replace "00:00 ETA" with the
elapsed time.  (suggested by simonb)
- actually display transfer stats after a URL fetch. (bug introduced a
  *long* time ago)
- update copyright & version
2002-06-05 10:20:46 +00:00
itojun
00a0a65271 on internal udp echoback service, reject request if source address is a
broadcast address.
2002-06-05 10:03:31 +00:00
enami
3ba7997d55 `des'' isn't a valid parameter as cipher name. Use `old'' instead as per
pwd_gensalt.c (or passwd.conf(5)).  Compile test only.
2002-06-05 10:00:43 +00:00
scw
9a6d0e4b4c Ensure the miniroot copy of /usr/mdec/installboot is executable. 2002-06-05 09:43:21 +00:00
scw
39e26586a0 Use target_expand() when referring to files on the target filesystem. 2002-06-05 09:39:04 +00:00
scw
276ff16bb9 Quell a warning when a partition starts at sector zero.
This is perfectly legitimate on mvme68k.
2002-06-05 08:50:09 +00:00
augustss
3bd8775b6d Note that cs can attach to mainbus on pmppc. 2002-06-05 06:54:23 +00:00
augustss
3745c48073 Fix typo. 2002-06-05 06:53:26 +00:00
augustss
5d1d917cb8 Make it possible not to have akbd. 2002-06-05 06:33:18 +00:00
augustss
136b14943f Add NL at end of file. 2002-06-05 06:32:21 +00:00
augustss
8d5a57ed93 Make it useable. 2002-06-05 06:31:51 +00:00
augustss
1225b61055 Make it possible to see \ in dmesg. 2002-06-05 06:31:21 +00:00
simonb
e36c88d696 Introduce CHIP_ACCESSTYPE which (if defined) is used as the type for
performing the accesses, regardless of the size of the data type
requested.  Useful for chips which require fixed-width accesses to all
registers.

Cast arguments printed using %lx to u_long all the time, not just
sometimes.

Include a few extra files here so they don't need to be included by the
files that include this one.
2002-06-05 06:27:10 +00:00
augustss
2862ed3546 Remove redundant pattern in case. 2002-06-05 06:27:09 +00:00
simonb
d7a3af7811 ANSIfy. 2002-06-05 06:19:29 +00:00
simonb
6b6e4f4f60 Simplify include files that just include <mips/locore.h>. 2002-06-05 06:18:34 +00:00
simonb
8492ceb1ff White space nits. 2002-06-05 06:09:28 +00:00
simonb
db50a069f8 Remove an ELF-related comment that isn't needed any more. 2002-06-05 06:02:52 +00:00
simonb
2100183aff For the CP0 status register bit definitions- add the MX, PX and NMI bits
and rename TLB_SHUTDOWN and SOFT_RESET to TS and SR (the abbreviations
in the MIPS documentation).

XXX: this file really needs to be cleaned up one day...
2002-06-05 05:56:48 +00:00
chs
fffb1de109 get the units right when computing a blkno in the ENOSPC path
for allocations involving indirect blocks.
spotted by Trevin Beattie <trevin@xmission.com>.
2002-06-05 05:23:51 +00:00
mhitch
aa39671913 Setting chipmem_start and chipmem_end to the same value (size of chip
memory) greatly confuses the chip memory allocator and can prevent
some systems from even starting the kernel.  Remove the initialization
of chipmem_start (it's initialized in locore.s).
2002-06-05 04:29:30 +00:00
thorpej
7f350cba6c Don't use multi-line string literals. 2002-06-05 02:51:03 +00:00
thorpej
fc4bb28e9c Don't -I${DESTDIR}/usr/include without -nostdinc'ing, first. Some
versions of GCC are unhappy with that.
2002-06-05 02:47:56 +00:00
thorpej
055791361b Some changes to facilitate fixing the toolchain issue on ns32k:
* Don't make OBJECT_FMT dependent on USE_NEW_TOOLCHAIN.  All ports
  except ns32k are ELF, so set it appropriately.  Allow it to be
  overridden in the ns32k case.
* If ns32k && USE_NEW_TOOLCHAIN, don't build shared libraries, because
  external toolchains don't support them for our a.out.
* If ns32k && OBJECT_FMT == ELF, the GNU platform is "netbsdelf".
* If ns32k && USE_NEW_TOOLCHAIN, don't attempt to build the in-tree
  binutils 2.11.2, gdb 5.0, or gcc 2.95.3.

This allows us to do USE_NEW_TOOLCHAIN cross-builds to ns32k using
an external toolchain.
2002-06-05 02:42:09 +00:00
thorpej
82d4bf2f9f Allow ns32k. 2002-06-05 02:32:15 +00:00
thorpej
1f5f295af6 Don't try to build toolchain bits for ns32k. 2002-06-05 02:21:49 +00:00
chs
2d7a39f950 UBCify a bit in detrunc() that was missed. from PR 17143. 2002-06-05 02:07:48 +00:00
itojun
1eb402e813 be sure to use L3 MTU, not L2 MTU, when specified in spec (affects FDDI/ARCnet) 2002-06-05 01:10:54 +00:00
fredette
f4f0d8a310 Added files to support generic HP PA-RISC based machines. hp700-specific
files to follow.
2002-06-05 01:04:18 +00:00