1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-10-30 12:03:52 -04:00

Additional logging

This commit is contained in:
Braiden Vasco 2017-11-08 05:12:43 +00:00
parent 8586e0ea09
commit 4ca2c04ce7

View file

@ -2,6 +2,7 @@
#include "config.h" #include "config.h"
#include "panic.h" #include "panic.h"
#include "logger.h"
#include <kernelmq/stdlib.h> #include <kernelmq/stdlib.h>
@ -13,6 +14,8 @@ static void mark_used(unsigned long base, unsigned long limit);
void pfa_initialize(const struct KernelMQ_Info *const kinfo) void pfa_initialize(const struct KernelMQ_Info *const kinfo)
{ {
logger_info_from("pfa", "Initialize page frame allocator.");
kmemset(frames, 0, sizeof(frames)); kmemset(frames, 0, sizeof(frames));
mark_used(0, MEM_UPPER_BASE - 1); mark_used(0, MEM_UPPER_BASE - 1);