Searched refs:DEF_SYSCALL (Results 1 – 3 of 3) sorted by relevance
/trusty/kernel/lib/trusty/include/ |
D | syscall_table.h | 33 DEF_SYSCALL(0x1, writev, long, 3, uint32_t fd, const struct iovec *iov, uint32_t iovcnt) 34 DEF_SYSCALL(0x2, brk, void*, 1, void* brk) 35 DEF_SYSCALL(0x3, exit_etc, long, 2, int32_t status, uint32_t flags) 36 DEF_SYSCALL(0x4, readv, long, 3, uint32_t fd, const struct iovec *iov, uint32_t iovcnt) 37 DEF_SYSCALL(0x5, ioctl, long, 3, uint32_t fd, uint32_t req, void *buf) 38 DEF_SYSCALL(0x6, nanosleep, long, 3, uint32_t clock_id, uint32_t flags, uint64_t sleep_time) 39 DEF_SYSCALL(0x7, gettime, long, 3, uint32_t clock_id, uint32_t flags, int64_t *time) 40 DEF_SYSCALL(0x8, mmap, long, 4, void *uaddr, uint32_t size, uint32_t flags, int32_t handle) 41 DEF_SYSCALL(0x9, munmap, long, 2, void *uaddr, uint32_t size) 42 DEF_SYSCALL(0xa, prepare_dma, long, 4, void *uaddr, uint32_t size, uint32_t flags, struct dma_pmem … [all …]
|
/trusty/kernel/lib/syscall/ |
D | README | 6 table of function pointers defined using the DEF_SYSCALL macro: 8 DEF_SYSCALL(nr, fn, rtype, nargs, ...) 22 DEF_SYSCALL(0x3, read, long, 3, uint32_t fd, void* msg, uint32_t size) 23 DEF_SYSCALL(0x4, write, long, 3, uint32_t fd, void* msg, uint32_t size) 24 DEF_SYSCALL(0x5, open, long, 0) 25 DEF_SYSCALL(0x2d, brk, long, 1, uint32_t brk) 26 DEF_SYSCALL(0x36, ioctl, long, 3, uint32_t d, uint32_t req, void *msg) 27 DEF_SYSCALL(0x4e, gettimeofday, long, 0) 28 DEF_SYSCALL(0x5b, munmap, long, 2, addr_t addr, uint32_t size) 29 DEF_SYSCALL(0x7d, mprotect, long, 0) [all …]
|
D | syscall.c | 48 #define DEF_SYSCALL(nr, fn, rtype, nr_args, ...) rtype sys_##fn(void); macro 50 #undef DEF_SYSCALL 54 #define DEF_SYSCALL(nr, fn, rtype, nr_args, ...) \ macro 63 #undef DEF_SYSCALL
|