ptos/amd64: ps: Add context switching stub
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <hal/page.h>
|
||||
#include <ps/thread.h>
|
||||
#include <machine/gdt.h>
|
||||
#include <machine/lapic.h>
|
||||
#include <mm/vm.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -79,3 +80,9 @@ HalThreadInit(THREAD *Thread, ULONG Flags, UPTR Ip)
|
||||
ThreadInitTcb(Thread, Tcb, Ip);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
VOID
|
||||
HalPrimeThreadTimer(ULONG Usec)
|
||||
{
|
||||
MdLapicTimerOneshotUs(Usec);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user