Age | Commit message (Collapse) | Author |
|
|
|
bus_addr_t vs vaddr_t/paddr_t
Return correct value for poalloc();
|
|
access size parameter. Also add field to hold bus size for later usage.
|
|
as needed for some drivers, primarily drivers from NetBSD, where these
defines came from.
|
|
bus interface was not previously implemented. This functionality is
required for the latest USB changes.
The bus_space_barrier does not perform any operation with this change,
it expects that the device mappings will be performed with the Guard
bit set which then should not require this forced sync.
|
|
(Fixed by replacing the code with the version from the i386 port.)
|
|
due to busdma issues on powerpc.
|
|
Full dma code not yet integrated.
|
|
it has a copyin bug after device configuration. However to get these diffs
out of my tree.
All of the UVM code is currently inside ifdef UVM the kernel works fine
without option UVM. Config files have been left without UVM for now.
Prelimiary changes for busdma, (what UVM was wanted for).
|
|
add mac hooks to the powerpc config structure, probably
a hack, and certainly needs to be cleaned up.
bus.h
p4e_ -> ppc_X
add write_multi and prototypes for bus_space_X_raw_multi functions.
intr.h
add structure for interrupt handler.
pio.h
remove the unnecessary and slowing "sync" instruction from
each pio access.
remove unnecessary newline characters from the generated asm.
eieio after writes, but before reads.
types.h
formatting change
vmparam.h
change powerpc kernel virtual memory sizing from a fixed segment
to a variable, initialized with a segment size, this is
so that the pmap allocator can steal virtual memory, if vm
is not yet set up. Necessary for mapping devices before the
kernel vm structures are initialized.
|
|
|
|
so far, the other archs gets placeholders for now. I wrote a compatibility
layer for OpenBSD's old isadma code so we can still use our old
driver sources. They will however get changed to native bus_dma use,
on a case by case basis. Oh yes, I almost forgot, I kept our notion
of isadma being a device so DMA-less ISA-busses still work
|
|
|