mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Additional logging
This commit is contained in:
parent
8586e0ea09
commit
4ca2c04ce7
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "config.h"
|
||||
#include "panic.h"
|
||||
#include "logger.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)
|
||||
{
|
||||
logger_info_from("pfa", "Initialize page frame allocator.");
|
||||
|
||||
kmemset(frames, 0, sizeof(frames));
|
||||
|
||||
mark_used(0, MEM_UPPER_BASE - 1);
|
||||
|
|
Loading…
Reference in a new issue