aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2025-03-15 11:29:26 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2025-03-15 11:29:26 +0000
commit60ab85044289f4a9a0a84c37bfb2b3938f6ae416 (patch)
treef1b41963d0a28bbe26e4e8f61c8bcc11b4daa000 /arch/x86_64/src/memory
parentf2b9ac8f0f22354241e9b78e47aa7cb94e5ef511 (diff)
downloadteachos-60ab85044289f4a9a0a84c37bfb2b3938f6ae416.tar.xz
teachos-60ab85044289f4a9a0a84c37bfb2b3938f6ae416.zip
Fix size of segment descriptor using bit fields and struct packing
Diffstat (limited to 'arch/x86_64/src/memory')
-rw-r--r--arch/x86_64/src/memory/heap/linked_list_allocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/memory/heap/linked_list_allocator.cpp b/arch/x86_64/src/memory/heap/linked_list_allocator.cpp
index a824c8a..5101ab2 100644
--- a/arch/x86_64/src/memory/heap/linked_list_allocator.cpp
+++ b/arch/x86_64/src/memory/heap/linked_list_allocator.cpp
@@ -11,7 +11,7 @@ namespace teachos::arch::memory::heap
: heap_start(heap_start)
, heap_end(heap_end)
, first(nullptr)
- , mutex{shared::mutex{}}
+ , mutex{stl::mutex{}}
{
auto const heap_size = heap_end - heap_start;
exception_handling::assert(