diff options
author | Sebastian Valle <sebastianvalle@uninorte.edu.co> | 2019-05-19 15:43:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-19 15:43:47 +0200 |
commit | 30c984dc977ee75b4d528cc2cd6cd0792d250236 (patch) | |
tree | 0a4eb11348638881d62dc41ee8471641cf5fa10a /src/core/hle | |
parent | Merge pull request #2493 from lioncash/translate (diff) | |
parent | kernel/svc: Mark GetThreadList() and UnmapProcessCodeMemory() as internally linked (diff) | |
download | yuzu-30c984dc977ee75b4d528cc2cd6cd0792d250236.tar yuzu-30c984dc977ee75b4d528cc2cd6cd0792d250236.tar.gz yuzu-30c984dc977ee75b4d528cc2cd6cd0792d250236.tar.bz2 yuzu-30c984dc977ee75b4d528cc2cd6cd0792d250236.tar.lz yuzu-30c984dc977ee75b4d528cc2cd6cd0792d250236.tar.xz yuzu-30c984dc977ee75b4d528cc2cd6cd0792d250236.tar.zst yuzu-30c984dc977ee75b4d528cc2cd6cd0792d250236.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 2dcf174c5..c6fdd4e4f 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -1255,8 +1255,8 @@ static ResultCode MapProcessCodeMemory(Core::System& system, Handle process_hand return vm_manager.MapCodeMemory(dst_address, src_address, size); } -ResultCode UnmapProcessCodeMemory(Core::System& system, Handle process_handle, u64 dst_address, - u64 src_address, u64 size) { +static ResultCode UnmapProcessCodeMemory(Core::System& system, Handle process_handle, + u64 dst_address, u64 src_address, u64 size) { LOG_DEBUG(Kernel_SVC, "called. process_handle=0x{:08X}, dst_address=0x{:016X}, src_address=0x{:016X}, " "size=0x{:016X}", @@ -2183,8 +2183,8 @@ static ResultCode GetProcessList(Core::System& system, u32* out_num_processes, return RESULT_SUCCESS; } -ResultCode GetThreadList(Core::System& system, u32* out_num_threads, VAddr out_thread_ids, - u32 out_thread_ids_size, Handle debug_handle) { +static ResultCode GetThreadList(Core::System& system, u32* out_num_threads, VAddr out_thread_ids, + u32 out_thread_ids_size, Handle debug_handle) { // TODO: Handle this case when debug events are supported. UNIMPLEMENTED_IF(debug_handle != InvalidHandle); |