mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
Add note about default processor ID
This commit is contained in:
parent
5b8bb12860
commit
8a435cc36b
1 changed files with 2 additions and 1 deletions
|
@ -478,6 +478,7 @@ void Kernel::getCurrentProcessorNumber() {
|
||||||
|
|
||||||
// Until we properly implement per-core schedulers, return whatever processor ID passed to svcCreateThread
|
// Until we properly implement per-core schedulers, return whatever processor ID passed to svcCreateThread
|
||||||
switch (id) {
|
switch (id) {
|
||||||
|
// TODO: This is picked from exheader
|
||||||
case ProcessorID::Default:
|
case ProcessorID::Default:
|
||||||
ret = static_cast<s32>(ProcessorID::AppCore);
|
ret = static_cast<s32>(ProcessorID::AppCore);
|
||||||
break;
|
break;
|
||||||
|
@ -494,7 +495,7 @@ void Kernel::getCurrentProcessorNumber() {
|
||||||
Helpers::warn("GetCurrentProcessorNumber: Thread not running on appcore\n");
|
Helpers::warn("GetCurrentProcessorNumber: Thread not running on appcore\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
regs[0] = ret;
|
regs[0] = static_cast<u32>(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Kernel::exitThread() {
|
void Kernel::exitThread() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue