Files
jsix_import/src/vdso/vdso_internal.h
Justin C. Miller 991b13424e Initial building of the vdso.
Not actually integrating with the kernel yet.
2019-10-09 22:29:45 -07:00

17 lines
360 B
C

#pragma once
/// \file vdso_internal.h
/// VDSO syscall forward-declares and linker utils
#define __weak_alias(name) __attribute__((weak, alias(name)));
#define __local __attribute__((__visibility__("hidden")))
#define SYSCALL(num, name, ...) \
j6_status_t __sys_j6_ ## name (__VA_ARGS__) __local; \
extern "C" {
#include "syscalls.inc"
}
#undef SYSCALL