feat: started pci driver structure and ide driver structure

This commit is contained in:
2021-02-03 22:50:39 +01:00
parent e8816cfdfd
commit 706147c123
9 changed files with 373 additions and 1 deletions

View File

@@ -9,6 +9,13 @@ void k_wait_for_interrupt() {
__asm__ __volatile__("hlt;");
}
void k_panics(const char* msg) {
kprint(msg);
kprint("PANIC!");
__asm__ __volatile__("cli;"
"hlt;");
}
void k_panic() {
kprint("PANIC!");
__asm__ __volatile__("cli;"