diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-07-25 08:41:37 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-07-25 08:41:37 +0200 |
commit | 5a0c2e2d17617ece4819e2f66514a498849ee088 (patch) | |
tree | 5bf2e35026e3eb4ed3657f57637965a2e6731b3d /sys/src/9/bcm/fns.h | |
parent | 4983adfa2cd403eda22d862917c2ff5ed35b48b3 (diff) |
bcm, bcm64: add dmaflush() function and make virtio size and virtual address configurable in Soc.virtio and Soc.iosize
Diffstat (limited to 'sys/src/9/bcm/fns.h')
-rw-r--r-- | sys/src/9/bcm/fns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/bcm/fns.h b/sys/src/9/bcm/fns.h index 6e35a2401..3801948e1 100644 --- a/sys/src/9/bcm/fns.h +++ b/sys/src/9/bcm/fns.h @@ -28,6 +28,7 @@ extern u32int cpidget(void); extern void cpwr(int cp, int op1, int crn, int crm, int op2, ulong val); extern void cpwrsc(int op1, int crn, int crm, int op2, ulong val); #define cycles(ip) *(ip) = lcycles() +extern void dmaflush(int, void*, ulong); extern void dmastart(int, int, int, void*, void*, int); extern int dmawait(int); extern uintptr dmaaddr(void *va); |