stos/amd64: lapic: Add helper to obtain Local APIC ID
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -64,6 +64,11 @@ typedef enum {
|
||||
*/
|
||||
VOID MdLapicInit(KPCR *Kpcr);
|
||||
|
||||
/*
|
||||
* Obtain the APIC ID of the current processor
|
||||
*/
|
||||
ULONG MdLapicId(VOID);
|
||||
|
||||
/*
|
||||
* Send an inter-processor interrupt
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user