From 6f126b676128e9a122f55a5c003ae30b3656ed88 Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Mon, 22 Jun 2026 07:21:05 +0000 Subject: [PATCH] stos: hal: Add kernel processor control region Signed-off-by: Chloe M. --- paw/stos/head/hal/kpcr.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 paw/stos/head/hal/kpcr.h diff --git a/paw/stos/head/hal/kpcr.h b/paw/stos/head/hal/kpcr.h new file mode 100644 index 0000000..8c81149 --- /dev/null +++ b/paw/stos/head/hal/kpcr.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2026, Chloe M. + * Provided under the BSD-3 clause. + * + * Description: Kernel processor control region + * Author: Chloe M. + */ + +#ifndef _HAL_KPCR_H_ +#define _HAL_KPCR_H_ 1 + +#include + +/* + * The kernel processor control region contains MI + * information about the processor. + * + * @CoreId: Processor core ID assigned by us + */ +typedef struct { + USHORT CoreId; +} KPCR; + +#endif /* !_HAL_KPCR_H_ */