2021-11-03 19:03:38 +00:00
|
|
|
#pragma once
|
2022-02-26 19:44:16 +00:00
|
|
|
extern "C"
|
|
|
|
{
|
2021-11-03 19:03:38 +00:00
|
|
|
#include "../libc/include/string.h"
|
2021-05-10 20:33:25 +00:00
|
|
|
}
|
2022-02-26 19:44:16 +00:00
|
|
|
|
|
|
|
#include "definitions.h"
|
|
|
|
|
2021-11-16 12:57:15 +00:00
|
|
|
#include "vga/VBE.h"
|
|
|
|
#include "tty/kterm.h"
|
2021-05-16 14:53:14 +00:00
|
|
|
|
2021-11-02 20:15:00 +00:00
|
|
|
#include "./bootloader/multiboot.h"
|
2022-02-26 19:44:16 +00:00
|
|
|
#include "bootinfo.h"
|
|
|
|
|
|
|
|
#include "memory/memory.h"
|
|
|
|
#include "memory/memoryinfo.h"
|
2021-10-23 11:26:15 +00:00
|
|
|
#include "bootcheck.h"
|
2021-11-03 19:03:38 +00:00
|
|
|
|
2021-11-16 12:57:15 +00:00
|
|
|
#include "gdt/gdtc.h"
|
|
|
|
#include "idt/idt.h"
|
2021-10-23 11:26:15 +00:00
|
|
|
|
2021-12-20 20:53:57 +00:00
|
|
|
#include "pit.h"
|
2021-05-10 20:33:25 +00:00
|
|
|
#include "io.h"
|
2021-07-22 21:14:58 +00:00
|
|
|
#include "cpu.h"
|
2021-11-03 19:03:38 +00:00
|
|
|
#include "serial.h"
|
2021-07-22 19:02:47 +00:00
|
|
|
|
2021-12-29 15:15:18 +00:00
|
|
|
#include "time.h"
|
|
|
|
#include "sv-terminal/superVisorTerminal.h"
|
|
|
|
|
2021-11-03 19:03:38 +00:00
|
|
|
#define CHECK_FLAG(flags, bit) ((flags) & (1 <<(bit)))
|
2021-12-29 15:15:18 +00:00
|
|
|
#define PANIC(message) {return;}
|
2021-07-22 19:02:47 +00:00
|
|
|
|
2021-07-22 21:14:58 +00:00
|
|
|
|