kern: add build-define for logging to iram ringbuffer

This commit is contained in:
Michael Scire authored and SciresM committed 2020-09-17 08:26:08 -07:00
1 parent 909397233c
commit 76957e502d
2 files changed
+52

No files matched your search

@@ -34,6 +34,8 @@ namespace ams::kern {
return KMemoryLayout::GetPhysicalMemoryRegionTree().Insert(0x70006200, 0x100, KMemoryRegionType_Uart | KMemoryRegionAttr_ShouldKernelMap);
#elif defined(MESOSPHERE_DEBUG_LOG_USE_UART_D)
return KMemoryLayout::GetPhysicalMemoryRegionTree().Insert(0x70006300, 0x100, KMemoryRegionType_Uart | KMemoryRegionAttr_ShouldKernelMap);
#elif defined(MESOSPHERE_DEBUG_LOG_USE_IRAM_RINGBUFFER)
return true;
#else
#error "Unknown Debug UART device!"
#endif