aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2024-12-01 12:07:42 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2024-12-01 12:07:42 +0000
commit2671b9522db44418536559524a22c95d3575569e (patch)
tree18703f532dfcbef847c0c3af03a42d50c4f36e7c /arch/x86_64/include
parentb8fd52b6b3a7f002cff58ff8da0313a684cb3ab4 (diff)
downloadteachos-2671b9522db44418536559524a22c95d3575569e.tar.xz
teachos-2671b9522db44418536559524a22c95d3575569e.zip
enable heap test
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/memory/heap/linked_list_allocator.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86_64/include/arch/memory/heap/linked_list_allocator.hpp b/arch/x86_64/include/arch/memory/heap/linked_list_allocator.hpp
index 2d76124..236d366 100644
--- a/arch/x86_64/include/arch/memory/heap/linked_list_allocator.hpp
+++ b/arch/x86_64/include/arch/memory/heap/linked_list_allocator.hpp
@@ -3,8 +3,6 @@
#include "arch/memory/heap/memory_block.hpp"
-#include <cstdint>
-
namespace teachos::arch::memory::heap
{
/**
@@ -59,7 +57,7 @@ namespace teachos::arch::memory::heap
auto split_free_memory_block(memory_block *& current_block, std::size_t size) -> void *;
auto coalesce_free_memory_block(memory_block *& previous_block, memory_block *& current_block, void * pointer,
- std::size_t size) -> void *;
+ std::size_t size) -> void;
std::size_t heap_start; ///< Start of the allocatable heap area
std::size_t heap_end; ///< End of the allocatable heap area