2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
11 #define BLOCK_SIZE (64 * 4096)
12 #define BLOCK_MASK ~(BLOCK_SIZE - 1)
16 void * address
= NULL
;
18 posix_memalign(&address
, BLOCK_SIZE
, BLOCK_SIZE
);
20 TEST(((IPTR
)address
== ((IPTR
)address
& (IPTR
)BLOCK_MASK
)));