Rev 534 | Rev 684 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 534 | Rev 548 | ||
---|---|---|---|
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, 0); |
42 | ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME); |
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 | } |