i need a break

This commit is contained in:
2025-05-30 18:58:45 -04:00
parent f8c38d22b0
commit 013b5a557e
8 changed files with 73 additions and 26 deletions

View File

@ -6,7 +6,7 @@
#include <kernel/serial.h>
#include <kernel/x86/gdt.h>
#include <kernel/x86/idt.h>
#include <kernel/x86/pic.h>
#include <kernel/x86/io.h>
void kmain(void)
{
@ -16,18 +16,10 @@ void kmain(void)
#endif
gdt_init();
idt_init();
PIC_remap(0x20, 0x28);
#ifndef __TESTING__
terminal_initialize();
serial_initialize();
#endif
uint8_t a = 2;
uint16_t b = 3;
int c = 4;
uint64_t d = 10;
printf("%d, %d, %d, %3", a, b, c, d);
}