2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include <proto/exec.h>
8 void *krnAllocMemAligned(unsigned long size
, unsigned long align
)
13 mem
= AllocMem(size
+ align
, MEMF_PUBLIC
|MEMF_CLEAR
);
17 return (void *)(((IPTR
)mem
+ align
) & (~align
));