feature: vbe is enabled, drivers for vbe tbd
This commit is contained in:
14
src/kernel.c
14
src/kernel.c
@ -10,6 +10,7 @@
|
||||
#include "shell.h"
|
||||
#include "string.h"
|
||||
#include "terminal.h"
|
||||
#include "vbe.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
@ -28,14 +29,17 @@
|
||||
|
||||
void kernel_main(multiboot_info_t *mbd, uint32_t magic)
|
||||
{
|
||||
terminal_initialize();
|
||||
/* terminal_initialize(); */
|
||||
init_gdt();
|
||||
init_idt();
|
||||
init_memory(mbd, magic);
|
||||
load_drivers();
|
||||
kprintf(KERN_ALERT
|
||||
"I see no way to confuse an array of 256 seg:off pairs with a "
|
||||
"complex 8*unknown quantity -byte descriptor table. -- Troy "
|
||||
"Martin 03:50, 22 March 2009 (UTC)\n");
|
||||
/* kprintf(KERN_ALERT */
|
||||
/* "I see no way to confuse an array of 256 seg:off pairs with a
|
||||
* " */
|
||||
/* "complex 8*unknown quantity -byte descriptor table. -- Troy "
|
||||
*/
|
||||
/* "Martin 03:50, 22 March 2009 (UTC)\n"); */
|
||||
display.buff[1024] = 255;
|
||||
shell_init();
|
||||
}
|
||||
|
Reference in New Issue
Block a user