KernelShutdownThread stub

This commit is contained in:
Alex
2022-10-22 19:05:39 +03:00
parent 9d4fb06f4c
commit 84b9f6bdf0
3 changed files with 17 additions and 0 deletions

View File

@ -27,6 +27,8 @@ namespace Tasking
{
extern "C" void OneShot(int TimeSlice)
{
if (TimeSlice == 0)
TimeSlice = 10;
#if defined(__amd64__)
((APIC::Timer *)Interrupts::apicTimer[GetCurrentCPU()->ID])->OneShot(CPU::x64::IRQ16, TimeSlice);
#elif defined(__i386__)