Guest User

init.c

a guest
May 14th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include "console.h"
  2. #include "intr.h"
  3.  
  4. void init(void) {
  5. clrscr();
  6. kprintf("was geeeeeht\n%%\n%d\n%p\n%t", 42, 1337);
  7. init_gdt();
  8. init_intr();
  9. asm volatile("int $0x0");
  10. }
Advertisement
Add Comment
Please, Sign In to add comment