/kernel/trunk/arch/amd64/Makefile.inc |
---|
58,6 → 58,11 |
CONFIG_ACPI = y |
## Compile with hierarchical page tables support. |
# |
CONFIG_PAGE_PT = y |
## Accepted configuration directives |
# |
/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); |