From 35a5d7f9db0211ac1b4e79bb483a6f05ed00dcdb Mon Sep 17 00:00:00 2001 From: ChUrl Date: Sat, 16 Jul 2022 01:01:49 +0200 Subject: [PATCH] fix memory align size --- c_os/kernel/Allocator.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/c_os/kernel/Allocator.h b/c_os/kernel/Allocator.h index ccead07..46b1a52 100755 --- a/c_os/kernel/Allocator.h +++ b/c_os/kernel/Allocator.h @@ -33,8 +33,7 @@ #ifndef __Allocator_include__ #define __Allocator_include__ -// TODO: Is it 8 or 4? -constexpr unsigned int BASIC_ALIGN = 8; +constexpr unsigned int BASIC_ALIGN = 4; // 32 Bit so 4 Bytes? constexpr unsigned int HEAP_MIN_FREE_BLOCK_SIZE = 64; // min. Groesse eines freien Blocks class Allocator {