diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-02-22 00:58:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 00:58:04 +0100 |
commit | 11f6bb153251462bf55afa59ba99b98f9c9ecaa1 (patch) | |
tree | 22a1c190d8ce59d7cb7599c1a8cf6dfbdfe53eea /src/core/hle/kernel/svc/svc_address_translation.cpp | |
parent | Merge pull request #9841 from abouvier/httplib-update (diff) | |
parent | svc: Fix type consistency (exposed on macOS) (diff) | |
download | yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar.gz yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar.bz2 yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar.lz yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar.xz yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar.zst yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.zip |
Diffstat (limited to 'src/core/hle/kernel/svc/svc_address_translation.cpp')
-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 |