Changeset 7cb567cd in mainline for kernel/arch/ia32xen/src/smp/smp.c


Ignore:
Timestamp:
2007-04-08T20:52:53Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e5dbbe5
Parents:
328f324b
Message:

map kernel pages explicitly as writable (this solves compatibility issues with Intel Core 2)
make VESA framebuffer initialization more robust

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32xen/src/smp/smp.c

    r328f324b r7cb567cd  
    8181        if (config.cpu_count > 1) {             
    8282                page_mapping_insert(AS_KERNEL, l_apic_address, (uintptr_t) l_apic,
    83                                   PAGE_NOT_CACHEABLE);
     83                                  PAGE_NOT_CACHEABLE | PAGE_WRITE);
    8484                page_mapping_insert(AS_KERNEL, io_apic_address, (uintptr_t) io_apic,
    85                                   PAGE_NOT_CACHEABLE);
     85                                  PAGE_NOT_CACHEABLE | PAGE_WRITE);
    8686                                 
    8787                l_apic = (uint32_t *) l_apic_address;
    8888                io_apic = (uint32_t *) io_apic_address;
    89         }
     89        }
    9090}
    9191
Note: See TracChangeset for help on using the changeset viewer.