Changeset 26678e5 in mainline for kernel/arch
- Timestamp:
- 2006-09-26T15:10:40Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 86b31ba9
- Parents:
- b44939b
- Location:
- kernel/arch
- Files:
-
- 11 edited
-
amd64/src/amd64.c (modified) (2 diffs)
-
ia32/include/smp/mps.h (modified) (1 diff)
-
ia32/src/ia32.c (modified) (2 diffs)
-
ia32/src/smp/mps.c (modified) (1 diff)
-
ia32/src/smp/smp.c (modified) (1 diff)
-
ia64/src/ia64.c (modified) (1 diff)
-
mips32/src/mips32.c (modified) (1 diff)
-
ppc32/src/ppc32.c (modified) (1 diff)
-
ppc64/src/ppc64.c (modified) (1 diff)
-
sparc64/src/sparc64.c (modified) (1 diff)
-
xen32/src/xen32.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/amd64.c
rb44939b r26678e5 45 45 #include <arch/drivers/i8254.h> 46 46 #include <arch/drivers/i8259.h> 47 48 #ifdef CONFIG_SMP 49 #include <arch/smp/apic.h> 50 #endif 47 51 48 52 #include <arch/bios/bios.h> … … 157 161 } 158 162 163 void arch_post_cpu_init() 164 { 165 #ifdef CONFIG_SMP 166 if (config.cpu_active > 1) { 167 l_apic_init(); 168 l_apic_debug(); 169 } 170 #endif 171 } 172 159 173 void arch_pre_smp_init(void) 160 174 { -
kernel/arch/ia32/include/smp/mps.h
rb44939b r26678e5 121 121 } __attribute__ ((packed)); 122 122 123 124 extern waitq_t ap_completion_wq;125 126 123 extern struct smp_config_operations mps_config_operations; 127 124 128 125 extern void mps_init(void); 129 extern void kmp(void *arg);130 126 131 127 #endif -
kernel/arch/ia32/src/ia32.c
rb44939b r26678e5 63 63 #include <console/console.h> 64 64 65 #ifdef CONFIG_SMP 66 #include <arch/smp/apic.h> 67 #endif 68 65 69 void arch_pre_mm_init(void) 66 70 { … … 98 102 zone_merge_all(); 99 103 } 104 } 105 106 void arch_post_cpu_init() 107 { 108 #ifdef CONFIG_SMP 109 if (config.cpu_active > 1) { 110 l_apic_init(); 111 l_apic_debug(); 112 } 113 #endif 100 114 } 101 115 -
kernel/arch/ia32/src/smp/mps.c
rb44939b r26678e5 85 85 int l_intr_entry_cnt = 0; 86 86 87 waitq_t ap_completion_wq;88 89 87 /* 90 88 * Implementation of IA-32 SMP configuration interface. -
kernel/arch/ia32/src/smp/smp.c
rb44939b r26678e5 105 105 ASSERT(ops != NULL); 106 106 107 waitq_initialize(&ap_completion_wq);108 109 107 /* 110 108 * We need to access data in frame 0. -
kernel/arch/ia64/src/ia64.c
rb44939b r26678e5 90 90 } 91 91 92 void arch_post_cpu_init(void) 93 { 94 } 95 92 96 void arch_pre_smp_init(void) 93 97 { -
kernel/arch/mips32/src/mips32.c
rb44939b r26678e5 132 132 } 133 133 134 void arch_post_cpu_init(void) 135 { 136 } 137 134 138 void arch_pre_smp_init(void) 135 139 { -
kernel/arch/ppc32/src/ppc32.c
rb44939b r26678e5 83 83 } 84 84 85 void arch_post_cpu_init(void) 86 { 87 } 88 85 89 void arch_pre_smp_init(void) 86 90 { -
kernel/arch/ppc64/src/ppc64.c
rb44939b r26678e5 76 76 } 77 77 78 void arch_post_cpu_init(void) 79 { 80 } 81 78 82 void arch_pre_smp_init(void) 79 83 { -
kernel/arch/sparc64/src/sparc64.c
rb44939b r26678e5 79 79 } 80 80 81 void arch_post_cpu_init(void) 82 { 83 } 84 81 85 void arch_pre_smp_init(void) 82 86 { -
kernel/arch/xen32/src/xen32.c
rb44939b r26678e5 152 152 } 153 153 154 void arch_post_cpu_init(void) 155 { 156 } 157 154 158 void arch_pre_smp_init(void) 155 159 {
Note:
See TracChangeset
for help on using the changeset viewer.
