kern: revamp KMemoryRegionType to better encode derivation hierarchies

This commit is contained in:
Michael Scire authored and SciresM committed 2020-09-07 10:43:35 -07:00
1 parent d50c7c5c79
commit 1983f86875
17 files changed
+746 -426

No files matched your search

@@ -50,7 +50,7 @@ namespace ams::kern {
bool KDebugLogImpl::Initialize() {
/* Set the uart register base address. */
g_uart_address = KMemoryLayout::GetUartAddress();
g_uart_address = KMemoryLayout::GetDeviceVirtualAddress(KMemoryRegionType_Uart);
/* Parameters for uart. */
constexpr u32 BaudRate = 115200;