refactoring
This commit is contained in:
parent
8a1153a775
commit
3de124a1c6
|
@ -11,8 +11,16 @@
|
|||
#define TAG "LUA "
|
||||
|
||||
#if EFI_PROD_CODE || EFI_SIMULATOR
|
||||
static char luaUserHeap[10000];
|
||||
static char luaSystemHeap[10000];
|
||||
|
||||
#ifndef RAM_UNUSED_SIZE
|
||||
#define LUA_USER_HEAP 10000
|
||||
#endif
|
||||
#ifndef CCM_UNUSED_SIZE
|
||||
#define LUA_SYSTEM_HEAP 10000
|
||||
#endif
|
||||
|
||||
static char luaUserHeap[LUA_USER_HEAP];
|
||||
static char luaSystemHeap[LUA_SYSTEM_HEAP];
|
||||
|
||||
class Heap {
|
||||
memory_heap_t m_heap;
|
||||
|
|
Loading…
Reference in New Issue