From 059f08cb73ef2b1631f2c89f8c524e27888f6ba5 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sun, 2 Jan 2022 15:53:57 -0800 Subject: Expanded upon memory library --- src/util/mutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/mutex.h b/src/util/mutex.h index f99b7a8..f8178a2 100644 --- a/src/util/mutex.h +++ b/src/util/mutex.h @@ -8,7 +8,7 @@ struct Mutex { unsigned long* addr; unsigned long pid; -}; +} __attribute__((packed, aligned(4)));; unsigned char lock_mutex(struct Mutex*, unsigned long); unsigned char release_mutex(struct Mutex*, unsigned long); -- cgit v1.2.1