mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
initial hpet support
for now only a few wait functions are supported
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
#include <kernel/initrd.h>
|
||||
#include <arch/spinlock.h>
|
||||
#include <stdio.h>
|
||||
#include <arch/pci.h>
|
||||
#include <arch/hpet.h>
|
||||
#include <arch/smp.h>
|
||||
|
||||
static volatile struct limine_terminal_request liminettyr = {
|
||||
.id = LIMINE_TERMINAL_REQUEST,
|
||||
@@ -67,6 +70,8 @@ void kmain(){
|
||||
apic_lapicinit();
|
||||
|
||||
pci_enumerate();
|
||||
|
||||
hpet_init();
|
||||
|
||||
smp_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user