freebsd-skq/sys/ia64/include
scottl 4d495abb9d Mega busdma API commit.
Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg.
Lockfunc allows a driver to provide a function for managing its locking
semantics while using busdma.  At the moment, this is used for the
asynchronous busdma_swi and callback mechanism.  Two lockfunc implementations
are provided: busdma_lock_mutex() performs standard mutex operations on the
mutex that is specified from lockfuncarg.  dftl_lock() is a panic
implementation and is defaulted to when NULL, NULL are passed to
bus_dma_tag_create().  The only time that NULL, NULL should ever be used is
when the driver ensures that bus_dmamap_load() will not be deferred.
Drivers that do not provide their own locking can pass
busdma_lock_mutex,&Giant args in order to preserve the former behaviour.

sparc64 and powerpc do not provide real busdma_swi functions, so this is
largely a noop on those platforms.  The busdma_swi on is64 is not properly
locked yet, so warnings will be emitted on this platform when busdma
callback deferrals happen.

If anyone gets panics or warnings from dflt_lock() being called, please
let me know right away.

Reviewed by:	tmm, gibbs
2003-07-01 15:52:06 +00:00
..
pc
_inttypes.h
_limits.h sys/sys/limits.h: 2003-05-19 20:29:07 +00:00
_regset.h Make the regset pointers const pointers for the context restore functions. 2003-05-31 21:02:18 +00:00
_stdint.h
_types.h - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
acpica_machdep.h
asm.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
atomic.h
bootinfo.h Use one of the bi_spare entries for the DIG64 HCDP table address. 2002-12-08 20:32:56 +00:00
bus_memio.h
bus_pio.h
bus.h Mega busdma API commit. 2003-07-01 15:52:06 +00:00
clock.h Replace the hardcoding of 255 as the clock interrupt vector with 2003-01-06 01:39:25 +00:00
clockvar.h
cpu.h Have TRAPF_USERMODE() take into account that the gateway page is not 2003-06-06 23:27:18 +00:00
cpufunc.h Be more careful how we restore interrupts. Don't rewrite most of the 2003-05-24 21:44:24 +00:00
critical.h
db_machdep.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
dig64.h More MFp4: DIG64 structures. 2002-12-18 18:52:20 +00:00
efi.h
elf.h Add TLS related relocation. 2003-06-19 06:51:43 +00:00
endian.h
exec.h
float.h Correct LDBL_* constants based on values from i386. 2003-03-27 20:38:22 +00:00
floatingpoint.h
fpu.h
frame.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
ia64_cpu.h
ieee.h
ieeefp.h
in_cksum.h
inst.h
intr.h Don't hardcode the address of the local (S)APIC (aka processor 2003-01-05 22:14:30 +00:00
intrcnt.h Bump the number of interrupts from 65 to 257. This is a waste of 2003-01-05 22:00:19 +00:00
ioctl_bt848.h
ioctl_meteor.h
kse.h
limits.h sys/sys/limits.h: 2003-05-19 20:29:07 +00:00
mca.h
md_var.h Remove special casing for running in the simulator from the kernel 2003-02-01 22:50:09 +00:00
mutex.h
nexusvar.h
pal.h
param.h Migrate the thread stack management functions from the machine-dependent 2003-06-14 23:23:55 +00:00
pcb.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
pci_cfgreg.h
pcpu.h
pmap.h pmap_install() needs to be atomic WRT to context switching. Protect 2003-05-19 04:16:30 +00:00
proc.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
profile.h
pte.h
ptrace.h
reg.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
reloc.h
resource.h
runq.h
sal.h Remove special casing for running in the simulator from the kernel 2003-02-01 22:50:09 +00:00
sapicreg.h
sapicvar.h
setjmp.h Fix threaded applications on ia64 that are linked dynamicly. We did 2003-03-05 04:39:24 +00:00
sigframe.h Split 4.x and 5.x signal handling so that we can keep 4.x signal 2002-10-25 19:10:58 +00:00
signal.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
smp.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
stdarg.h o Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:01:07 +00:00
sysarch.h
ucontext.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
unwind.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
varargs.h Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:02:06 +00:00
vmparam.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00