blob: f02b4180dc732f167c71aee3d29e84524ed6d8c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* Private extensions to galcore to support Other(tm) ways of doing things.
*/
#ifndef GAL_EXTENSION_H
#define GAL_EXTENSION_H
#include <sys/ioctl.h>
#include <gc_hal.h>
/* Map a DMABUF fd into galcore */
struct map_dma_buf {
unsigned zero;
unsigned status;
int fd;
gctPOINTER Info;
gctUINT32 Address;
};
#define IOC_GDMABUF_MAP _IOWR('_', 0, struct map_dma_buf)
#endif
|