Commit Graph

50387 Commits

Author SHA1 Message Date
mycroft e84fe91c51 Take advantage of the new `access_type' for pmap_enter(), and always do R/M
emulation of managed pages.  This required the following `interesting' changes:
* File system buffers must be entered with an access type of
  VM_PROT_READ|VM_PROT_WRITE, so that the pages will be accessible immediately.
  Otherwise we would have to teach pagemove() to update the R/M information.
  Since they're never eligible for paging, the latter is overkill.
* We must insure that pages allocated before the pmap is completely set up
  (that is, pages allocated early by the VM system) are not eligible for R/M
  emulation, since the memory needed for this isn't available.  We do this by
  allocating the pmap's internal memory with uvm_pageboot_alloc().  This also
  fixes an absolutely horrible hack where the pmap only worked because page 0
  happened to be mapped.
  to be mapped.
Also:
* Push the wired page counting into the p->v list maintenance functions.  This
  avoids code duplication, and fixes some cases where we were confused about
  which pages to do it with.
* Fix lots of problems associated with pmap_nightmare() (and rename it to
  pmap_vac_me_harder()).
* Since the early pages are no longer considered `managed', just make
  pmap_*_pv() panic if !pmap_initialized.
1999-03-26 22:00:24 +00:00
mycroft 31a2536cd0 Add a new `access type' argument to pmap_enter(). This indicates what type of
memory access a mapping was caused by.  This is passed through from uvm_fault()
and udv_fault(), and in most other cases is 0.
The pmap module may use this to preset R/M information.  On MMUs which require
R/M emulation, the implementation may preset the bits and avoid taking another
fault.  On MMUs which keep R/M information in hardware, the implementation may
preset its cached bits to speed up the next call to pmap_is_modified() or
pmap_is_referenced().
1999-03-26 21:58:39 +00:00
is 669f51ad27 defopt BB060STUPIDROM. 1999-03-26 21:18:49 +00:00
kristerw 8dab0300c3 Corrected an off-by-one error (lib/6314 Torbjorn Granlund) 1999-03-26 21:04:24 +00:00
ross 6ee909b24f Fix bug found by Bernd "Veego" Ernesti: close the console disk channel. 1999-03-26 20:53:12 +00:00
drochner 61e1563f2b Revert to the last ISC version. The local modification breaks bootp
clients which have the requested filename fixed in ROM.
The intended echoing behaviour is already provided by the ISC version
(if no special bootfile name is specified in dhcpd.conf).
1999-03-26 20:15:01 +00:00
kim 9b05f342df Revert to the version of host installed by the BIND distribution by default.
The contrib version was tagged `bind-contrib-host' before this change.
1999-03-26 20:12:44 +00:00
kim 45402fd3fc Install dig, dnsquery, host, nslookup, nsupdate and pawd in /usr/bin. 1999-03-26 20:04:50 +00:00
kristerw 411911d934 gc old strip 1999-03-26 19:38:20 +00:00
ragge c9f75bc587 Didn't reset interrupt flag after reading. From Christopher Sekiya. 1999-03-26 19:35:30 +00:00
leo f621acf82b Nuke the pieces of code obsoleted by .../pci/pci_tseng.c 1999-03-26 19:20:42 +00:00
ragge b317025b1e Another place where VAX magic number must be updated. 1999-03-26 18:44:31 +00:00
mellon 7ccf21d94d Fix conflicts in merge. 1999-03-26 17:52:45 +00:00
mellon 28f100096f Patchlevel 19 1999-03-26 17:49:19 +00:00
chs d97d75d81b add uvmexp.swpgonly and use it to detect out-of-swap conditions. 1999-03-26 17:34:15 +00:00
chs 92045bbba9 add uvmexp.swpgonly and use it to detect out-of-swap conditions.
numerous pagedaemon improvements were needed to make this useful:
 - don't bother waking up procs waiting for memory if there's none to be had.
 - start 4 times as many pageouts as we need free pages.
   this should reduce latency in low-memory situations.
 - in inactive scanning, if we find dirty swap-backed pages when swap space
   is full of non-resident pages, reactivate some number of these to flush
   less active pages to the inactive queue so we can consider paging them out.
   this replaces the previous scheme of inactivating pages beyond the
   inactive target when we failed to free anything during inactive scanning.
 - during both active and inactive scanning, free any swap resources from
   dirty swap-backed pages if swap space is full.  this allows other pages
   be paged out into that swap space.
1999-03-26 17:33:30 +00:00
tron c379f48592 Replace "audioctl" with "audio" in sub directory list. 1999-03-26 16:53:29 +00:00
tsubai 6dbdfeab77 include GENERIC. 1999-03-26 16:40:09 +00:00
christos 28607542af PR/7231: Havard Eidnes: Shell quoting/trimming problem 1999-03-26 15:49:34 +00:00
mrg e0c321f25d add missing copyrights. 1999-03-26 15:46:22 +00:00
dbj 82347ce33e Changes to compile the next68k bootblocks with
egcs -Wpointer-arith -Wstrict-prototypes
This closes pr 6653
1999-03-26 15:41:38 +00:00
tsubai 35a4f16a60 ``INSTALL'' + USB doesn't work (binutils bug?).
So use this instead.
1999-03-26 14:58:22 +00:00
mrg 072cb74108 audio paths are in <paths.h> 1999-03-26 14:05:41 +00:00
mrg 140c9e18e1 add audiorecord and audioplay tools. audioplay does .au and .wav files. audiorecord makes .au files only. uses parts of audioctl.. 1999-03-26 14:02:39 +00:00
mrg 31f93decc6 add audioplay/audiorecord. 1999-03-26 13:55:49 +00:00
drochner 4603b8460d start xdm after wscons configuration - the X server might want an own
virtual screen
1999-03-26 13:45:47 +00:00
sommerfe 3c618b8f06 fail more gracefully if not root 1999-03-26 13:14:12 +00:00
sommerfe 90844f84d6 Install send-pr.el (emacs-lisp front-end to send-pr) into /usr/share/gnats 1999-03-26 13:12:43 +00:00
sommerfe 5a90dbf495 Add dhcrelay startup (allow only if dhcpd isn't started) 1999-03-26 13:10:17 +00:00
drochner 068cafa92a In a PC keyboard doesn't accept a "set to scanset 2" command, reset it
and ignore the error. Scanset 2 should be the default after reset, so
this allows some broken keyboards to work. (Reset is needed because at
least 1 keyboard locks up if the "set scanset" is attempted.)
1999-03-26 12:39:13 +00:00
minoura 632ad8cde6 Use pax(1) instead of tar(1).
MD parts already have this change.  /usr/bin/tar can be removed from
the miniroot.
1999-03-26 09:24:27 +00:00
mark 2319fcb044 Pull in ../common/upgrade. 1999-03-26 09:22:52 +00:00
bouyer 80f0af1a00 Oups, complete braindamage yesterday. DIOCEJECT does the rigth thing for both
disks and CDs, it's just don't have to call DIOCLOCK before, unless we're
doing a forced eject: DIOCEJECT will check for device use and unlock the door
if allowed.
1999-03-26 09:14:58 +00:00
mark 8ee35faca3 Bring these files up to date. 1999-03-26 09:10:48 +00:00
ender c32aac7964 Uncomment some file copies now that the files actually exist. 1999-03-26 08:52:44 +00:00
proff 85ab19698a security: test for ip_len < ip_hl <<2 and drop packet accordingly 1999-03-26 08:51:35 +00:00
ender 3423145ca4 Add md0 to the raminst target. 1999-03-26 08:45:25 +00:00
ender 4533a22d80 NetBSD/mac68k installation kernel config 1999-03-26 08:42:49 +00:00
ender e83f28e8f9 NetBSD/mac68k installation kernel for use with sysinst.
Based on NetBSD/alpha instkernel.
1999-03-26 08:34:36 +00:00
tsubai 82b3b0209f In copyin() and copyout(), clear the pcb_onfault variable in the EFAULT
case. (pr 7243)
1999-03-26 08:32:15 +00:00
leo 9d7ee0ba80 Fix typo noticed by James Boulton. 1999-03-26 08:24:52 +00:00
leo 6a477596b9 Add more fuzziness to the MDRAM initialisation. Seems to work on a broader
range of et6[01]00 cards now.
1999-03-26 08:21:49 +00:00
tsubai 38a92c9752 A successful kernel page fault should just return so that signal delivery
et al. should not executed.  (pr7240)
1999-03-26 08:15:23 +00:00
pk 06bd52b633 COMPAT_SPARC32 -> COMPAT_NETBSD32 1999-03-26 08:00:38 +00:00
mrg 5ca1d6a20d add audio paths. 1999-03-26 07:27:04 +00:00
lukem e1a9005721 fix comments 1999-03-26 07:15:23 +00:00
tsubai bd7d7dd1f4 <mips/db_machdep.h> --> <machine/db_machdep.h> 1999-03-26 07:07:06 +00:00
tsubai f75ec26a42 Define DB_ELF_SYMBOLS to compile.
(currently /boot doesn't preserve symbols.)
1999-03-26 07:03:01 +00:00
mhitch 96eecff795 Add some ATAPI support. My CDROM drive works, but I don't have other devices to
test.  This should provide interim ATAPI support until the MI wdc driver is used.
1999-03-26 07:00:37 +00:00
dbj 25ea4fb7a7 tweaks to compile with egcs -Werror
minor changes to scsi driver register accesses.
1999-03-26 06:54:40 +00:00