Folder restructuration

This commit is contained in:
2025-12-28 11:39:39 +01:00
parent fabe0b1a10
commit ead0ed6ae1
16 changed files with 18 additions and 16 deletions

View File

@@ -1,8 +1,8 @@
#include "idt.h"
#include <stdint.h>
#include <stddef.h>
#include "../io/serial.h"
#include "../kbd/ps2.h"
#include "../io/serial/serial.h"
#include "../io/kbd/ps2.h"
struct interrupt_descriptor idt[256];
struct idtr idt_reg;

View File

@@ -1,10 +1,10 @@
// PS/2 Keyboard support
#include "../io/serial.h"
#include "../io/printf.h"
#include "../serial/serial.h"
#include "../term/printf.h"
#include "ps2.h"
#include <stdint.h>
#include "../io/term.h"
#include "../term/term.h"
// The key status bitfield will be used to see if ALT, CONTROL, or SHIFT is pressed
uint8_t key_status = 0b00000000;

View File

@@ -1,4 +1,4 @@
#include "../kernel.h"
#include <kernel.h>
#include "serial.h"
void outb(int port, unsigned char data)

View File

@@ -2,7 +2,7 @@
#include <limine.h>
#include <stddef.h>
#include "kernel.h"
#include <kernel.h>
#include "term.h"
extern struct limine_framebuffer* framebuffer;

View File

@@ -1,15 +1,15 @@
#include <stdbool.h>
#include <stddef.h>
#include <limine.h>
#include "io/term.h"
#include "io/printf.h"
#include "io/serial.h"
#include "mem/gdt.h"
#include "mem/utils.h"
#include "io/term/term.h"
#include "io/term/printf.h"
#include "io/serial/serial.h"
#include "mem/gdt/gdt.h"
#include "mem/misc/utils.h"
#include "idt/idt.h"
#include "kernel.h"
#include "time/timer.h"
#include "kbd/ps2.h"
#include "io/kbd/ps2.h"
// Limine version used
__attribute__((used, section(".limine_requests")))

View File

@@ -1,6 +1,6 @@
#include "gdt.h"
#include <stdint.h>
#include "../io/serial.h"
#include "../../io/serial/serial.h"
// Descriptors are 8-byte wide (64bits)
// So the selectors will be (in bytes): 0x0, 0x8, 0x10, 0x18, etc..

View File

@@ -1,5 +1,5 @@
#include <stdint.h>
#include "../io/serial.h"
#include "../io/serial/serial.h"
/*
For now, the timer module will be using the PIC.