[Stage1] Add IRQ remapping [Stage1] Handle IRQ0 gracefully [Stage1] Add error output functions
21 lines
391 B
C
21 lines
391 B
C
#include "../os3_common/datatypes.h"
|
|
#include "../os3_common/packing.h"
|
|
#include "include/screen.h"
|
|
#include "include/interrupts.h"
|
|
#include "include/pic_8259.h"
|
|
|
|
int main() {
|
|
screen_clear();
|
|
screen_write_string("OS3 Booted into stage 1!\n", 0);
|
|
screen_write_string("Looking for stage 2....\n", 0);
|
|
setup_interrupts();
|
|
|
|
setup_pic();
|
|
|
|
enable_interrupts();
|
|
|
|
while(1) {
|
|
}
|
|
|
|
return 0;
|
|
}
|