Changeset 7d365305 in mainline for arch/ia32/src/smp/smp.c


Ignore:
Timestamp:
2005-07-20T11:26:40Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
59532eb
Parents:
0970f43
Message:

Initialize kmp_completion_wq during configuration via ACPI MADT.
Move some generic SMP configuration code from mps.c to smp.c.

File:
1 edited

Legend:

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

    r0970f43 r7d365305  
    5858                ops = &mps_config_operations;
    5959        }
     60
     61        if (config.cpu_count > 1) {
     62                map_page_to_frame((__address) l_apic, (__address) l_apic, PAGE_NOT_CACHEABLE, 0);
     63                map_page_to_frame((__address) io_apic, (__address) io_apic, PAGE_NOT_CACHEABLE, 0);
     64        }
     65
     66        /*
     67         * Must be initialized outside the kmp thread, since it is waited
     68         * on before the kmp thread is created.
     69         */
     70        waitq_initialize(&kmp_completion_wq);
     71
    6072}
    6173
Note: See TracChangeset for help on using the changeset viewer.