Changeset 7d365305 in mainline
- Timestamp:
- 2005-07-20T11:26:40Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 59532eb
- Parents:
- 0970f43
- Location:
- arch/ia32/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/acpi/madt.c
r0970f43 r7d365305 33 33 #include <arch/smp/apic.h> 34 34 #include <arch/smp/smp.h> 35 #include <mm/page.h>36 35 #include <panic.h> 37 36 #include <debug.h> … … 112 111 struct madt_apic_header *end = (struct madt_apic_header *) (((__u8 *) acpi_madt) + acpi_madt->header.length); 113 112 struct madt_apic_header *h = &acpi_madt->apic_header[0]; 114 __u8 prev_type = 0; /* used to detect inco secutive entries */113 __u8 prev_type = 0; /* used to detect inconsecutive entries */ 115 114 116 115 … … 178 177 madt_io_apic_entries = ioa; 179 178 io_apic = (__u32 *) ioa->io_apic_address; 180 map_page_to_frame((__address) io_apic, (__address) io_apic, PAGE_NOT_CACHEABLE, 0);181 179 } 182 180 else { -
arch/ia32/src/smp/mps.c
r0970f43 r7d365305 38 38 #include <arch/types.h> 39 39 #include <typedefs.h> 40 #include <mm/page.h>41 40 #include <cpu.h> 42 41 #include <arch/asm.h> … … 203 202 config.cpu_count = configure_via_default(fs->config_type); 204 203 205 if (config.cpu_count > 1) {206 map_page_to_frame((__address) l_apic, (__address) l_apic, PAGE_NOT_CACHEABLE, 0);207 }208 209 210 /*211 * Must be initialized outside the kmp thread, since it is waited212 * on before the kmp thread is created.213 */214 waitq_initialize(&kmp_completion_wq);215 204 return; 216 205 } … … 344 333 } 345 334 346 map_page_to_frame((__address) ioa->io_apic, (__address) ioa->io_apic, PAGE_NOT_CACHEABLE, 0);347 348 335 io_apic = ioa->io_apic; 349 336 } -
arch/ia32/src/smp/smp.c
r0970f43 r7d365305 58 58 ops = &mps_config_operations; 59 59 } 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 60 72 } 61 73
Note:
See TracChangeset
for help on using the changeset viewer.