FreeCalypso > hg > freecalypso-sw
changeset 505:19afa1be1d30
osx.c: int_osx_alloc_mem() done
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 01 Jul 2014 19:26:54 +0000 |
parents | 7b2ceea92a2e |
children | 65c9bd2eed85 |
files | gsm-fw/gpf/osx/osx.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/gpf/osx/osx.c Tue Jul 01 19:08:20 2014 +0000 +++ b/gsm-fw/gpf/osx/osx.c Tue Jul 01 19:26:54 2014 +0000 @@ -164,3 +164,13 @@ prim_ptr->SigP = (DummyStruct *)(prim_ptr + 1); return(prim_ptr); } + +void * +int_osx_alloc_mem(int caller, unsigned long len) +{ + void *mem_ptr; + + DMALLOC(mem_ptr, len); + TRACE_ASSERT(mem_ptr != 0); + return(mem_ptr); +}