Many small changes

This commit is contained in:
Curle 2019-09-11 03:59:27 +01:00
parent ae6d4ecabd
commit 51af007cd5
4 changed files with 2 additions and 7 deletions

View File

@ -6,6 +6,7 @@ kernel\utils.c
kernel\graphics.c
kernel\print.c
kernel\interrupts.c
kernel\ports.c
kernel\memory.c
kernel\memory\memmove.c
kernel\memory\memcmp.c

View File

@ -18,9 +18,7 @@
and other functions that are uniquely
related to the above tasks. */
#include <kernel/utils.h>
#include <kernel/descriptor_tables.h>
#include <kernel/serial.h>
#include <kernel.h>
/*
* The GDT gate setting function.

View File

@ -37,8 +37,6 @@ void SetupPrinting(EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE GPU) {
Print_Info.cursorPos = 0;
Print_Info.scrollMode = 0;
ClearScreen(GPU);
}
void WriteScaledFormatString(EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE GPU,

View File

@ -23,8 +23,6 @@ void gdb_end() {} /* GDB Debugging stump */
static size_t time = 0;
int kernel_main(FILELOADER_PARAMS* FLOP) {
init_serial();
serial_printf("Kernel has been given control of the computer.\nStarting bootstrap init.\n");
/* The kernel is started in 64-bit Long Mode by Syncboot. */
/* PrepareSystem just initializes all hardware features and gets the system ready to execute every function.