Integrate flaterm terminal

This commit is contained in:
2025-08-13 23:28:25 +02:00
parent ce6b17d72b
commit 95832bb3a7
23 changed files with 3230 additions and 21 deletions

View File

@ -36,7 +36,16 @@ static volatile struct limine_rsdp_request RSDP_REQ = {
.id = LIMINE_RSDP_REQUEST, .revision = 0,
};
static volatile struct limine_framebuffer_request FB_REQ = {
.id = LIMINE_FRAMEBUFFER_REQUEST, .revision = 0,
};
void bootinfo_init(void) {
if (FB_REQ.response == NULL || FB_REQ.response->framebuffer_count < 1) {
hal_hang();
}
BOOT_INFO.fb = FB_REQ.response->framebuffers[0];
struct limine_paging_mode_response *pagingres = PAGING_REQ.response;
#if defined(__x86_64__)
if (pagingres->mode != LIMINE_PAGING_MODE_X86_64_4LVL) {