Subversion Repositories HelenOS-historic

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));
}
/kernel/trunk/arch/mips32/src/mm/page.c
39,7 → 39,7
{
__address ptl0;
ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME);
memsetb(ptl0, FRAME_SIZE, 0);
SET_PTL0_ADDRESS(KA2PA(ptl0));
/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));
}