| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected