diff options
author | Merry <git@mary.rs> | 2023-02-21 22:36:20 +0100 |
---|---|---|
committer | Merry <git@mary.rs> | 2023-02-21 22:39:17 +0100 |
commit | c9678bda2440423ec55d420aedd9a11d79834649 (patch) | |
tree | a08342651979d1eb652053efe35faa0136fbfab0 /src/core/hle/kernel/svc/svc_address_translation.cpp | |
parent | Merge pull request #9834 from german77/reverted (diff) | |
download | yuzu-c9678bda2440423ec55d420aedd9a11d79834649.tar yuzu-c9678bda2440423ec55d420aedd9a11d79834649.tar.gz yuzu-c9678bda2440423ec55d420aedd9a11d79834649.tar.bz2 yuzu-c9678bda2440423ec55d420aedd9a11d79834649.tar.lz yuzu-c9678bda2440423ec55d420aedd9a11d79834649.tar.xz yuzu-c9678bda2440423ec55d420aedd9a11d79834649.tar.zst yuzu-c9678bda2440423ec55d420aedd9a11d79834649.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/svc/svc_address_translation.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/svc/svc_address_translation.cpp b/src/core/hle/kernel/svc/svc_address_translation.cpp index c25e144cd..e65a11cda 100644 --- a/src/core/hle/kernel/svc/svc_address_translation.cpp +++ b/src/core/hle/kernel/svc/svc_address_translation.cpp @@ -12,7 +12,7 @@ Result QueryPhysicalAddress(Core::System& system, lp64::PhysicalMemoryInfo* out_ R_THROW(ResultNotImplemented); } -Result QueryIoMapping(Core::System& system, uintptr_t* out_address, uintptr_t* out_size, +Result QueryIoMapping(Core::System& system, uint64_t* out_address, uint64_t* out_size, uint64_t physical_address, uint64_t size) { UNIMPLEMENTED(); R_THROW(ResultNotImplemented); @@ -23,7 +23,7 @@ Result QueryPhysicalAddress64(Core::System& system, lp64::PhysicalMemoryInfo* ou R_RETURN(QueryPhysicalAddress(system, out_info, address)); } -Result QueryIoMapping64(Core::System& system, uintptr_t* out_address, uintptr_t* out_size, +Result QueryIoMapping64(Core::System& system, uint64_t* out_address, uint64_t* out_size, uint64_t physical_address, uint64_t size) { R_RETURN(QueryIoMapping(system, out_address, out_size, physical_address, size)); } @@ -41,10 +41,10 @@ Result QueryPhysicalAddress64From32(Core::System& system, ilp32::PhysicalMemoryI R_SUCCEED(); } -Result QueryIoMapping64From32(Core::System& system, uintptr_t* out_address, uintptr_t* out_size, +Result QueryIoMapping64From32(Core::System& system, uint64_t* out_address, uint64_t* out_size, uint64_t physical_address, uint32_t size) { - R_RETURN(QueryIoMapping(system, reinterpret_cast<uintptr_t*>(out_address), - reinterpret_cast<uintptr_t*>(out_size), physical_address, size)); + R_RETURN(QueryIoMapping(system, reinterpret_cast<uint64_t*>(out_address), + reinterpret_cast<uint64_t*>(out_size), physical_address, size)); } } // namespace Kernel::Svc |