2023-09-30 22:21:56 +03:00
|
|
|
#include <limine.h>
|
2023-09-30 22:51:57 +03:00
|
|
|
#include <arch.h>
|
|
|
|
#include <cpu.h>
|
|
|
|
#include <fb.h>
|
|
|
|
#include <tool.h>
|
2023-09-30 22:21:56 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Точка входа
|
|
|
|
extern "C" void _start() {
|
|
|
|
asm volatile("cli");
|
|
|
|
|
2023-09-30 22:51:57 +03:00
|
|
|
arch::init();
|
|
|
|
cpu::init();
|
|
|
|
fb::init();
|
|
|
|
|
2023-09-30 22:21:56 +03:00
|
|
|
for (;;) {
|
|
|
|
asm volatile("hlt");
|
|
|
|
}
|
2023-09-30 16:30:06 +03:00
|
|
|
}
|