diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-09 11:14:35 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-09 11:14:35 -0500 |
commit | 86e07124adcbe0ec8f35740d3ac2d516dc07f771 (patch) | |
tree | 8c54bba8fe39bf86138d7c7468c0ae9e9f7f8fd7 /src/core/hle/svc.cpp | |
parent | e5cf344155cd3b20c47ae62afc8c0d66998cdea9 (diff) | |
parent | 63be6aaadd7860dd7be587c8196eb1063b0a6b3c (diff) |
Merge pull request #436 from kevinhartman/system-core
Warn if a new thread is intended to be run on the system CPU core
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r-- | src/core/hle/svc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index cdcdea36d..051f2d2c6 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp @@ -239,6 +239,11 @@ static Result CreateThread(u32 priority, u32 entry_point, u32 arg, u32 stack_top "threadpriority=0x%08X, processorid=0x%08X : created handle=0x%08X", entry_point, name.c_str(), arg, stack_top, priority, processor_id, thread); + if (THREADPROCESSORID_1 == processor_id) { + LOG_WARNING(Kernel_SVC, + "thread designated for system CPU core (UNIMPLEMENTED) will be run with app core scheduling"); + } + return 0; } |