Commit 13a2aa6f by triazo

Disable memtest

parent c450d6c0
Showing with 5 additions and 4 deletions
...@@ -35,12 +35,12 @@ void kernel_main(multiboot_info* mbt, uint32_t magic) ...@@ -35,12 +35,12 @@ void kernel_main(multiboot_info* mbt, uint32_t magic)
io_init(); io_init();
pit_start_counter(100, PIT_OCW_CONT_0, PIT_OCW_MODE_SQWVGEN); pit_start_counter(100, PIT_OCW_CONT_0, PIT_OCW_MODE_SQWVGEN);
enable_int(); enable_int();
/* Since there is no support for newlines in terminal_putchar /* Since there is no support for newlines in terminal_putchar
* yet, '\n' will produce some VGA specific character instead. * yet, '\n' will produce some VGA specific character instead.
* This is normal. * This is normal.
*/ */
serial_writestring("Hello, kernel World!\n"); serial_writestring("Hello, kernel World!\n");
terminal_writestring("Hello, kernel World!\n"); terminal_writestring("Hello, kernel World!\n");
terminal_writestring("> "); terminal_writestring("> ");
...@@ -61,8 +61,9 @@ void kernel_main(multiboot_info* mbt, uint32_t magic) ...@@ -61,8 +61,9 @@ void kernel_main(multiboot_info* mbt, uint32_t magic)
serial_writestring("Finished Initilizing memory\n"); serial_writestring("Finished Initilizing memory\n");
int o=0; int o=0;
int j=5/o; int j=5/o;
serial_hexword(j); serial_hexword(j);
test_mem(); //test_mem();
serial_writechar('\n');
// PCI // PCI
checkAllBuses(); checkAllBuses();
......
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