Subversion Repositories HelenOS-historic

Rev

Rev 532 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 532 Rev 533
Line 37... Line 37...
37
 
37
 
38
void page_arch_init(void)
38
void page_arch_init(void)
39
{
39
{
40
    __address ptl0;
40
    __address ptl0;
41
   
41
   
42
    ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC);
42
    ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
43
    memsetb(ptl0, FRAME_SIZE, 0);
43
    memsetb(ptl0, FRAME_SIZE, 0);
44
   
44
   
45
    SET_PTL0_ADDRESS(KA2PA(ptl0));
45
    SET_PTL0_ADDRESS(KA2PA(ptl0));
46
}
46
}