fd30fc5e04
Signed-off-by: Chloe M. <chloe@mensia.org>
29 lines
529 B
C
29 lines
529 B
C
/*
|
|
* Copyright (c) 2026, Chloe M.
|
|
* Provided under the BSD-3 clause.
|
|
*
|
|
* Description: Machine core block
|
|
* Author: Chloe M.
|
|
*/
|
|
|
|
#ifndef _MACHINE_MCB_H_
|
|
#define _MACHINE_MCB_H_ 1
|
|
|
|
#include <stdef.h>
|
|
|
|
/*
|
|
* The machine-core block contains machine specific
|
|
* processor information
|
|
*
|
|
* @ModelId: Processor model ID
|
|
* @FamilyId: Processor family ID
|
|
* @LapicBase: Local APIC MMIO base
|
|
*/
|
|
typedef struct {
|
|
UCHAR ModelId;
|
|
USHORT FamilyId : 12;
|
|
VOID *LapicBase;
|
|
} MCB;
|
|
|
|
#endif /* !_MACHINE_MCB_H_ */
|