mirror of
https://github.com/lemonade-sdk/mac_linuxgpu.git
synced 2026-11-22 23:57:31 -10:00
Runs the unmodified upstream Linux amdgpu and amdkfd drivers on Apple Silicon Macs inside a DriverKit system extension, for AMD GPUs attached over Thunderbolt. The Linux sources come from a pinned submodule and are compiled against linuxu, a userspace implementation of the Linux kernel APIs they use. Includes the HSA runtime, the host installer app, the setup and firmware fetch scripts, and the offline test suite.
19 lines
517 B
C
19 lines
517 B
C
/* linuxu: SHIM (upstream uapi/linux/eventpoll.h — pure constants). */
|
|
#ifndef _UAPI_EVENTPOLL_H
|
|
#define _UAPI_EVENTPOLL_H
|
|
|
|
#define EPOLLIN 0x00000001
|
|
#define EPOLLPRI 0x00000002
|
|
#define EPOLLOUT 0x00000004
|
|
#define EPOLLERR 0x00000008
|
|
#define EPOLLHUP 0x00000010
|
|
#define EPOLLRDNORM 0x00000040
|
|
#define EPOLLRDHUP 0x00002000
|
|
#define EPOLLWRNORM 0x00000004
|
|
#define EPOLLET 0x40000000
|
|
#define EPOLLONESHOT 0x40000001
|
|
#define EPOLLEXCLUSIVE (1LL << 29)
|
|
#define EPOLLWAKEUP (1LL << 30)
|
|
|
|
#endif /* _UAPI_EVENTPOLL_H */
|