Skip to content
Snippets Groups Projects
Unverified Commit 30c984dc authored by Sebastian Valle's avatar Sebastian Valle Committed by GitHub
Browse files

Merge pull request #2488 from lioncash/static-fn

kernel/svc: Mark GetThreadList() and UnmapProcessCodeMemory() as internally linked
parents 256e5c95 d5cce864
No related branches found
No related tags found
No related merge requests found
...@@ -1255,8 +1255,8 @@ static ResultCode MapProcessCodeMemory(Core::System& system, Handle process_hand ...@@ -1255,8 +1255,8 @@ static ResultCode MapProcessCodeMemory(Core::System& system, Handle process_hand
return vm_manager.MapCodeMemory(dst_address, src_address, size); return vm_manager.MapCodeMemory(dst_address, src_address, size);
} }
ResultCode UnmapProcessCodeMemory(Core::System& system, Handle process_handle, u64 dst_address, static ResultCode UnmapProcessCodeMemory(Core::System& system, Handle process_handle,
u64 src_address, u64 size) { u64 dst_address, u64 src_address, u64 size) {
LOG_DEBUG(Kernel_SVC, LOG_DEBUG(Kernel_SVC,
"called. process_handle=0x{:08X}, dst_address=0x{:016X}, src_address=0x{:016X}, " "called. process_handle=0x{:08X}, dst_address=0x{:016X}, src_address=0x{:016X}, "
"size=0x{:016X}", "size=0x{:016X}",
...@@ -2183,8 +2183,8 @@ static ResultCode GetProcessList(Core::System& system, u32* out_num_processes, ...@@ -2183,8 +2183,8 @@ static ResultCode GetProcessList(Core::System& system, u32* out_num_processes,
return RESULT_SUCCESS; return RESULT_SUCCESS;
} }
ResultCode GetThreadList(Core::System& system, u32* out_num_threads, VAddr out_thread_ids, static ResultCode GetThreadList(Core::System& system, u32* out_num_threads, VAddr out_thread_ids,
u32 out_thread_ids_size, Handle debug_handle) { u32 out_thread_ids_size, Handle debug_handle) {
// TODO: Handle this case when debug events are supported. // TODO: Handle this case when debug events are supported.
UNIMPLEMENTED_IF(debug_handle != InvalidHandle); UNIMPLEMENTED_IF(debug_handle != InvalidHandle);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment