summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar David Marcec2018-01-16 14:23:53 -0800
committerGravatar David Marcec2018-01-16 14:23:53 -0800
commitbb7221c5d55bc42e63e72d7779709d2193c37b53 (patch)
treea791c888ccad2fa8f12894135eacc78e5672ef4d /src/core/hle/kernel/svc.cpp
parentimplemented more of ISelfController and IApplicationFunctions (diff)
downloadyuzu-bb7221c5d55bc42e63e72d7779709d2193c37b53.tar.gz
yuzu-bb7221c5d55bc42e63e72d7779709d2193c37b53.tar.xz
yuzu-bb7221c5d55bc42e63e72d7779709d2193c37b53.zip
SetThreadCoreMask stub, time to implement fsp
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 2f1b79f32..eb42123dc 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -721,6 +721,11 @@ static ResultCode CreateTransferMemory(Handle* handle, VAddr addr, u64 size, u32
721 return RESULT_SUCCESS; 721 return RESULT_SUCCESS;
722} 722}
723 723
724static ResultCode SetThreadCoreMask(u64, u64, u64) {
725 LOG_WARNING(Kernel_SVC, "(STUBBED) called");
726 return RESULT_SUCCESS;
727}
728
724namespace { 729namespace {
725struct FunctionDef { 730struct FunctionDef {
726 using Func = void(); 731 using Func = void();
@@ -747,7 +752,7 @@ static const FunctionDef SVC_Table[] = {
747 {0x0C, SvcWrap<GetThreadPriority>, "GetThreadPriority"}, 752 {0x0C, SvcWrap<GetThreadPriority>, "GetThreadPriority"},
748 {0x0D, SvcWrap<SetThreadPriority>, "SetThreadPriority"}, 753 {0x0D, SvcWrap<SetThreadPriority>, "SetThreadPriority"},
749 {0x0E, nullptr, "GetThreadCoreMask"}, 754 {0x0E, nullptr, "GetThreadCoreMask"},
750 {0x0F, nullptr, "SetThreadCoreMask"}, 755 {0x0F, SvcWrap<SetThreadCoreMask>, "SetThreadCoreMask"},
751 {0x10, SvcWrap<GetCurrentProcessorNumber>, "GetCurrentProcessorNumber"}, 756 {0x10, SvcWrap<GetCurrentProcessorNumber>, "GetCurrentProcessorNumber"},
752 {0x11, nullptr, "SignalEvent"}, 757 {0x11, nullptr, "SignalEvent"},
753 {0x12, nullptr, "ClearEvent"}, 758 {0x12, nullptr, "ClearEvent"},