Changeset 26678e5 in mainline for kernel/generic/src/main/main.c
- Timestamp:
- 2006-09-26T15:10:40Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 86b31ba9
- Parents:
- b44939b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
rb44939b r26678e5 80 80 #include <adt/btree.h> 81 81 #include <console/klog.h> 82 83 #ifdef CONFIG_SMP84 #include <arch/smp/apic.h>85 #include <arch/smp/mps.h>86 #endif /* CONFIG_SMP */87 82 #include <smp/smp.h> 88 83 … … 272 267 * 273 268 * Executed by application processors, temporary stack 274 * is at ctx.sp which was set during B P boot.269 * is at ctx.sp which was set during BSP boot. 275 270 * This function passes control directly to 276 271 * main_ap_separated_stack(). … … 283 278 /* 284 279 * Incrementing the active CPU counter will guarantee that the 285 * pm_init() will not attempt to build GDT and IDT tables again. 286 * Neither frame_init() will do the complete thing. Neither cpu_init() 287 * will do. 280 * *_init() functions can find out that they need to 281 * do initialization for AP only. 288 282 */ 289 283 config.cpu_active++; … … 301 295 302 296 cpu_init(); 303 304 297 calibrate_delay_loop(); 305 306 l_apic_init(); 307 l_apic_debug(); 298 arch_post_cpu_init(); 308 299 309 300 the_copy(THE, (the_t *) CPU->stack);
Note:
See TracChangeset
for help on using the changeset viewer.