Major refactor of codebase
This commit is contained in:
parent
dbc6dc0d7c
commit
f478f8d38b
125 changed files with 195 additions and 29519 deletions
|
|
@ -1,24 +0,0 @@
|
|||
#include "../sys/acpi.h"
|
||||
#include "../hal/ioapic.h"
|
||||
#include "../hal/apic.h"
|
||||
#include "../drivers/pmt.h"
|
||||
#include "timer.h"
|
||||
#include <kprint.h>
|
||||
#include <neobbo.h>
|
||||
|
||||
/* Determines which timer will be used for calibration */
|
||||
int calibration_timer = -1;
|
||||
|
||||
void timer_init(void){
|
||||
if(pmt_init() == -1){
|
||||
klog(__func__, "PMT Timer not found, falling back");
|
||||
/* Fall back to PIT */
|
||||
}else{
|
||||
calibration_timer = PMT;
|
||||
}
|
||||
}
|
||||
|
||||
void sleep(int ms){
|
||||
/* Eventually fix this */
|
||||
apic_sleep(ms);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue