summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-01-27 05:10:30 +0000
committerdlg <dlg@openbsd.org>2015-01-27 05:10:30 +0000
commit0e294e59d8deb11b804a771127fc5b5635c4e8a0 (patch)
treea2bc8f3d15e521fa83c16d91efd352fa1b78bf5a
parenti forgot to fix ipw when i removed the second task argument. (diff)
downloadwireguard-openbsd-0e294e59d8deb11b804a771127fc5b5635c4e8a0.tar.xz
wireguard-openbsd-0e294e59d8deb11b804a771127fc5b5635c4e8a0.zip
this code doesnt need to know about interrupts, so i can trim some
headers and types. ok deraadt@
-rw-r--r--sys/arch/amd64/amd64/bus_dma.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/arch/amd64/amd64/bus_dma.c b/sys/arch/amd64/amd64/bus_dma.c
index 9ecb23bdee1..b7b7e7f3860 100644
--- a/sys/arch/amd64/amd64/bus_dma.c
+++ b/sys/arch/amd64/amd64/bus_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus_dma.c,v 1.47 2015/01/24 15:13:55 kettenis Exp $ */
+/* $OpenBSD: bus_dma.c,v 1.48 2015/01/27 05:10:30 dlg Exp $ */
/* $NetBSD: bus_dma.c,v 1.3 2003/05/07 21:33:58 fvdl Exp $ */
/*-
@@ -95,25 +95,11 @@
#include <machine/bus.h>
-#include <dev/isa/isareg.h>
-#include <dev/isa/isavar.h>
-
#include <uvm/uvm_extern.h>
-#include "ioapic.h"
-
-#if NIOAPIC > 0
-#include <machine/i82093var.h>
-#include <machine/mpbiosvar.h>
-#endif
-
int _bus_dmamap_load_buffer(bus_dma_tag_t, bus_dmamap_t, void *, bus_size_t,
struct proc *, int, paddr_t *, int *, int);
-#define IDTVEC(name) __CONCAT(X,name)
-typedef void (vector)(void);
-extern vector *IDTVEC(intr)[];
-
/*
* Common function for DMA map creation. May be called by bus-specific
* DMA map creation functions.