7cb153f98c
Signed-off-by: Chloe M. <chloe@mensia.org>
32 lines
539 B
C
32 lines
539 B
C
/*
|
|
* 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 <ptdef.h>
|
|
|
|
/*
|
|
* The kernel processor control region contains MI
|
|
* processor information.
|
|
*
|
|
* @Id: Logical processor ID assigned by us
|
|
*/
|
|
typedef struct {
|
|
USHORT Id;
|
|
} KPCR;
|
|
|
|
/*
|
|
* Phase 1 processor initialization
|
|
*
|
|
* @Kpcr: KPCR of processor to initialize
|
|
*/
|
|
VOID HalKpcrP1Init(KPCR *Kpcr);
|
|
|
|
#endif /* !_HAL_KPCR_H_ */
|