summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar MerryMage2018-01-16 18:05:21 +0000
committerGravatar MerryMage2018-01-16 18:05:21 +0000
commite35644c00533c797888a23420aae90b07e0da184 (patch)
tree4b5464207a2bf8355cd7b2b732fc3c30d3524d24 /src/core/hle/kernel/svc.cpp
parenttravis: Use more recent cmake on macOS (diff)
downloadyuzu-e35644c00533c797888a23420aae90b07e0da184.tar.gz
yuzu-e35644c00533c797888a23420aae90b07e0da184.tar.xz
yuzu-e35644c00533c797888a23420aae90b07e0da184.zip
clang-format
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 9c60576c1..6b3fd13c9 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -255,9 +255,8 @@ static ResultCode CancelSynchronization(Handle thread_handle) {
255/// Attempts to locks a mutex, creating it if it does not already exist 255/// Attempts to locks a mutex, creating it if it does not already exist
256static ResultCode LockMutex(Handle holding_thread_handle, VAddr mutex_addr, 256static ResultCode LockMutex(Handle holding_thread_handle, VAddr mutex_addr,
257 Handle requesting_thread_handle) { 257 Handle requesting_thread_handle) {
258 LOG_TRACE(Kernel_SVC, 258 LOG_TRACE(Kernel_SVC, "called holding_thread_handle=0x%08X, mutex_addr=0x%llx, "
259 "called holding_thread_handle=0x%08X, mutex_addr=0x%llx, " 259 "requesting_current_thread_handle=0x%08X",
260 "requesting_current_thread_handle=0x%08X",
261 holding_thread_handle, mutex_addr, requesting_thread_handle); 260 holding_thread_handle, mutex_addr, requesting_thread_handle);
262 261
263 SharedPtr<Thread> holding_thread = g_handle_table.Get<Thread>(holding_thread_handle); 262 SharedPtr<Thread> holding_thread = g_handle_table.Get<Thread>(holding_thread_handle);
@@ -522,9 +521,8 @@ static ResultCode CreateThread(Handle* out_handle, VAddr entry_point, u64 arg, V
522 521
523 Core::System::GetInstance().PrepareReschedule(); 522 Core::System::GetInstance().PrepareReschedule();
524 523
525 LOG_TRACE(Kernel_SVC, 524 LOG_TRACE(Kernel_SVC, "called entrypoint=0x%08X (%s), arg=0x%08X, stacktop=0x%08X, "
526 "called entrypoint=0x%08X (%s), arg=0x%08X, stacktop=0x%08X, " 525 "threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X",
527 "threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X",
528 entry_point, name.c_str(), arg, stack_top, priority, processor_id, *out_handle); 526 entry_point, name.c_str(), arg, stack_top, priority, processor_id, *out_handle);
529 527
530 return RESULT_SUCCESS; 528 return RESULT_SUCCESS;