feat: added basic ACPI support using LAI
This commit is contained in:
@@ -5,10 +5,13 @@
|
||||
#ifndef NEW_KERNEL_PIC_H
|
||||
#define NEW_KERNEL_PIC_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
void pic_init();
|
||||
void pic_init(uint8_t isr_offset);
|
||||
|
||||
void pic_set_mask(uint16_t mask);
|
||||
|
||||
void pic_eoi(bool slave);
|
||||
|
||||
#endif //NEW_KERNEL_PIC_H
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
int init_timer(uint32_t freq);
|
||||
int pit_init(uint32_t freq);
|
||||
|
||||
void print_current_tick();
|
||||
|
||||
uint32_t timer_get_tick();
|
||||
uint32_t pit_get_tick();
|
||||
|
||||
void sleep(uint32_t milliseconds);
|
||||
void pit_sleep(uint32_t milliseconds);
|
||||
|
||||
#endif //MY_KERNEL_TIMER_H
|
||||
Reference in New Issue
Block a user