stos: hal: Add kernel processor control region
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -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 <stdef.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 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_ */
|
||||||
Reference in New Issue
Block a user