4 #include <exec/types.h>
6 #define BLOCK_SIZE (64 * 4096)
7 #define BLOCK_MASK ~(BLOCK_SIZE - 1)
11 void * address
= NULL
;
13 posix_memalign(&address
, BLOCK_SIZE
, BLOCK_SIZE
);
15 TEST(((IPTR
)address
== ((IPTR
)address
& (IPTR
)BLOCK_MASK
)));