ptos/amd64: ps: Add context switching stub
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -9,11 +9,14 @@
|
||||
#include <ptdef.h>
|
||||
#include <ke/bpal.h>
|
||||
#include <ke/bugcheck.h>
|
||||
#include <ke/sched.h>
|
||||
#include <ex/trace.h>
|
||||
#include <ps/process.h>
|
||||
#include <mm/pm.h>
|
||||
#include <mm/vm.h>
|
||||
#include <hal/prim.h>
|
||||
#include <hal/serial.h>
|
||||
#include <hal/thread.h>
|
||||
#include <hal/kpcr.h>
|
||||
#include <drivers/bootvid/fbio.h>
|
||||
#include <drivers/acpi/acpi.h>
|
||||
@@ -95,4 +98,11 @@ KiKernelInit(VOID)
|
||||
|
||||
/* Initialize the root process */
|
||||
InitializeRootProcess();
|
||||
|
||||
/* Prime the scheduler timer */
|
||||
HalPrimeThreadTimer(SCHED_MIN_QUANTUM);
|
||||
|
||||
for (;;) {
|
||||
HalCpuSpinWait();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user