stos/amd64: Impl phase 1 processor init
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -10,15 +10,25 @@
|
||||
#define _HAL_KPCR_H_ 1
|
||||
|
||||
#include <stdef.h>
|
||||
#include <machine/mcb.h>
|
||||
|
||||
/*
|
||||
* The kernel processor control region contains MI
|
||||
* information about the processor.
|
||||
*
|
||||
* @CoreId: Processor core ID assigned by us
|
||||
* @Mcb: Machine-core block
|
||||
*/
|
||||
typedef struct {
|
||||
USHORT CoreId;
|
||||
MCB Mcb;
|
||||
} KPCR;
|
||||
|
||||
/*
|
||||
* Phase 1 initialization of processor
|
||||
*
|
||||
* @Kpcr: KPCR to initialize
|
||||
*/
|
||||
VOID HalKpcrP1Init(KPCR *Kpcr);
|
||||
|
||||
#endif /* !_HAL_KPCR_H_ */
|
||||
|
||||
Reference in New Issue
Block a user