Changeset d47f0e1 in mainline for arch/ia32/src/smp/mps.c
- Timestamp:
- 2005-06-05T15:18:24Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e3f41b6
- Parents:
- d1a184f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/smp/mps.c
rd1a184f rd47f0e1 159 159 if (fs->config_type == 0 && fs->configuration_table) { 160 160 if (fs->mpfib2 >> 7) { 161 printf(" mps_init: PIC mode not supported\n");161 printf("%s: PIC mode not supported\n", __FUNCTION__); 162 162 return; 163 163 } … … 189 189 190 190 if (ct->signature != CT_SIGNATURE) { 191 printf(" configure_via_ct: bad ct->signature\n");191 printf("%s: bad ct->signature\n", __FUNCTION__); 192 192 return 1; 193 193 } 194 194 if (!mps_ct_check()) { 195 printf(" configure_via_ct: bad ct checksum\n");195 printf("%s: bad ct checksum\n", __FUNCTION__); 196 196 return 1; 197 197 } 198 198 if (ct->oem_table) { 199 printf(" configure_via_ct: ct->oem_table not supported\n");199 printf("%s: ct->oem_table not supported\n", __FUNCTION__); 200 200 return 1; 201 201 } … … 252 252 */ 253 253 254 printf(" configure_via_ct: ct badness\n");254 printf("%s: ct badness\n", __FUNCTION__); 255 255 return 1; 256 256 } … … 269 269 * Not yet implemented. 270 270 */ 271 printf(" configure_via_default: not supported\n");271 printf("%s: not supported\n", __FUNCTION__); 272 272 return 1; 273 273 } … … 426 426 */ 427 427 *((__u16 *) (frame + 0x467+0)) = ((__address) ap_boot) >> 4; /* segment */ 428 *((__u16 *) (frame + 0x467+2)) = 0 x0;/* offset */429 430 /* 431 * Give back the borrowed frame and restore identity mapping for it.432 */ 433 map_page_to_frame(frame, frame,PAGE_CACHEABLE,0);428 *((__u16 *) (frame + 0x467+2)) = 0; /* offset */ 429 430 /* 431 * Give back and unmap the borrowed frame. 432 */ 433 map_page_to_frame(frame,0,PAGE_NOT_PRESENT,0); 434 434 frame_free(frame); 435 435 … … 473 473 474 474 memcopy(gdt, gdt_new, GDT_ITEMS*sizeof(struct descriptor)); 475 gdtr.base = (__address) gdt_new;476 475 gdtr.base = KA2PA((__address) gdt_new); 476 477 477 if (l_apic_send_init_ipi(pr[i].l_apic_id)) { 478 478 /*
Note:
See TracChangeset
for help on using the changeset viewer.