NetBSD/sys/arch/amd64/include/pci_machdep.h
fvdl 7dd7f8baa2 Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00

6 lines
121 B
C

/* $NetBSD: pci_machdep.h,v 1.2 2003/06/15 23:08:55 fvdl Exp $ */
#define _PCI_HAVE_DMA64
#include <x86/pci_machdep.h>