thorpej
e9052d7c40
New delay() function that uses the RPCC instruction. From
...
Matthew Jacob <mjacob@feral.com>.
2000-06-28 02:02:26 +00:00
ragge
30a1a1bb3c
Add hdc controller and rd disks.
2000-06-27 18:50:47 +00:00
ragge
2be09b4a84
Do 3 retries on a failing sector before giving up.
...
Clear pending interrupts before starting a DMA transfer. If an interrupt
occurs while the HDC9224 is doing DMA, the transfered data will be
scrambled (without giving any errors, quite bad).
2000-06-27 18:46:17 +00:00
ragge
92f0a8f388
Make this file compile again.
2000-06-27 18:38:27 +00:00
soren
d6295e3d35
Don't include <vm/vm.h>.
2000-06-27 18:10:04 +00:00
pk
054fe0cb32
Move `DIAGNOSTIC || LOCKDEBUG'-only lock counters to the end of the cpu_info
...
structure, Just In Case.
2000-06-27 16:51:44 +00:00
mrg
d726c1dfc5
remove redundant vm includes.
2000-06-27 09:09:51 +00:00
pk
618d3d0fde
VME/IOMMU DMA load must also relocate DVMA addresses to the start of VME space.
2000-06-27 09:05:23 +00:00
kleink
d82c31e07e
Typo.
2000-06-27 08:43:02 +00:00
soren
68a8d88edc
Shrink a little again to avoid firmware limits.
2000-06-27 08:34:02 +00:00
matt
34def42c3d
Add ELF support.
2000-06-27 06:17:28 +00:00
kleink
bb2ed0f487
G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_.
2000-06-27 05:53:22 +00:00
kleink
47b5c5e3b1
Resolve some formatting nits; add __intptr_t and __uintptr_t.
2000-06-27 04:58:51 +00:00
mrg
e185413725
remove redudant <vm/pmap.h> includes. <vm/pmap.h> -> <uvm/uvm_pmap.h>
2000-06-27 04:18:48 +00:00
bjh21
ecfb72bbee
Make cpu_coredump return ENOSYS rather than panicking.
2000-06-26 22:36:33 +00:00
pk
e2b1b6cd42
Split si & sw drivers.
2000-06-26 19:54:08 +00:00
thorpej
69a6fe113c
Garbage-collect CHIP_PHYSADDR().
2000-06-26 19:46:24 +00:00
pk
7d89e9904d
We want prom_claim_phys() to return the address passed into it.
2000-06-26 19:45:54 +00:00
pk
9b1e1aeb66
prom_claim_phys: it appears one result argument too many was specified.
...
Now we can return the actual result of the call rather than merely
reflecting the input.
2000-06-26 19:41:20 +00:00
pk
ff54ba628e
prom_claim_phys: set `align' parameter to 0 (meaning: get the chunk at the
...
specified address).
2000-06-26 19:36:07 +00:00
thorpej
cc9dfe871b
Do the previously slightly differently, to avoid confusing the internal
...
space extent maps. Pointed out by msaitoh@netbsd.org . (Someone should
send me an EV6 machine!)
2000-06-26 18:19:26 +00:00
kleink
e695f72a2e
Add <machine/int_types.h>, which provides namespace-pure definitions
...
of exact-width integer types.
2000-06-26 15:42:16 +00:00
eeh
7e7c0311e4
Advertise we have __GENERIC_SOFT_INTERRUPTS.
2000-06-26 15:13:26 +00:00
mrg
4c698e84f6
<vm/vm_param.h> -> <uvm/uvm_param.h>
2000-06-26 14:58:58 +00:00
mrg
89d0a3e519
remove redundant vm includes.
2000-06-26 14:38:50 +00:00
mrg
2f159a1bac
remove/move more mach vm header files:
...
<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
pk
51a2c92940
The `sw' driver should not use vme bus routines.
2000-06-26 09:50:00 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
nisimura
472221aa39
Abandon {mips1,mips3}_TBRPL() which have little gain than TLBUpdate().
2000-06-26 03:05:04 +00:00
nisimura
074a952030
Abandon {mips1,mips3}_TBRPL()s which have little gain. They were
...
expected to be better than MachTLBUpdate(). After all, TLBUpdate()
is rather harmful and should be replaced with TBIS().
2000-06-26 02:55:45 +00:00
thorpej
9a2d9ff68b
Because of the Cool sign-extension hack we use to access PCI space,
...
the `get window' method ends up with the wrong physical address to
pass onto userspace (which wants to mmap the space).
Compensate by adding a CHIP_PHYSADDR() macro which un-hacks the address
suitably for mapping with other-than-KSEG.
2000-06-26 02:42:10 +00:00
enami
506c4945d8
Fix typo in previous to prevent compilation error when DEC_1000 isn't
...
configured.
2000-06-26 02:42:04 +00:00
wrstuden
491d7e6764
Fix logic bug which would keep PPS from working. Noticed by:
...
Charles Carvalho <carvalho@cisco.com>
2000-06-25 20:55:33 +00:00
thorpej
a2318e49a0
G/c unused include.
2000-06-25 19:33:01 +00:00
thorpej
167094d31a
Implement mcpcia_bus_get_window().
2000-06-25 19:32:19 +00:00
thorpej
865004842f
Implement tsp_bus_get_window().
2000-06-25 19:17:39 +00:00
ragge
7781fd263e
Detect "rd" as root device.
2000-06-25 18:27:24 +00:00
thorpej
9f7689e3c9
For systems which have different systypes but share a common
...
support module, make consistent with other systems which options
you must enable for it to work. Treat ``Lynx'' (2100A_A500) like
``Sable'' (2100_A500).
2000-06-25 17:21:55 +00:00
scw
ab30216ea2
Some tweaks to make things work properly with `dependall'.
2000-06-25 16:39:05 +00:00
ragge
bd66c9dafc
Make the HDC9224 MFM device driver up-to-date; has been not-working
...
since NetBSD 1.2 (!) It also uses interrupts instead of polling now.
Also fix the DMA area locking between SCSI and MFM disks.
Still missing - floppy support.
2000-06-25 16:00:43 +00:00
mrg
53be5b215c
<vm/vm_pageout.h> is already empty; kill it totally.
2000-06-25 13:49:33 +00:00
mrg
f5f84f80c5
<vm/vm_prot.h> becomes <uvm/uvm_prot.h>
2000-06-25 13:37:51 +00:00
mrg
c543a66253
remove some redundant <vm/vm_xxx.h> includes
2000-06-25 13:26:19 +00:00
pk
8b3ad4a667
Use vme_dmamap_create() instead of bus_dmamap_create().
...
Remove Sun hardware id test from si_match().
2000-06-25 13:09:52 +00:00
pk
560d1ea54c
Implement vme_dmamap_create/vme_dmamap_destroy, which allows us to
...
select the appropriate DVMA subrange for VME devices.
2000-06-25 13:07:34 +00:00
eeh
2e1e35d58e
Enable interrupts.
2000-06-24 23:27:23 +00:00
pk
0790f00e68
Maintain the DVMA map extent subregion boundaries in the bus_dma map
...
structure.
2000-06-24 22:47:45 +00:00
eeh
6c5d2dbbac
With these changes the kernel seems almost stable again.
2000-06-24 20:48:36 +00:00
scw
227985dcc0
Make these compile when DIAGNOSTIC isn't defined.
2000-06-24 20:43:14 +00:00
eeh
8e1fd2e3c6
Remove a couple of references to vaddrs.h that slipped through.
2000-06-24 16:51:34 +00:00