You've already forked aurora
mirror of
https://github.com/CraftyBoss/aurora.git
synced 2026-04-01 08:50:13 -07:00
* OS memory start OSInit() MEM1 size configurable via AuroraConfiguration Fancy guard pages (who knows if it'll be useful) * OSGetTime() and OSGetTick() * Fix OSPhysicalToCached etc for 64-bit pointers * Specify memory size in OS boot info Used by TP at least * Fix MEM1Start/MEM1End definition oops * Implement some OS arena functions * DEBUG -> NDEBUG * Implement memory translation functions I decided to remove the macros from the header given they're very unlikely to matter perf wise and it reduces code duplication. There's no distinction between cached and uncached. Physical is relative to MEM1. * Fix symbol mismatches from forgetting to include the header * Implement OSReport and similar logging functions * Fix OSBaseAddress Ugh * Implement OSGetPhysicalMemSize * Fix usage of static for global variables * Remove ../ prefixes from OS CMake file CLion did this * Remaining headers needed for TP to build * Rider's "Unversioned Files" will keep trolling me * Remove TP-specific OSReport functions * Hardcode OS_BUS_CLOCK in os.h TP has it referenced in an initializer, so relying on MEM1 being initialized is impossible. * Import TP ARAM emulation code * Guard against double OSInit() calls. --------- Co-authored-by: Luke Street <luke@street.dev>