feature: vbe is enabled, drivers for vbe tbd

This commit is contained in:
2024-12-03 13:29:36 +01:00
parent 30d22b3334
commit 2a281522cf
7 changed files with 107 additions and 43 deletions

View File

@ -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();
}