stos/amd64: cpu: Save KPCR in IA32_GS_BASE

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-24 05:49:59 +00:00
parent 5beb6f1d62
commit 9b1f4dde43
2 changed files with 26 additions and 0 deletions
+6
View File
@@ -41,4 +41,10 @@ VOID HalKpcrP1Init(KPCR *Kpcr);
*/
VOID HalKpcrP2Init(KPCR *Kpcr);
/*
* Obtain the KPCR for the current processor, it is never to
* be of a NULL value.
*/
KPCR *HalKpcrCurrent(VOID);
#endif /* !_HAL_KPCR_H_ */