Rev 2222 | Rev 2745 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2222 | Rev 2697 | ||
---|---|---|---|
Line 93... | Line 93... | ||
93 | */ |
93 | */ |
94 | for (cur = 0; cur < last_frame; cur += FRAME_SIZE) { |
94 | for (cur = 0; cur < last_frame; cur += FRAME_SIZE) { |
95 | /* Standard identity mapping */ |
95 | /* Standard identity mapping */ |
96 | page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, identity_flags); |
96 | page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, identity_flags); |
97 | } |
97 | } |
- | 98 | ||
98 | /* Upper kernel mapping |
99 | /* Upper kernel mapping |
99 | * - from zero to top of kernel (include bottom addresses |
100 | * - from zero to top of kernel (include bottom addresses |
100 | * because some are needed for init ) |
101 | * because some are needed for init) |
101 | */ |
102 | */ |
102 | for (cur = PA2KA_CODE(0); cur < config.base + config.kernel_size; cur += FRAME_SIZE) |
103 | for (cur = PA2KA_CODE(0); cur < config.base + config.kernel_size; cur += FRAME_SIZE) |