mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Remove unnecessary output
This commit is contained in:
parent
70bcb07df3
commit
698f41c08f
2 changed files with 3 additions and 18 deletions
18
arch/init.c
18
arch/init.c
|
@ -1,6 +1,3 @@
|
|||
#include "console.h"
|
||||
#include "logger.h"
|
||||
#include "kprintf.h"
|
||||
#include "multiboot.h"
|
||||
|
||||
#include <kernelmq/info.h>
|
||||
|
@ -21,19 +18,4 @@ void init(struct KernelMQ_Multiboot_Info multiboot_info)
|
|||
|
||||
kinfo.kernel_phys_base = (unsigned long)&_kernel_phys_base;
|
||||
kinfo.kernel_virt_base = (unsigned long)&_kernel_virt_base;
|
||||
|
||||
console_initialize();
|
||||
|
||||
logger_info("Multiboot info:");
|
||||
|
||||
print_multiboot_info(multiboot_info);
|
||||
|
||||
logger_info("Virtual memory info:");
|
||||
|
||||
kprintf(
|
||||
"0x%x (phys base) + 0x%x (offset) = 0x%x (virt base)\n",
|
||||
kinfo.kernel_phys_base,
|
||||
kinfo.kernel_offset,
|
||||
kinfo.kernel_virt_base
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include "console.h"
|
||||
#include "logger.h"
|
||||
#include "protected.h"
|
||||
#include "paging.h"
|
||||
|
@ -7,6 +8,8 @@ static void on_timer();
|
|||
|
||||
void main()
|
||||
{
|
||||
console_initialize();
|
||||
|
||||
protected_initialize();
|
||||
|
||||
// paging_initialize();
|
||||
|
|
Loading…
Reference in a new issue