summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/hal/obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/hal/obj.h')
-rw-r--r--arch/x86_64/hal/obj.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86_64/hal/obj.h b/arch/x86_64/hal/obj.h
index 4364348..b939406 100644
--- a/arch/x86_64/hal/obj.h
+++ b/arch/x86_64/hal/obj.h
@@ -15,8 +15,8 @@ enum
typedef union jove_obj
{
struct {
- uint8_t type;
atomic_flag lock;
+ uint8_t type;
/*Raw value or pointer to a data-structure located in identity memory.*/
uint64_t value : 48;
};
@@ -33,7 +33,5 @@ typedef struct jove_locked_obj
/*Object directories are always 1 page wide. Since an object inside the 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))
#endif