Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 306f0de in mainline


Ignore:
Timestamp:
2012-06-07T08:53:19Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
34ab31c
Parents:
d67dfdc
Message:

Make kernel identity on ia32 use global mapping for its entire range.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/mm/page.c

    rd67dfdc r306f0de  
    7171        for (cur = 0; cur < min(config.identity_size, config.physmem_end);
    7272            cur += FRAME_SIZE) {
    73                 flags = PAGE_CACHEABLE | PAGE_WRITE;
    74                 if ((PA2KA(cur) >= config.base) &&
    75                     (PA2KA(cur) < config.base + config.kernel_size))
    76                         flags |= PAGE_GLOBAL;
     73                flags = PAGE_GLOBAL | PAGE_CACHEABLE | PAGE_WRITE | PAGE_READ;
    7774                page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, flags);
    7875        }
Note: See TracChangeset for help on using the changeset viewer.