apic: local apic initialisation

This commit is contained in:
Matheus
2023-04-21 21:23:11 -03:00
parent 5236c195b4
commit 89c867fc3b
4 changed files with 75 additions and 0 deletions
+1
View File
@@ -2,5 +2,6 @@
#define _APIC_H
void arch_apic_init();
void arch_apic_initap();
#endif
+1
View File
@@ -15,6 +15,7 @@ typedef struct {
long id;
isr_t isr[MAX_ISR_COUNT];
vmmcontext_t *vmmctx;
int acpiid;
} cpu_t;
static inline cpu_t *_cpu() {