rsys

Basic data structures and low-level features
git clone git://git.meso-star.fr/rsys.git
Log | Files | Refs | README | LICENSE

commit ea5b0b5fd3904cc7c2054cd9e7aa411060a22709
parent 8676e67cf2d5bf506532b0bb8b9f95947a917e5b
Author: vaplv <vaplv@free.fr>
Date:   Wed, 11 Jul 2018 12:10:39 +0200

Revert "Change the default alignment of the proxy allocations"

This reverts commit 33c8dd1efe22acc67a52fc5b0bdef70abf618383.

The diagnostic made by the aforementioned commit about a possible issue in
GCC was wrong. The memory access violations that were observed with the
previous default alignment of the proxy allocator were simply due to
"misaligned addresses" in caller code.

Diffstat:
Msrc/mem_proxy_allocator.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mem_proxy_allocator.c b/src/mem_proxy_allocator.c @@ -37,7 +37,7 @@ struct mem_node { char reserved[2]; }; -#define PROXY_DEFAULT_ALIGNMENT 16 +#define PROXY_DEFAULT_ALIGNMENT 8 /******************************************************************************* * Helper functions