diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-07-17 10:24:50 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-07-17 10:24:50 +0200 |
commit | 19a883ce7a8b0d1f57a1df68947af2bfa7ea5576 (patch) | |
tree | 2fa24248e0399ffb1a1b49ae3b9400d542cf118b /sys/src/9/kw | |
parent | a4688b03228dfdebcde34570b2a7b5c79db31c79 (diff) |
usbehci: introduce dmaflush() function to handle portable cache invalidation for device drivers
Diffstat (limited to 'sys/src/9/kw')
-rw-r--r-- | sys/src/9/kw/usbehci.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/9/kw/usbehci.h b/sys/src/9/kw/usbehci.h index 57d172279..48f73f430 100644 --- a/sys/src/9/kw/usbehci.h +++ b/sys/src/9/kw/usbehci.h @@ -175,7 +175,6 @@ struct Ctlr void* (*tdalloc)(ulong,int,ulong); void* (*dmaalloc)(ulong); void (*dmafree)(void*); - void (*dmaflush)(int,void*,ulong len); int nframes; /* 1024, 512, or 256 frames in the list */ ulong* frames; /* periodic frame list (hw) */ @@ -245,3 +244,5 @@ extern int ehcidebug; void ehcilinkage(Hci *hp); void ehcimeminit(Ctlr *ctlr); void ehcirun(Ctlr *ctlr, int on); + +#define dmaflush(clean, addr, len) |