stos/amd64: lapic: Calibrate the Local APIC timer
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -15,16 +15,18 @@
|
||||
* The machine-core block contains machine specific
|
||||
* processor information
|
||||
*
|
||||
* @ModelId: Processor model ID
|
||||
* @FamilyId: Processor family ID
|
||||
* @LapicBase: Local APIC MMIO base
|
||||
* @HasX2Apic: If set, x2APIC is supported
|
||||
* @ModelId: Processor model ID
|
||||
* @FamilyId: Processor family ID
|
||||
* @LapicBase: Local APIC MMIO base
|
||||
* @HasX2Apic: If set, x2APIC is supported
|
||||
* @LapicTmrFreq: Local APIC timer frequency
|
||||
*/
|
||||
typedef struct {
|
||||
UCHAR ModelId;
|
||||
USHORT FamilyId : 12;
|
||||
VOID *LapicBase;
|
||||
UCHAR HasX2Apic : 1;
|
||||
USIZE LapicTmrFreq;
|
||||
} MCB;
|
||||
|
||||
#endif /* !_MACHINE_MCB_H_ */
|
||||
|
||||
Reference in New Issue
Block a user