MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / Startup

Function Startup

projects/uSystem/source/main.cpp:1577–1589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1575 }
1576
1577 void Startup() {
1578 // libstratosphere heap: used for malloc/free/new/delete and everything using them
1579 init::InitializeAllocator(g_LibstratosphereHeap, LibstratosphereHeapSize);
1580
1581 // libnx heap: used for internal malloc_r/etc called by stdlib stuff
1582 fake_heap_start = g_LibnxHeap;
1583 fake_heap_end = fake_heap_start + LibnxHeapSize;
1584
1585 g_MenuMessageQueue = new std::queue<ul::smi::MenuMessageContext>();
1586 g_ApplicationVerifyContexts = new std::vector<ApplicationVerifyContext>();
1587
1588 os::SetThreadNamePointer(os::GetCurrentThread(), "ul.system.Main");
1589 }
1590
1591 }
1592

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected