1
0
Fork 0
forked from suyu/suyu

hle: kernel: Initialize preemption task after schedulers.

- Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
This commit is contained in:
bunnei 2021-03-27 10:04:13 -07:00
parent 65774084fd
commit cb7f2e5616

View file

@ -68,9 +68,9 @@ struct KernelCore::Impl {
InitializePhysicalCores(); InitializePhysicalCores();
InitializeSystemResourceLimit(kernel, system); InitializeSystemResourceLimit(kernel, system);
InitializeMemoryLayout(); InitializeMemoryLayout();
InitializePreemption(kernel);
InitializeSchedulers(); InitializeSchedulers();
InitializeSuspendThreads(); InitializeSuspendThreads();
InitializePreemption(kernel);
} }
void InitializeCores() { void InitializeCores() {