Changeset bfb87df in mainline for arch/ia32/src


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.

Location:
arch/ia32/src
Files:
3 edited

Legend:

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

    r874878a rbfb87df  
    6666                exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown",
    6767                             tlb_shootdown_ipi);
    68                 exc_register(VECTOR_WAKEUP_IPI, "wakeup_ipi", wakeup_ipi);
    6968                #endif /* CONFIG_SMP */
    7069        }
  • arch/ia32/src/interrupt.c

    r874878a rbfb87df  
    128128}
    129129
    130 void wakeup_ipi(int n, void *stack)
    131 {
    132         trap_virtual_eoi();
    133 }
    134 
    135130void trap_virtual_enable_irqs(__u16 irqmask)
    136131{
  • arch/ia32/src/mm/page.c

    r874878a rbfb87df  
    4646{
    4747        __address cur;
     48        int flags;
    4849
    4950        if (config.cpu_active == 1) {
     
    5354                 * PA2KA(identity) mapping for all frames until last_frame.
    5455                 */
    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                }
    5762
    5863                exc_register(14, "page_fault", page_fault);
Note: See TracChangeset for help on using the changeset viewer.