diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-13 22:31:43 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-13 22:31:43 -0400 |
| commit | 548506392b789f58b1556a6ffca917441e1d89fd (patch) | |
| tree | 58e4b747446ea64e7951e523353f58510b3a8b2f /arch/x86_64/sys/link.h | |
| parent | c5e3bb7917689bc9ed54fee23a143144fade802d (diff) | |
| download | jove-kernel-548506392b789f58b1556a6ffca917441e1d89fd.tar.gz jove-kernel-548506392b789f58b1556a6ffca917441e1d89fd.tar.bz2 jove-kernel-548506392b789f58b1556a6ffca917441e1d89fd.zip | |
ipc functions. work on process spawning
Diffstat (limited to 'arch/x86_64/sys/link.h')
| -rw-r--r-- | arch/x86_64/sys/link.h | 15 |
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 |
