Changeset bfb87df in mainline for arch/ia32/src/mm/page.c
- Timestamp:
- 2006-02-09T17:02:36Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8f00329
- Parents:
- 874878a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/mm/page.c
r874878a rbfb87df 46 46 { 47 47 __address cur; 48 int flags; 48 49 49 50 if (config.cpu_active == 1) { … … 53 54 * PA2KA(identity) mapping for all frames until last_frame. 54 55 */ 55 for (cur = 0; cur < last_frame; cur += FRAME_SIZE) 56 page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, PAGE_CACHEABLE); 56 for (cur = 0; cur < last_frame; cur += FRAME_SIZE) { 57 flags = PAGE_CACHEABLE; 58 if ((PA2KA(cur) >= config.base) && (PA2KA(cur) < config.base + config.kernel_size)) 59 flags |= PAGE_GLOBAL; 60 page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, flags); 61 } 57 62 58 63 exc_register(14, "page_fault", page_fault);
Note:
See TracChangeset
for help on using the changeset viewer.