From 0bdbce2354cb68b0613bde8e8b6bc2b6a2ffb136 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..3630c10f8 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 effectiveAddress); + +uint32_t +__OSPhysicalToEffectiveUncached(uint32_t effectiveAddress); + BOOL OSIsAddressValid(uint32_t virtualAddress);