Changeset bfb87df in mainline for arch/amd64/src


Ignore:
Timestamp:
2006-02-09T17:02:36Z (20 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.

Location:
arch/amd64/src
Files:
3 edited

Legend:

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

    r874878a rbfb87df  
    122122                exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown",
    123123                             tlb_shootdown_ipi);
    124                 exc_register(VECTOR_WAKEUP_IPI, "wakeup_ipi", wakeup_ipi);
    125124                #endif /* CONFIG_SMP */
    126125        }
  • arch/amd64/src/interrupt.c

    r874878a rbfb87df  
    142142}
    143143
    144 void wakeup_ipi(int n, void *stack)
    145 {
    146         trap_virtual_eoi();
    147 }
    148 
    149144void trap_virtual_enable_irqs(__u16 irqmask)
    150145{
  • 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.