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
leo
7d08f8e623
Add dummies for barrier methods (copied from i386).
2000-04-11 07:12:47 +00:00
drochner
8eb798e603
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
...
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
leo
4911054546
Allow storage-space to be passed to the alloc_bus_space_tag() functions. This
...
permits static tags to be used during early console init.
2000-01-19 13:12:54 +00:00
leo
ef4d7a827f
Change the copy_region function to shutup gcc's unused warnings in some
...
cases. Use the bus_space_tag without doing something useful... (idea from
Matthias Drochner).
1999-12-13 15:40:28 +00:00
leo
4c4e4258e2
Use extent maps.
1999-10-28 13:38:35 +00:00
leo
d7601eb1b1
Correct the argument order for memcpy(). This tremendously improves the
...
behaviour of wscons.... (Why did history create both bcopy & memcpy?)
1999-08-14 20:48:33 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
leo
be84171b70
Make the abs_copy functions usable. The previous implementation caused
...
kernel "jump to zero" panics....
1999-01-08 09:25:33 +00:00
leo
7cce2beefa
Fix the __abs_copy() macro (wrong parameters to __abs_opname).
1998-12-01 15:32:28 +00:00
leo
ef7f50804b
Add bus_space_{read,write}_region_stream_N functions.
1998-05-25 09:08:08 +00:00
leo
bc9ebf17a7
Major overhaul of the atari bus_space implementation.
1998-04-10 08:19:53 +00:00
leo
0dd40d6952
Bus-dma implementation for the atari. Heavily based on the i386
...
implementation.
1998-03-10 11:42:53 +00:00
leo
bb4f2f4ebe
Add: bus_space_{read,write}_region_N() and bus_space_set_{multi,region}_N()
...
functions.
1998-01-16 09:17:48 +00:00
leo
225274f8b4
Add BUS_SPACE_MAP_* macro's.
1997-09-02 11:19:02 +00:00
leo
ce96a8a2e4
Implement bus_space_subregion()
1997-07-15 06:49:56 +00:00
leo
61d060feec
Add the types for 'bus_dma_tag_t' and 'bus_dmamap_t'. While here, be a bit
...
more precise in using types of the bus_space* address arguments.
1997-06-25 12:06:10 +00:00
leo
b170f473ba
Add bus_space_peek_[1248] functions. These can be used by match/probe
...
functions.
1997-03-03 12:28:20 +00:00
leo
eaf90deff5
Fix typo's in last commit.
1997-01-27 10:18:33 +00:00
leo
7145c74ac3
Change the type of bus_space_tag_t.
...
Add the bus_space_(read|write)* functions.
1997-01-27 07:57:12 +00:00
leo
8481cf5e5b
Adapt to changes in the bus-interface; bus_[mem|io] -> bus_space. Thanks Jason.
1996-11-08 14:21:02 +00:00
leo
f2501673f5
Prototytpe bus_mem_map/bus_mem_unmap functions.
1996-11-06 15:33:05 +00:00
leo
84ed172edb
Minimal bus.h. Together with the minimal pci implementation, we have just
...
enough functionality to find a VGA card....
Will be expanded when I buy more pci-cards ;-)
1996-10-05 21:45:30 +00:00