Rev 1787 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1787 | Rev 1954 | ||
|---|---|---|---|
| Line 130... | Line 130... | ||
| 130 | * currently not implemented, would be frame |
130 | * currently not implemented, would be frame |
| 131 | * reuse; when this becomes a possibility, |
131 | * reuse; when this becomes a possibility, |
| 132 | * do not forget to distinguish between |
132 | * do not forget to distinguish between |
| 133 | * the different causes |
133 | * the different causes |
| 134 | */ |
134 | */ |
| 135 | frame = (uintptr_t)frame_alloc(ONE_FRAME, 0); |
135 | frame = (uintptr_t) frame_alloc(ONE_FRAME, 0); |
| 136 | memsetb(PA2KA(frame), FRAME_SIZE, 0); |
136 | memsetb(PA2KA(frame), FRAME_SIZE, 0); |
| 137 | } |
137 | } |
| 138 | 138 | ||
| 139 | /* |
139 | /* |
| 140 | * Map 'page' to 'frame'. |
140 | * Map 'page' to 'frame'. |