diff --git a/service/ptos/head/hal/kpcr.h b/service/ptos/head/hal/kpcr.h index 7ae2e1f..1c4d934 100644 --- a/service/ptos/head/hal/kpcr.h +++ b/service/ptos/head/hal/kpcr.h @@ -11,6 +11,7 @@ #include #include +#include #include #include @@ -21,12 +22,14 @@ * @Id: Logical processor ID assigned by us * @PoolRegion: Allocator pool region * @SchedQueue: Per-core scheduler queue + * @CurrentThread: Currently running thread * @Mcb: Machine core block */ typedef struct { USHORT Id; POOL_REGION PoolRegion; SCHED_QUEUE SchedQueue; + THREAD *CurrentThread; MCB Mcb; } KPCR;