Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 547 → Rev 548

/kernel/trunk/arch/ia32/src/mm/page.c
48,7 → 48,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;
70,7 → 70,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));
}