AllocSysMemory and malloc

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
methos3
Posts: 89
Joined: Fri Feb 01, 2008 3:21 am

AllocSysMemory and malloc

Post by methos3 »

What is the diffeerence between AllocSysMemory()and malloc() for the IOP?
I couldn't use the malloc(), it says undefined reference for malloc, ever since I include "alloc.h".
Using AllocSysMemory() instead, I can export the bytes allocated to the EE using RPC, or I had to use malloc (that I can't put it to work).

Thanks
Post Reply