Added warning about using mem_malloc in sys_arch.c, cold case bug #1913 .

This commit is contained in:
christiaans 2006-10-24 09:10:26 +00:00
parent 4e583dab2e
commit 5fcf6418cf

View File

@ -143,6 +143,13 @@ to be implemented as well:
more information. This function is only required if your port is supporting
an operating system.
Note:
Be carefull with using mem_malloc() in sys_arch. When malloc() refers to
mem_malloc() you can run into a circular function call problem. In mem.c
mem_init() tries to allcate a semaphore using mem_malloc, which of course
can't be performed when sys_arch uses mem_malloc.
-------------------------------------------------------------------------------
Additional files required for the "OS support" emulation layer:
-------------------------------------------------------------------------------