2017-11-03 22:39:16 -04:00
|
|
|
#include "console.h"
|
2017-11-03 23:31:13 -04:00
|
|
|
#include "logger.h"
|
|
|
|
#include "multiboot.h"
|
|
|
|
#include "memory.h"
|
2017-11-03 01:10:07 -04:00
|
|
|
|
2017-11-03 22:15:05 -04:00
|
|
|
void init(struct KernelMQ_Multiboot_Info multiboot_info)
|
2017-11-01 00:43:42 -04:00
|
|
|
{
|
2017-11-03 22:39:16 -04:00
|
|
|
console_initialize();
|
2017-11-01 04:25:39 -04:00
|
|
|
|
2017-11-03 23:39:56 -04:00
|
|
|
logger_info("Virtual memory info:");
|
2017-11-03 23:31:13 -04:00
|
|
|
|
|
|
|
print_memory_info();
|
|
|
|
|
|
|
|
logger_info("Multiboot info:");
|
|
|
|
|
2017-11-01 10:45:01 -04:00
|
|
|
print_multiboot_info(multiboot_info);
|
2017-11-03 01:10:07 -04:00
|
|
|
}
|