Commit Graph

22730 Commits

Author SHA1 Message Date
thorpej
dc13176aec No need to keep global pointers to the initial kernel level 2 and level 3
page tables.  Also, rename Lev1map to kernel_lev1map.
1998-05-19 02:57:01 +00:00
thorpej
804e5be6f7 Nuke `register'. 1998-05-19 02:43:48 +00:00
thorpej
293854e385 Put pmap_initialized in the BSS segment. 1998-05-19 02:42:41 +00:00
thorpej
ca12fa7ebe Make PT page reference counting more generic so it can be used for other
special use page types.
1998-05-19 02:04:28 +00:00
thorpej
8fdc16212f The Alpha architecture has a variable page size; don't hardwire the
number of PV entries per page at compile time.
1998-05-19 00:42:16 +00:00
thorpej
b44dc2ecbf Make the page attribute manifest constant names have similar form to
page usage manifest constant names.
1998-05-19 00:29:03 +00:00
thorpej
180f140a85 Keep track of page usage inside the pmap (pvent, l{1,2,3}pt page, "normal"). 1998-05-19 00:20:21 +00:00
augustss
54281b8662 Avoid spaces in tsleep() string. 1998-05-18 18:27:43 +00:00
kleink
3e08a4a027 Spell `interrupt' correctly. 1998-05-18 17:37:38 +00:00
cgd
9991233636 add an #if 0'd chunk which will pci_conf_print() every device (spews
lots of data, e.g. ~18k on a PCI system with few add-in devices; use
with MSGBUFSIZE=...).  Useful to have here so that people who want as
much data about the PCI configuration in a machine can get it without
having to craft their own code.  Also, clean up a few of the other
#if 0'd printfs.
1998-05-18 17:28:07 +00:00
cgd
4b0876c74b largely reimplement pci_conf_print():
* print all configuration space registers.  Then, where possible,
  interpret them.  (That is, PRESENT ALL THE DATA, then interpret it --
  don't hide data behind interpretation.  Also, when interpreting
  fields, try to print out the specific value that's being interpreted.)
* handle different header types.
* allow caller to specify a function which can interpret the
  device-dependent header and is responsible for pretty-printing it.

It spews (use 'options MSGBUFSIZE=...' 8-), but when you want the data,
you really want _all_ of it.

Still needs some cleanup and additional code (e.g. interepretation
of PCI-PCI (type 1) and PCI-Cardbus (type 2(?)) bridge headers).
1998-05-18 17:25:17 +00:00
cgd
27b21a3a47 add a PCI_HDRTYPE_TYPE() macro, to get the 'type' portion of the
headertype register (i.e., not including the 'multifunction' bit).
1998-05-18 17:17:04 +00:00
cgd
2102dd3e20 check that memory access is enabled before bothering to do the
pci_mapreg_info() call.  pci_mapreg_map() implies this check,
but code which calls pci_mapreg_info() has to check it explicitly.
Otherwise, if memory space is disabled, the driver does the wrong
thing, and tries to use memory space anyway, potentially resulting
incorrect driver operation and no useful error message.
1998-05-18 17:14:32 +00:00
matt
f070ddb8ed Move the ppcb pointer towards the front of the structure so that it and the
pcb chain pointers can possibly be in the same cache line.
1998-05-18 17:10:37 +00:00
matt
1b2b1d801b Fix two bugs. 1998-05-18 17:08:56 +00:00
fvdl
8ccdc78ffc Since the interlock has been unlocked, also clear LK_INTERLOCK from
a_flags in order to not confuse the layer that is called through
the following VCALL.
1998-05-18 16:47:37 +00:00
pk
df238837b0 No dummy locks if LOCKDEBUG. 1998-05-18 15:00:50 +00:00
pk
d0e85dde99 Inline vref/vrele in vclean() because:
* we already have the vnode interlock, so vref() should not ask for it again.
* we call VOP_RECLAIM/VOP_INACTIVE(), which shouldn't be duplicated in vrele().
1998-05-18 14:59:49 +00:00
pk
097731676e dead_lock() must unlock `v_interlock'. 1998-05-18 14:36:46 +00:00
leo
199165fe0d Fix errors when compiling for M68030 only. (Witek Wnuk) 1998-05-18 12:06:46 +00:00
ragge
3ebb9bfd11 Not used anymore when now using the dz11 driver. 1998-05-17 19:02:03 +00:00
ragge
baec63333c Mod~ify for new changes to lance/dz drivers. 1998-05-17 19:00:56 +00:00
ragge
4c217a5bcb Change to use newly committed ln- and dz-drivers. 1998-05-17 18:58:07 +00:00
ragge
25d68ddcde Add vax-hacked lance device driver for vaxstations.
XXX - This is temporary; will go away when the troubles with the
MI driver is fixed.
1998-05-17 18:55:30 +00:00
ragge
4a469a9149 Split the DZ11 driver into two parts; can now use the same driver on
both unibus/qbus devices and vaxstations.
1998-05-17 18:51:13 +00:00
hpeyerl
96ee790741 Add the HP35470A DAT drive. 1998-05-17 17:09:55 +00:00
veego
82423e3d01 Resolve conflicts 1998-05-17 16:50:15 +00:00
kml
051be14326 Correct copyright date. 1998-05-17 16:46:06 +00:00
thorpej
ff4919623e Add missing RCS ID. 1998-05-16 00:49:45 +00:00
drochner
4153971158 Framework to test standalone code in a friedly user environment. 1998-05-15 17:07:14 +00:00
drochner
a8857f05e8 Allow to use the code in user land test programs. 1998-05-15 16:38:53 +00:00
augustss
88edb37522 Be more verbose if attaching the audio device fails. 1998-05-15 15:45:58 +00:00
tsubai
02aa1f7050 Add macppc support. 1998-05-15 12:35:06 +00:00
lukem
880e27e0f9 actually, there's *four* types of queue data structures... 1998-05-15 12:22:24 +00:00
tsubai
2be6df07c6 Initial import of macppc port. 1998-05-15 10:15:45 +00:00
drochner
7bd61ed6be needed for VGA text attributes 1998-05-14 23:11:03 +00:00
matt
ba482f242f Fix lc0 (lemac) line(s) so that the de20[345]s will work again. Add depca
for de20[012]s (tested and works on a pc164sx).
1998-05-14 21:53:40 +00:00
augustss
07e69a32d2 Regen. 1998-05-14 21:46:53 +00:00
augustss
c3def5e349 Add another USB controller. 1998-05-14 21:45:18 +00:00
drochner
95bdb660ed Simple screen attribute handling for wscons.
The graphics device driver passes a "default attribute" for normal text
output to the wscons framework. If the emulation module needs more
attributes (for different "renditions") it can allocate them via a
callback.
For now, only the "sun" emulation makes use of it.
1998-05-14 20:49:55 +00:00
drochner
12d352b2f9 minor corrections 1998-05-14 18:34:11 +00:00
drochner
04682788a9 misc improvements:
-initialize errno to 0 before receiving
-minimal allowed packet size is 4 (empty data packet)
-Be nice to the TFTP server - tell it that the transfer is finished
  (additinal ACK at EOF, ERROR otherwise). Otherwise, it will linger
  around and retransmit. This can be left out (TFTP_NOTERMINATE) if we
  are really short on space.
1998-05-14 18:26:47 +00:00
matt
1442b419df Fix alignment crashes on Alphas... 1998-05-14 18:24:00 +00:00
drochner
2e9a412d43 allow to use from user space test programs 1998-05-14 18:17:44 +00:00
drochner
26d2f5e3b6 allow to access from user space test programs 1998-05-14 18:15:02 +00:00
drochner
8b4cd5f3da egcs -Wall -Werror 1998-05-14 18:08:58 +00:00
chuck
d6fddd553f detect ending VA wrap-around in the chunking code of amap_copy.
fixes problem reported by Ken Nakata <kenn@synap.ne.jp> on the mac68k
where the stack amap chunking caused entry->end to wrap around to zero,
thus corrupting the map entry list and causing kmem_map to fill.
1998-05-14 13:51:28 +00:00
dbj
4d7d7e4b9d Fixed stack trace address printing lossage when no symbols are available. 1998-05-14 10:15:44 +00:00
kml
e72782a137 Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card.  With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...
1998-05-14 00:04:57 +00:00
thorpej
d19fbe1196 Garbage-collect the old confargs stuff that was used in the Early Days.
It isn't really appropriate anymore.  Replace it with a real mainbus
attach args structure.
1998-05-14 00:01:30 +00:00