Add: paging & test
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef SYSTEM_H
|
||||
#define SYSTEM_H
|
||||
|
||||
#include "../libc/stdint.h"
|
||||
|
||||
typedef int size_t;
|
||||
|
||||
void *memset(void *dest, char val, size_t count);
|
||||
@@ -13,6 +15,7 @@ struct regs
|
||||
unsigned int eip, cs, eflags, useresp, ss;
|
||||
};
|
||||
|
||||
void panic();
|
||||
void isr_install();
|
||||
void irq_install();
|
||||
void irq_install_handler(int irq, void (*handler)(struct regs *r));
|
||||
|
||||
Reference in New Issue
Block a user