From 382a3b2c81f5d80c7ad2f220d64d1199358fb688 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 10 May 2024 12:30:02 +0200 Subject: [PATCH] coreinit: Add __OSPhysicalToEffectiveCached and __OSPhysicalToEffectiveUncached --- include/coreinit/memorymap.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/coreinit/memorymap.h b/include/coreinit/memorymap.h index 85eea1886..261a0e555 100644 --- a/include/coreinit/memorymap.h +++ b/include/coreinit/memorymap.h @@ -26,6 +26,12 @@ typedef enum OSMemoryMapMode uint32_t OSEffectiveToPhysical(uint32_t virtualAddress); +uint32_t +__OSPhysicalToEffectiveCached(uint32_t physicalAddress); + +uint32_t +__OSPhysicalToEffectiveUncached(uint32_t physicalAddress); + BOOL OSIsAddressValid(uint32_t virtualAddress);