Commit Graph

77151 Commits

Author SHA1 Message Date
pk d98e8d5bca * Correct the `flags' argument in call to pmap_enter().
* Enable the message buffer at a temporary virtual address (KERNBASE)
  in bootstrap(), if that can be done.
2001-03-01 16:14:25 +00:00
pk 813b8d79fd * Correct the `flags' argument in several calls to pmap_enter().
* message buffer initialisation:
	- change the buffer size to 8192 on all platforms
	- don't assume the buffer is always located at physical address 0
	- drop the SUN4 hack that left first half of the page unused;
	  I believe this is no longer necessary, since the msgbuf
	  data structure is duely sanity-checked before use in initmsgbuf().
2001-03-01 16:09:25 +00:00
pk 6ae8b9ec6d Drop MSGBUFSIZE; we don't use it and it can't currently be configured
to a different value anyway.
2001-03-01 15:59:04 +00:00
pk 80ba31bd21 Drop the managed() macro; it is no longer used.
State the intended use of the vm_{first,last,num}_phys variables that are
still exported from pmap.c.
2001-03-01 15:56:47 +00:00
pk aad0b0bcd2 Change `pv list' management to use the hooks provided in the `vm_physmem'
structure. While this comes with the cost of having to search the
`vm_physmem' array every time need to find a PV entry corresponing to
some physical address, we gain the flexibility needed to support
arbitrary non-contiguous ranges of physical memory addresses.

Also, eliminate the need to sort the memory address ranges as presented
by the machine's PROM, and the requirement that physical memory starts
at address 0 (when possible).
2001-03-01 15:52:18 +00:00
itojun f57618a4b7 sync cisco hdlc packet printer with tcpdump.org. 2001-03-01 15:13:31 +00:00
wiz ddb7e7aa53 Four casts for lint. 2001-03-01 14:37:35 +00:00
msaitoh 67087bcc78 bug fix.
from ChangeLog:
 > 	* coff-sh.c (sh_relax_delete_bytes): Correct address comparisons
 > 	when handling 32 bit immediate relocs.
 > 	* elf32-sh.c (sh_elf_relax_delete_bytes): Likewise.
2001-03-01 10:39:20 +00:00
itojun db6f3bcf39 whitespace at EOL 2001-03-01 08:35:16 +00:00
itojun b57caf4727 on "tunnel" subcommand, use specified address family. 2001-03-01 08:34:10 +00:00
itojun 0913c0736c IPv6 support, from fujiwara@rcac.tdi.co.jp 2001-03-01 00:40:41 +00:00
tsubai e6ae4943c2 Fix a bug in cpu_switch().
Reported by Tad Hunt <tad@entrisphere.com> on port-powerpc.
2001-02-28 20:44:41 +00:00
lukem 2e92ff9036 setup named chroot cage under /var/named 2001-02-28 19:22:30 +00:00
tsubai 129bc9a446 Sync cdevsw and chrtoblktbl. 2001-02-28 19:14:30 +00:00
tsubai 86f265568f Back out previous change. It was harmful on my PowerBook G3. 2001-02-28 18:49:29 +00:00
bjh21 c25aec3d9f PCB convergence, part the first:
Move the pointer to the current user trapframe from struct mdproc to struct
pcb (as on arm26).  Only tested by compiling kernels on arm32 and
hpcarm (dnard seems to be incomplete anyway).  Someone should try running one.
2001-02-28 18:15:42 +00:00
lukem 9c42e9ee42 explicitly REQUIRE mountcritremote. sort REQUIRE entries 2001-02-28 18:14:50 +00:00
atatat f39c02f701 Add myself to the developers list 2001-02-28 17:32:39 +00:00
lukem a65b46cfa0 clarify purposes 2001-02-28 17:19:42 +00:00
lukem 12c191e0cc support `resync' (ipf -y).
suggested by Johnny C. Lam in [misc/12300]
2001-02-28 17:03:50 +00:00
tv 5b5b0a9c48 Turn off all subdirs on sparc64. We'll miss some manpages for a moment, but that
will go away with the new toolchain.
2001-02-28 16:55:59 +00:00
lukem 7c7983ed46 provide commented-out example for rc_fast_and_loose 2001-02-28 16:52:04 +00:00
lukem c47a806047 various speed-ups (and related work):
- only load rc.conf if $_rc_conf_loaded is not set
- use case instead of if for various string comparisons
- print the date at the start of the boot as well as at the end
- if $rc_fast_and_loose is set, always run the rc.d scripts in the
  current shell rather than in a subshell. this is not on by default
  because it's potentially dangerous (a rogue command could terminate
  the boot), but it is provided as an optional speedup for people
  with slow machines that have an expensive fork
