00001 /*===-- runtime/crt_alloc.c -----------------------------------------------=== 00002 * 00003 * This file is distributed under the MIT license. See LICENSE.txt for details. 00004 * 00005 * Copyright (C) 2010, Stephen Wilson 00006 * 00007 *===----------------------------------------------------------------------===*/ 00008 00009 /* 00010 * This file defines the interface to Comma's memory management routines. 00011 */ 00012 #include "comma/runtime/commart.h" 00013 00014 #include <stdlib.h> 00015 00016 void *_comma_alloc(uint64_t bytes, uint32_t align) 00017 { 00018 // Ingnore the alignment. 00019 return malloc(bytes); 00020 } 00021