Changeset bfb87df in mainline for arch/amd64/src/mm/page.c


Ignore:
Timestamp:
2006-02-09T17:02:36Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8f00329
Parents:
874878a
Message:

Remove WAKEUP_IPI stuff.

Make it possible to use PAGE_GLOBAL on ia32, amd64 and mips32.
Make ia32 and amd64 map the kernel using PAGE_GLOBAL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/mm/page.c

    r874878a rbfb87df  
    4242{
    4343        __address cur;
     44        int flags;
    4445
    4546        if (config.cpu_active == 1) {
     
    5051                 */
    5152                for (cur = 0; cur < last_frame; cur += FRAME_SIZE) {
    52                         page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, PAGE_CACHEABLE | PAGE_EXEC);
     53                        flags = PAGE_CACHEABLE | PAGE_EXEC;
     54                        if ((PA2KA(cur) >= config.base) && (PA2KA(cur) < config.base + config.kernel_size))
     55                                flags |= PAGE_GLOBAL;
     56                        page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, flags);
    5357                }
    5458                exc_register(14, "page_fault", (iroutine)page_fault);
Note: See TracChangeset for help on using the changeset viewer.