Changeset a7a10630 in mainline for arch/ia32/src/smp
- Timestamp:
- 2005-06-07T00:41:39Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d896525
- Parents:
- b0bf501
- Location:
- arch/ia32/src/smp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/smp/ap.S
rb0bf501 ra7a10630 64 64 movl $(ctx-0x80000000),%eax # KA2PA((__address) &ctx) 65 65 movl (%eax),%esp 66 subl $0x80000000,%esp # KA2PA(ctx.sp) 66 67 67 68 lidt idtr -
arch/ia32/src/smp/mps.c
rb0bf501 ra7a10630 393 393 } 394 394 395 395 396 /* 396 397 * Kernel thread for bringing up application processors. It becomes clear … … 415 416 416 417 /* 417 * Grab a frame and map its address to page 0. This is a hack which 418 * accesses data in frame 0. Note that page 0 is not present because 419 * of nil reference bug catching. 420 */ 421 frame = frame_alloc(FRAME_KA); 418 * We need to access data in frame 0. 419 */ 420 frame = frame_alloc(0); 422 421 map_page_to_frame(frame,0,PAGE_CACHEABLE,0); 423 422 … … 474 473 memcopy(gdt, gdt_new, GDT_ITEMS*sizeof(struct descriptor)); 475 474 gdtr.base = KA2PA((__address) gdt_new); 476 475 477 476 if (l_apic_send_init_ipi(pr[i].l_apic_id)) { 478 477 /*
Note:
See TracChangeset
for help on using the changeset viewer.