d88cf589cb
isa_dmamap_create() calls to their open/close entrypoints. This worked with some luck, but broke on i386 when _bus_dmamap_create started to allocate bounce buffers upfront, since memory below 16M may well not be available when the sound devices is opened for the Nth time. To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free, wrappers around already existing bitmask macros. These are expected to be used before an isa_dmamap_create call, and after an isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers, they're deferred until open/close. All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done at attach time. |
||
---|---|---|
.. | ||
ansi.h | ||
aout_machdep.h | ||
asm.h | ||
bootinfo.h | ||
bswap.h | ||
bus.h | ||
cdefs.h | ||
cpu_counter.h | ||
cpu.h | ||
cpufunc.h | ||
darwin_machdep.h | ||
db_machdep.h | ||
disklabel.h | ||
elf_machdep.h | ||
endian_machdep.h | ||
endian.h | ||
float.h | ||
fpu.h | ||
frame.h | ||
ieee.h | ||
ieeefp.h | ||
int_const.h | ||
int_fmtio.h | ||
int_limits.h | ||
int_mwgwtypes.h | ||
int_types.h | ||
intr.h | ||
ipkdb.h | ||
isa_machdep.h | ||
isapnp_machdep.h | ||
kcore.h | ||
kgdb.h | ||
limits.h | ||
loadfile_machdep.h | ||
lock.h | ||
macho_machdep.h | ||
Makefile | ||
math.h | ||
mcontext.h | ||
openpicreg.h | ||
param.h | ||
pcb.h | ||
pci_machdep.h | ||
pio.h | ||
pmap.h | ||
pmc.h | ||
powerpc.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
setjmp.h | ||
signal.h | ||
spkr.h | ||
stdarg.h | ||
trap.h | ||
types.h | ||
varargs.h | ||
vmparam.h |