summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/sys/link.h
blob: e826dc3035d1b6a62082cd4223fbd4bd078d0c95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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