feat: added basic ACPI support using LAI

This commit is contained in:
2021-08-30 19:56:36 +02:00
parent 462dd90890
commit e37222c346
17 changed files with 729 additions and 44 deletions

18
include/myke/cpu/pit.h Normal file
View File

@@ -0,0 +1,18 @@
//
// Created by rick on 9/22/19.
//
#ifndef MY_KERNEL_TIMER_H
#define MY_KERNEL_TIMER_H
#include <sys/types.h>
int pit_init(uint32_t freq);
void print_current_tick();
uint32_t pit_get_tick();
void pit_sleep(uint32_t milliseconds);
#endif //MY_KERNEL_TIMER_H