/kernel/trunk/arch/amd64/src/mm/page.c |
---|
27,6 → 27,7 |
*/ |
#include <arch/mm/page.h> |
#include <genarch/mm/page_pt.h> |
#include <arch/mm/frame.h> |
#include <mm/page.h> |
#include <mm/frame.h> |
44,6 → 45,8 |
__address cur; |
if (config.cpu_active == 1) { |
page_operations = &page_pt_operations; |
dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME); |
memsetb(dba, PAGE_SIZE, 0); |