Rev 756 | Rev 799 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 756 | Rev 793 | ||
|---|---|---|---|
| Line 41... | Line 41... | ||
| 41 | void page_arch_init(void) |
41 | void page_arch_init(void) |
| 42 | { |
42 | { |
| 43 | __address cur; |
43 | __address cur; |
| 44 | 44 | ||
| 45 | if (config.cpu_active == 1) { |
45 | if (config.cpu_active == 1) { |
| 46 | page_operations = &page_pt_operations; |
46 | page_mapping_operations = &pt_mapping_operations; |
| 47 | 47 | ||
| 48 | /* |
48 | /* |
| 49 | * PA2KA(identity) mapping for all frames. |
49 | * PA2KA(identity) mapping for all frames. |
| 50 | */ |
50 | */ |
| 51 | for (cur = 0; cur < last_frame; cur += FRAME_SIZE) { |
51 | for (cur = 0; cur < last_frame; cur += FRAME_SIZE) { |