summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/sys/link.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/sys/link.h')
-rw-r--r--arch/x86_64/sys/link.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/x86_64/sys/link.h b/arch/x86_64/sys/link.h
new file mode 100644
index 0000000..e826dc3
--- /dev/null
+++ b/arch/x86_64/sys/link.h
@@ -0,0 +1,15 @@
+#ifndef _JOVE_ARCH_SYS_LINK_H
+#define _JOVE_ARCH_SYS_LINK_H 1
+
+#include <stdatomic.h>
+#include "hal/obj.h"
+
+typedef struct link_obj
+{
+ jove_obj_t obj;
+ uint32_t refcount;
+ uint8_t permissions;
+ atomic_flag lock;
+} jove_link_obj_t;
+
+#endif