expand symbol table (#1534)

* expand symbol table

* ah!

* fix minor errors

* fix kernel test

* fix another test
This commit is contained in:
ManDude
2022-06-24 23:27:00 +01:00
committed by GitHub
parent 628ce47b2e
commit 67c815bf18
6 changed files with 12 additions and 11 deletions
+2 -1
View File
@@ -304,7 +304,8 @@ void setup_hack_heaps(void* mem, int size) {
init_crc();
// create a fake symbol table
auto symbol_table = kmalloc(kglobalheap, 0x20000, KMALLOC_MEMSET, "symbol-table").cast<u32>();
auto symbol_table =
kmalloc(kglobalheap, SYM_TABLE_MEM_SIZE, KMALLOC_MEMSET, "symbol-table").cast<u32>();
s7 = symbol_table + (GOAL_MAX_SYMBOLS / 2) * 8 + BASIC_OFFSET;
SymbolTable2 = symbol_table + BASIC_OFFSET;
LastSymbol = symbol_table + 0xff00;