diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pdq/pdq_freebsd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/pdq/pdq_freebsd.h b/sys/dev/pdq/pdq_freebsd.h index 99e06c2..f43f3e3 100644 --- a/sys/dev/pdq/pdq_freebsd.h +++ b/sys/dev/pdq/pdq_freebsd.h @@ -165,7 +165,11 @@ typedef struct _pdq_os_ctx_t { #define PDQ_OS_CSR_FMT "0x%x" #define PDQ_OS_USEC_DELAY(n) DELAY(n) +#ifdef __alpha__ +#define PDQ_OS_VA_TO_BUSPA(pdq, p) alpha_XXX_dmamap((vm_offset_t)p) +#else #define PDQ_OS_VA_TO_BUSPA(pdq, p) vtophys(p) +#endif #define PDQ_OS_MEMALLOC(n) malloc(n, M_DEVBUF, M_NOWAIT) #define PDQ_OS_MEMFREE(p, n) free((void *) p, M_DEVBUF) |