Changeset 946b630 in mainline for arch/ia32/src/smp/smp.c


Ignore:
Timestamp:
2005-09-03T21:01:23Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5260478
Parents:
c835e7c
Message:

Reverted APIC mapping back to identity mapping.
Added AMD64 SMP support. Works now!

File:
1 edited

Legend:

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

    rc835e7c r946b630  
    6262        }
    6363
    64         if (config.cpu_count > 1) {
    65                 map_page_to_frame((__address)l_apic, KA2PA((__address)l_apic),
     64        if (config.cpu_count > 1) {             
     65                map_page_to_frame((__address)l_apic, (__address)l_apic,
    6666                                  PAGE_NOT_CACHEABLE, 0);
    67                 map_page_to_frame((__address) io_apic, 
    68                                   KA2PA((__address) io_apic),
     67                map_page_to_frame((__address) io_apic,
     68                                  (__address) io_apic,
    6969                                  PAGE_NOT_CACHEABLE, 0);
    7070        }
Note: See TracChangeset for help on using the changeset viewer.