diff options
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 171bbd956..36ea23cd9 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -371,6 +371,18 @@ static ResultCode GetInfo(u64* result, u64 info_id, u64 handle, u64 info_sub_id) | |||
| 371 | return RESULT_SUCCESS; | 371 | return RESULT_SUCCESS; |
| 372 | } | 372 | } |
| 373 | 373 | ||
| 374 | /// Sets the thread activity | ||
| 375 | static ResultCode SetThreadActivity(Handle handle, u32 unknown) { | ||
| 376 | LOG_WARNING(Kernel_SVC, "(STUBBED) called, handle=0x%08X, unknown=0x%08X", handle, unknown); | ||
| 377 | return RESULT_SUCCESS; | ||
| 378 | } | ||
| 379 | |||
| 380 | /// Gets the thread context | ||
| 381 | static ResultCode GetThreadContext(Handle handle, VAddr addr) { | ||
| 382 | LOG_WARNING(Kernel_SVC, "(STUBBED) called, handle=0x%08X, addr=0x%" PRIx64, handle, addr); | ||
| 383 | return RESULT_SUCCESS; | ||
| 384 | } | ||
| 385 | |||
| 374 | /// Gets the priority for the specified thread | 386 | /// Gets the priority for the specified thread |
| 375 | static ResultCode GetThreadPriority(u32* priority, Handle handle) { | 387 | static ResultCode GetThreadPriority(u32* priority, Handle handle) { |
| 376 | const SharedPtr<Thread> thread = g_handle_table.Get<Thread>(handle); | 388 | const SharedPtr<Thread> thread = g_handle_table.Get<Thread>(handle); |
| @@ -853,8 +865,8 @@ static const FunctionDef SVC_Table[] = { | |||
| 853 | {0x2F, nullptr, "GetLastThreadInfo"}, | 865 | {0x2F, nullptr, "GetLastThreadInfo"}, |
| 854 | {0x30, nullptr, "GetResourceLimitLimitValue"}, | 866 | {0x30, nullptr, "GetResourceLimitLimitValue"}, |
| 855 | {0x31, nullptr, "GetResourceLimitCurrentValue"}, | 867 | {0x31, nullptr, "GetResourceLimitCurrentValue"}, |
| 856 | {0x32, nullptr, "SetThreadActivity"}, | 868 | {0x32, SvcWrap<SetThreadActivity>, "SetThreadActivity"}, |
| 857 | {0x33, nullptr, "GetThreadContext"}, | 869 | {0x33, SvcWrap<GetThreadContext>, "GetThreadContext"}, |
| 858 | {0x34, nullptr, "Unknown"}, | 870 | {0x34, nullptr, "Unknown"}, |
| 859 | {0x35, nullptr, "Unknown"}, | 871 | {0x35, nullptr, "Unknown"}, |
| 860 | {0x36, nullptr, "Unknown"}, | 872 | {0x36, nullptr, "Unknown"}, |