Commit Graph

15425 Commits

Author SHA1 Message Date
gwr 12fdd0800f Add pmap_wired_pages() 1997-02-18 20:16:54 +00:00
gwr b7a0884908 The previous commit was an "oops" due to out-of-date sys/lib/* files. 1997-02-18 17:12:46 +00:00
gwr 3c10fb1e47 Put back in the code to deal with advancing the PC on first entry,
and a long comment explaining why (needed on the pc532).
Remove PUTESC(c) macro which is no longer used.
1997-02-18 16:45:10 +00:00
gwr 3480f70835 Set kgdb_debug_panic if we connect to gdb. 1997-02-18 16:09:59 +00:00
gwr d2a3410f0c Moved straytrap() to trap.c (and minor cleanup) 1997-02-18 15:53:15 +00:00
gwr c1699a0c88 Add a debug helper for detecting recursive kernel-mode traps.
Move straytrap() here from machdep.c
1997-02-18 15:37:57 +00:00
scottr 7387b50dc5 _All_ compat LKMs are broken. Pointed out by mrg. 1997-02-18 15:31:51 +00:00
gwr e61bb6f903 Define "cold" over in autoconf.c 1997-02-18 15:30:01 +00:00
gwr 2c7b4c9af4 Share autoconf.c with the sun3 1997-02-18 15:15:02 +00:00
gwr b2d071ede7 Add bus_subr.c; share autoconf.c with the sun3 1997-02-18 15:13:13 +00:00
gwr 626bde2f9b Add bus_subr.c 1997-02-18 15:10:40 +00:00
gwr 1af5733370 New implementation of the findroot/setroot business. Eliminates
dependency on wired-down SCSI target/LUN for boot devices.
1997-02-18 15:07:29 +00:00
gwr 201c1f178e Move bus_peek(), bus_mapin() here from autoconf.c so the latter
may be shared with the sun3 port.
1997-02-18 14:58:32 +00:00
gwr 48da5b3d44 Move bus_peek(), bus_mapin() here from autoconf.c so the latter
may be shared with the sun3x port.
1997-02-18 14:57:41 +00:00
mrg 42ae012452 This is all from mycroft:
Create macros (with names borrowed from Mach 3) to manipulate
object->paging_in_progress, and use them.  When decreasing the
paging count, always make sure to wake up anyone waiting.
Fixes `vospgc', `vosca1', and `vosca2' hangs.
1997-02-18 13:39:31 +00:00
jonathan c7cec27edf Move if_ep media-sense code from front ends to inside back end,
to prepare for if_media, and to support EISA 3c59x cards:

  * change epconfig() to take a short that encodes the chipset
    type (3c509, or Demon/Vortex/Boomerang).
  * add  distinct 3c509 and Demon/Vortex/Boomerang media-sense
    functions to back end.
  * Add EISA match/attach support for the 3c592 and 3c597
    (Demon) cards as well as the 3c509-comatibl EISA 3c509/3c579.

  * Assume that ISA and ISA PnP cards are 3c509-style, until
    proof to the contrary (e.g. large packet support).

Tested on 3c595, 3c590, and 3c509b. Not tested on 3c515 or Demon.
1997-02-18 10:51:06 +00:00
scottr a3797a2459 The union LKM is currently broken. Do not build it. 1997-02-18 06:08:51 +00:00
scottr 3a2dd27260 The compat_sunos LKM is currently broken. Do not build it. 1997-02-18 06:08:50 +00:00
mrg d1b433e462 check that fd being poll()ed is valid. from mycroft. 1997-02-18 04:20:54 +00:00
mark 6e638fd4fb Call mount() on function entry if both GPROF and PROFILE_ASM are defined. 1997-02-18 03:15:06 +00:00
mark ad178d5138 Limit valid numeric digits to between 0 and min(base, 9) inclusive so that
puntuation characters are not evaluated.
1997-02-18 03:12:15 +00:00
mark e4316a91d0 Rebuilt from podules file. 1997-02-18 03:08:59 +00:00
mark c569d5e23f Added new podule ID's for ICubed etherlan interfaces.
Fixed typo in A448 title string.
1997-02-18 03:08:04 +00:00
mrg 6fd38fc5f9 pass P_SUGID to child. from freebsd. 1997-02-18 01:30:37 +00:00
jonathan 788394a2e4 Change bha_pci product names to match latest pcidevs:
PCI_PRODUCT_BUSLOGIC_OLD946C -> PCI_PRODUCT_BUSLOGIC_MULTIMASTER_NC
    PCI_PRODUCT_BUSLOGIC_946C -> PCI_PRODUCT_BUSLOGIC_MULTIMASTER
1997-02-17 22:42:21 +00:00
tls 127c6b54e7 Sigh. I initially had this exactly backwards: the object needs to be locked, the vnode does *not*. Avoids panic: locking against myself quickly reported by Charles. 1997-02-17 13:10:28 +00:00
tls a507fda378 vnode_pager_sync bugs: A) must lock the object, not just the vnode. B) Don't remove the object from paging queues, because we'd have to put it back on one. The pagedaemon will eventually take care of this for us anyway. This was causing us to *lose track of pages completely* every time vnode_pager_sync() was called... sigh. Credit goes to mycroft for untangling this mess. 1997-02-17 06:22:52 +00:00
jonathan 82d682ac83 Correct low-order product code digits for 3Com 3c597 family. 1997-02-17 00:06:17 +00:00
jeremy d28a4db292 Update to use new style ``clean'' and ``depend'' rules. 1997-02-16 22:18:01 +00:00
cgd 90466a7b42 protect against multiple inclusion, make HEAP_LIMIT define libsa-specific 1997-02-16 21:27:06 +00:00
cgd 72a6422a5e allow includers to specify library-specific CPP flags via ${LIB}MISCCPPFLAGS 1997-02-16 21:25:18 +00:00
ragge c3aeacf957 unsigned -> long to match ddb change. 1997-02-16 20:37:29 +00:00
jonathan fcdd1b0065 fix typo in 3Com 3c597 product description. 1997-02-16 20:10:31 +00:00
jonathan ac06c9aae3 Add product entries entries for 3c592, 3c597 (Demon).
(Assume revision zero until proof to the contrary.)
1997-02-16 20:01:14 +00:00
gwr 7190ad9936 Fix a major bug in pmap_remove_kernel() that causd the removal of
one page too many (worse, it unmapped our stack page... Ouch!)
Also, use loadcrp() and such instead of calling pmap_activate
in various places so we have more control over TLB flush.
Now pmap_activate() is called only by locore (and that call is
done only if PMAP_DEBUG is defined).  Other minor clean-up...
1997-02-16 19:38:08 +00:00
ragge 657c7b5d55 This file has been obsoleted for ages. 1997-02-16 17:40:46 +00:00
veego 932fca6287 regen. 1997-02-16 17:21:26 +00:00
veego d0e4650c7d Fix errors in the last commit. 1997-02-16 17:17:30 +00:00
leo 2242daf790 Initialize 'bestf' to make this compile again with -Wall. 1997-02-16 13:02:59 +00:00
leo e123072427 :: -> : 1997-02-16 13:00:49 +00:00
leo b974335693 Fix some typo's from the setroot mega commit and re-order the device
preferences.
1997-02-16 12:59:56 +00:00
jonathan 4fdff0ed65 * Add ep_complete_cmd() function, to issue commands that perform a reset
(RX_RESET, TX_RESET, GLOBAL_RESET).
  Commands issued while a reset is in progress may be dropped. The driver
  must wait until resets are complete; ep_complete_cmd() does so.
* Change RX_RESET,  TX_RESET, GLOBAL_RESET to use ep_complete_cmd().

* Revert epconfig() to use inline RX_RESET, TX_RESET.
  That avoids accidentally setting IFF_UP, which  breaks both diskless boot,
  and "halt" commands issued before the interface is brought up.
1997-02-16 04:09:18 +00:00
perry 0c7dacfcec All these files are ancient and haven't been used in years -- the
current boot blocks are in boot/; we need the thing cleaned out so we
can put the new libsa based boot stuff in its place.
1997-02-15 23:54:52 +00:00
tls d21c733fd8 greatly expanded pcidevs file courtesy of Carl Shapiro <cshapiro@sparky.ic.sunysb.edu>. 1997-02-15 11:07:08 +00:00
gwr 2053794556 Add sun3/regdump.c 1997-02-14 20:10:50 +00:00
gwr ae0ec6bc84 Moved regdump() and friends to sun3/regdump.c 1997-02-14 20:09:14 +00:00
gwr da6b170800 Add sun3/regdump.c, sun3/sig_machdep.c 1997-02-14 20:01:41 +00:00
gwr f01121ece4 Moved sendsig(), sys_sigreturn() to sun3/sig_machdep.c
Moved regdump() and friends to sun3/regdump.c
1997-02-14 20:00:51 +00:00
gwr 780e636b2d Pull regdump() out of machdep.c and correct a problem where it
would try to print things that are beyond the end of the stack.
1997-02-14 19:55:18 +00:00
is 85aab927f0 Fix obvious typo. 1997-02-14 13:06:28 +00:00