aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-02 15:53:57 -0800
committerChristian Cunningham <cc@localhost>2022-01-02 15:53:57 -0800
commit059f08cb73ef2b1631f2c89f8c524e27888f6ba5 (patch)
tree93d2763404d3d86647b97dab54e332aa5075e6e1 /src/util
parente15d41a5619c41f3440369e625d6d96921718221 (diff)
Expanded upon memory library
Diffstat (limited to 'src/util')
-rw-r--r--src/util/mutex.h2
1 files changed, 1 insertions, 1 deletions
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);