rusefillc 2022-01-09 22:42:10 -05:00
parent 2742aa2092
commit 3c73ca8dab
1 changed files with 5 additions and 0 deletions

View File

@ -20,8 +20,13 @@
#define LUA_SYSTEM_HEAP 1
#endif // LUA_SYSTEM_HEAP
#ifndef EFI_HAS_EXT_SDRAM
static char luaUserHeap[LUA_USER_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 {
public: