stos/amd64: cpu: Add Local APIC driver stub
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (c) 2026, Chloe M.
|
||||
* Provided under the BSD-3 clause.
|
||||
*
|
||||
* Description: Local APIC driver
|
||||
* Author: Chloe M.
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_LAPIC_H_
|
||||
#define _MACHINE_LAPIC_H_ 1
|
||||
|
||||
#include <stdef.h>
|
||||
#include <hal/kpcr.h>
|
||||
|
||||
/*
|
||||
* Initialize the Local APIC unit for the current
|
||||
* processor.
|
||||
*
|
||||
* @Kpcr: KPCR of current processor
|
||||
*/
|
||||
VOID MdLapicInit(KPCR *Kpcr);
|
||||
|
||||
#endif /* !_MACHINE_LAPIC_H_ */
|
||||
Reference in New Issue
Block a user