2001-02-28 16:49:18 +00:00
atatat f9eeef1569 Sync up with the official protocol number assignments list. 2001-02-28 16:10:22 +00:00
eeh e330ffed34 Remove conflicts with changes made to COMPAT_SVR4. 2001-02-28 15:58:35 +00:00
uch 5995b072f7 sample fstab for Flash ATA card based system. 2001-02-28 15:46:49 +00:00
uch 21348ba66f change console speed to 19200. 2001-02-28 15:45:02 +00:00
uch c5618686d5 add RCS tag. 2001-02-28 15:44:25 +00:00
uch 33c6bf8dbc delete floppy disk define. 2001-02-28 15:43:39 +00:00
mrg c452d0b725 adjust some comments to reality. 2001-02-28 15:21:08 +00:00
mrg 5ef9914b06 add and user a linker script. 2001-02-28 15:17:48 +00:00
mrg 7fa2fd24b4 match SUNW,qfe; PR#12301 from Rob Quinn <rquinn@sprint.net> 2001-02-28 14:52:48 +00:00
pk b87a62e09a Make sure that e.g. myetheraddr() has a valid idprom pointer as soon as
possible on sun4, since it may be used before the clock attaches.
2001-02-28 14:45:23 +00:00
bjh21 7e0bb79351 Mention ARM for armfpe.s. 2001-02-28 14:11:25 +00:00
wiz 1651c2430f Fix pasto reported in kern/12241 by Michael van Elst. 2001-02-28 14:08:35 +00:00
bjh21 fddf453e7a Allow for size=0 case in copyin(), copyout() and kcopy(). 2001-02-28 11:55:39 +00:00
mjacob bcc65cfc34 roll platform minor 2001-02-28 05:53:59 +00:00
mjacob 0adf4d13bb Oh, god, make the pain stop. "Fix" this one more time- but for the next
to last time.

It turns out that in fact, sparc64 was *not* working. There is a discussion
within the tech-kern@netbsd.org mail list as of just prior to this date
that contains the details.

Suffice to say that for sparc64 we have to add back in the usage
of BUS_DMA_COHERENT again to the call to bus_dmamap_load_raw. PK
added the usage of bus_dmamap_load_raw- which agrees with the
man page description of it- but now does not match what the
original BusDma author seems to think it's supposed to do.

While we're at it, do a specific set of steps for setting up and,
if necessary, tearing down, mailbox dma mappings.
2001-02-28 05:46:46 +00:00
itojun 5b8682b0d6 no longer need to replace relative path in netbsd-proto.mc 2001-02-28 04:16:04 +00:00
itojun 6104e13fae sync with 8.11.3. 2001-02-28 04:12:05 +00:00
itojun a182a19e83 sendmail 8.11.3 2001-02-28 03:57:37 +00:00
matt e2bb0a8f78 Recognize NETBSD & NETBSD/MACPPC parition types, default HFS to parition d.
Exclude FWDRIVER.
2001-02-28 03:02:29 +00:00
chs 667e1805e6 in genfs_getpages(), don't try to optimize zeroing past EOF.
fixes PR 12297.
2001-02-28 02:59:19 +00:00
itojun dea3f7103b it seems that gethostent(3) is no longer supplied in libc.
couple of wording corrections.
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
2001-02-28 02:30:31 +00:00
bjh21 163eba47d8 Use <arm/cpu.h>. 2001-02-28 00:17:40 +00:00
bjh21 b4e78a4e60 Large overhaul for arm26 compatibility. This file is now even more of a mess
than it was.
2001-02-28 00:17:18 +00:00
mjacob 721e39d0dc add SES device 2001-02-28 00:08:18 +00:00
mjacob ff6391eccb add knowledge of SES device (4) 2001-02-28 00:07:26 +00:00
mjacob 312d560493 add SES device (unused #4) 2001-02-28 00:06:28 +00:00
bjh21 fa45b68520 Actually remember to look up the system call we're trying to invoke.
Oops.
2001-02-27 23:57:30 +00:00