Rev 684 | Rev 760 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 684 | Rev 689 | ||
|---|---|---|---|
| Line 40... | Line 40... | ||
| 40 | { |
40 | { |
| 41 | __address ptl0; |
41 | __address ptl0; |
| 42 | 42 | ||
| 43 | page_operations = &page_pt_operations; |
43 | page_operations = &page_pt_operations; |
| 44 | 44 | ||
| 45 | ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME); |
45 | ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME, NULL); |
| 46 | memsetb(ptl0, FRAME_SIZE, 0); |
46 | memsetb(ptl0, FRAME_SIZE, 0); |
| 47 | 47 | ||
| 48 | SET_PTL0_ADDRESS(KA2PA(ptl0)); |
48 | SET_PTL0_ADDRESS(KA2PA(ptl0)); |
| 49 | } |
49 | } |