feat: gdt, attributes move, reorder
Added late gdt setup with initial tss Moved attributes to include root Reordered some imports
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
//
|
||||
// Created by rick on 23-02-21.
|
||||
//
|
||||
#include <stdio.h>
|
||||
#include <attributes.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <readline/readline.h>
|
||||
|
||||
#include <myke/command.h>
|
||||
#include <myke/libk/libk.h>
|
||||
#include <myke/mem/mem.h>
|
||||
#include <myke/mem/malloc.h>
|
||||
#include <myke/cpu/timer.h>
|
||||
#include <myke/drivers/pci/pci.h>
|
||||
#include <myke/drivers/pci/ide.h>
|
||||
#include <myke/drivers/pci/pci.h>
|
||||
#include <myke/fs/blockdev.h>
|
||||
#include <myke/fs/mbr.h>
|
||||
#include <readline/readline.h>
|
||||
#include <myke/attributes.h>
|
||||
#include <myke/libk/libk.h>
|
||||
#include <myke/mem/malloc.h>
|
||||
#include <myke/mem/mem.h>
|
||||
#include <myke/util/power.h>
|
||||
|
||||
#ifdef ENABLE_SELF_TEST
|
||||
@@ -172,7 +172,7 @@ void store_bootloader_info(multiboot_info_t *multiboot_info) {
|
||||
}
|
||||
}
|
||||
|
||||
void noreturn main_loop(void *data) {
|
||||
void att_noreturn main_loop(void *data) {
|
||||
while (true) {
|
||||
char *msg = readline(NULL);
|
||||
char *args = strchr(msg, ' ');
|
||||
|
||||
Reference in New Issue
Block a user