MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / Tick

Function Tick

Kernel/src/arch/x86_64/scheduler.cpp:486–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484 }
485
486 void Tick(regs64_t* r){
487 if(!schedulerReady) return;
488
489 APIC::Local::SendIPI(0, ICR_DSH_OTHER, ICR_MESSAGE_TYPE_FIXED, IPI_SCHEDULE);
490
491 Schedule(nullptr, r);
492 }
493
494 void Schedule(void* data, regs64_t* r){
495 CPU* cpu = GetCPULocal();

Callers 1

HandlerFunction · 0.85

Calls 2

SendIPIFunction · 0.85
ScheduleFunction · 0.85

Tested by

no test coverage detected