rusefillc 2022-01-09 22:42:10 -05:00
parent cc3b4d4bf6
commit 86c8dcf011
1 changed files with 5 additions and 0 deletions

View File

@ -20,8 +20,13 @@
#define LUA_SYSTEM_HEAP 1 #define LUA_SYSTEM_HEAP 1
#endif // LUA_SYSTEM_HEAP #endif // LUA_SYSTEM_HEAP
#ifndef EFI_HAS_EXT_SDRAM
static char luaUserHeap[LUA_USER_HEAP]; static char luaUserHeap[LUA_USER_HEAP];
static char luaSystemHeap[LUA_SYSTEM_HEAP]; static char luaSystemHeap[LUA_SYSTEM_HEAP];
#else
static char luaUserHeap[LUA_USER_HEAP] SDRAM_OPTIONAL;
static char luaSystemHeap[LUA_SYSTEM_HEAP] SDRAM_OPTIONAL;
#endif
class Heap { class Heap {
public: public: