diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-17 11:11:20 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-17 11:11:20 -0400 |
| commit | 13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8 (patch) | |
| tree | a15e55bc70c60d3faa053db3b7b9a17fe75589bc /arch/x86_64/hal/obj.h | |
| parent | a783cc865f1f261c20f6ef55cb37d4839f519865 (diff) | |
| download | jove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.tar.gz jove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.tar.bz2 jove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.zip | |
make syscall use non-locking mutexes
Diffstat (limited to 'arch/x86_64/hal/obj.h')
| -rw-r--r-- | arch/x86_64/hal/obj.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/hal/obj.h b/arch/x86_64/hal/obj.h index deea2be..4364348 100644 --- a/arch/x86_64/hal/obj.h +++ b/arch/x86_64/hal/obj.h @@ -17,7 +17,7 @@ typedef union jove_obj struct { uint8_t type; atomic_flag lock; - /*Raw value or pointer to a data-structure located in kernel memory.*/ + /*Raw value or pointer to a data-structure located in identity memory.*/ uint64_t value : 48; }; uintmax_t data; @@ -32,7 +32,7 @@ typedef struct jove_locked_obj } jove_owned_obj_t; /*Object directories are always 1 page wide. Since an object inside the directory - * is a pointer width, on x86_64 that is 512 entries per directory.*/ + * in this arch is a pointer width, that is 512 entries per directory.*/ #define JOVE_OBJDIR_SIZE 0x1000 #define JOVE_OBJDIR_ENTRIES (JOVE_OBJDIR_SIZE / sizeof(jove_obj_t)) |
