Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 547 → Rev 548

/kernel/trunk/arch/amd64/src/mm/page.c
43,7 → 43,7
__address cur;
 
if (config.cpu_active == 1) {
dba = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME);
memsetb(dba, PAGE_SIZE, 0);
 
bootstrap_dba = dba;
66,7 → 66,7
* processor and adjusts it to fulfill its needs.
*/
 
dba = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME);
memcpy((void *)dba, (void *)bootstrap_dba , PAGE_SIZE);
write_cr3(KA2PA(dba));
}