/kernel/trunk/arch/ia32/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/frame.h> |
#include <mm/page.h> |
48,6 → 49,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); |