* Force GCC to align sInitialHeap on 8-byte boundary, otherwise Free() will complain (hit on ARM)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38997 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#define INITIAL_HEAP_SIZE B_PAGE_SIZE
|
#define INITIAL_HEAP_SIZE B_PAGE_SIZE
|
||||||
|
|
||||||
static char sInitialHeap[INITIAL_HEAP_SIZE];
|
static char sInitialHeap[INITIAL_HEAP_SIZE] __attribute__ ((aligned (8)));
|
||||||
static void* sHeapBase = sInitialHeap;
|
static void* sHeapBase = sInitialHeap;
|
||||||
static size_t sHeapSize = INITIAL_HEAP_SIZE;
|
static size_t sHeapSize = INITIAL_HEAP_SIZE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user