Commit Graph

98018 Commits

Author SHA1 Message Date
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
uwe cbb23a42ca Fix phys->pci memory pass-through mapping.
While here, correct wording in a comment.
2002-06-05 00:23:01 +00:00
mjacob 787aeb4081 As per a discussion on tech-kern a while back- honor retries for
XS_SELTIMEOUT and XS_TIMEOUT errors- but only do so if the device exists
already.

Devices that are being probed won't be found via periph_lookup, so we can
use that to find if a device exists for the purposes of honoring retries.
2002-06-05 00:15:33 +00:00
itojun fff7bbceef do not have -prefixlen 128 on RTF_HOST.
From: Dawid Szymanski <dawszy@arhea.net>
2002-06-04 22:20:00 +00:00
fvdl 2277063aa8 Fix off-by one when computing page count in the test file. 2002-06-04 22:17:47 +00:00
itojun fc6382d167 no need to set rmx_send/recvpipe. 2002-06-04 22:11:15 +00:00
ragge e2718cabea Do not disable interrupts until output queue is drained. 2002-06-04 21:58:55 +00:00
thorpej 04076e5943 Make this work with an ISO C preprocessor. 2002-06-04 21:44:40 +00:00
thorpej d941ddfee0 Don't use -traditional-cpp if HAVE_GCC3. 2002-06-04 21:39:09 +00:00
thorpej a46ef4e6ab Don't use -traditional-cpp if HAVE_GCC3. 2002-06-04 21:14:59 +00:00
thorpej f7e9eefade Add case for armeb. 2002-06-04 21:13:21 +00:00
martin 9ae19204d9 #if some tables and a helper function for debug output to make it
possible to compile this without ISDN debugging support.

Fixes PR kern/17161.
2002-06-04 19:51:18 +00:00
ragge c691ddb3fb Repair VAX8600 support, which had bit-rotten, probably not used since -98. 2002-06-04 19:04:32 +00:00
fvdl e4eac0d964 Fix rdtsc and rdpmc inlines, and fixup rnd.h to do the right thing. 2002-06-04 17:52:46 +00:00
fvdl 9c71037485 Remove all i386 host bridges, as they don't apply. Remove pchb_rndattach
call for now (may be back later).
2002-06-04 17:51:30 +00:00
fvdl 99193cfa98 Woops, pass the correct argsize to ktrsyscall. 2002-06-04 15:45:05 +00:00
fvdl ab19cd2899 Clear P_32 on native exec (from eeh in the sparc64 port). 2002-06-04 15:44:34 +00:00
ragge 2f48a39412 Need longer delay while waiting for mscp packets, otherwise it times out
on VAX8650.
2002-06-04 15:13:55 +00:00
eeh 4ff7000d80 Fix the fork trampoline to properly use the supplied tstate. 2002-06-04 15:04:08 +00:00
eeh bf3b10f8aa Prototype for probing noteless 32-bit emulation binaries. 2002-06-04 14:49:15 +00:00
eeh abb7b6a965 Clear the P_32 flag when exec-ing native binaries. 2002-06-04 14:48:09 +00:00
eeh 587856dfdd Make the code that matches boot devices much more flexible so it handles
device classes as well as funny names for matching.  This should allow
us to properly recognize we're booted from a SCSI disk on a PCI controller.
2002-06-04 14:44:34 +00:00
isaki ae114ad44f add factor_denom. 2002-06-04 14:09:34 +00:00
isaki c55e051ca1 Correct indent... 2002-06-04 14:02:32 +00:00
deberg d5f9f03d09 fix bogus next68k include 2002-06-04 14:00:55 +00:00
isaki ef44888b70 Correct wrong comment about factor_denom.
In case of recording, it doesn't make coding space small.
2002-06-04 13:59:23 +00:00
fvdl c029f886c8 Propagate P_32 flag on fork. Use correct trampoline for 32bit return. 2002-06-04 12:58:13 +00:00
leo 379e845684 An other bunch of Atari doku fixes. 2002-06-04 11:17:11 +00:00
fvdl 2c7bad720d For 32bit execs, frob the stackframe to return via the old system call
return path.
2002-06-04 11:14:21 +00:00
fvdl 90c2a2ddc1 Fix up argument passing to ktr_syscall. 2002-06-04 11:12:18 +00:00
kleink 7965e254cb As documented, return the new priority if successful; from Matthias
Drochner in PR lib/17156.
2002-06-04 10:58:12 +00:00
itojun fb9b52398c in mss clamping code, do not go past TCPOPT_EOL. enforce stricter
boundary checking.  discussed on tech-net
2002-06-04 10:06:27 +00:00
itojun b1654995d0 add a blank line 2002-06-04 10:00:24 +00:00
fvdl 96858fc8b7 AMD 8111 DMA support. 2002-06-04 08:58:20 +00:00
fvdl b76668d455 Regen. 2002-06-04 08:57:48 +00:00
fvdl c094984a55 Add AMD 8111 IDE id. 2002-06-04 08:53:47 +00:00
simonb 4a852aed2d Add smbus@sbobio and rtc@smbus. 2002-06-04 08:35:05 +00:00
simonb f4e42e7eb6 Add an extremely rough SMBus handler and RTC driver. This will be
cleaned up significantly when we have an MI SMBus framework, but at
least we can see the RTC on the swarm now.
2002-06-04 08:32:41 +00:00
simonb 349831dcf6 Use "cpu*" and not "cpu0" to attach all CPUs.
Add PROCFS and fix a whitespace nit while we're here.
2002-06-04 05:53:31 +00:00
simonb a1572a6b96 Match all possible CPUs, but print warnings that the processors after
the first are offline due to the lack of SMP support in the kernel.
2002-06-04 05:49:26 +00:00