Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 532 → Rev 533

/SPARTAN/trunk/arch/ia32/src/mm/page.c
47,7 → 47,7
__u32 i;
 
if (config.cpu_active == 1) {
dba = frame_alloc(FRAME_KA | FRAME_PANIC);
dba = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
memsetb(dba, PAGE_SIZE, 0);
 
bootstrap_dba = dba;
69,7 → 69,7
* processor and adjusts it to fulfill its needs.
*/
 
dba = frame_alloc(FRAME_KA | FRAME_PANIC);
dba = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
memcpy((void *)dba, (void *)bootstrap_dba , PAGE_SIZE);
write_cr3(KA2PA(dba));
}