Commit c450d6c0 by triazo

Call from kernel

parent f070d281
Showing with 5 additions and 0 deletions
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "gdt.h" #include "gdt.h"
#include "idt.h" #include "idt.h"
#include "test.h" #include "test.h"
#include "pci.h"
#include "multiboot.h" #include "multiboot.h"
#include "pic.h" #include "pic.h"
#include "pit.h" #include "pit.h"
...@@ -62,6 +63,10 @@ void kernel_main(multiboot_info* mbt, uint32_t magic) ...@@ -62,6 +63,10 @@ void kernel_main(multiboot_info* mbt, uint32_t magic)
int j=5/o; int j=5/o;
serial_hexword(j); serial_hexword(j);
test_mem(); test_mem();
// PCI
checkAllBuses();
test_idt(); test_idt();
while(true) while(true)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment