Changeset 12294 in vbox
- Timestamp:
- Sep 9, 2008 1:47:17 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r12289 r12294 340 340 # VBOX_WITH_64_BITS_GUESTS = 1 341 341 endif 342 # Enable SMP support in guests 343 VBOX_WITH_SMP_GUESTS = 0 342 344 # Enable the host/guest information service (aka guest properties). 343 345 VBOX_WITH_GUEST_PROPS = 1 … … 950 952 ifdef VBOX_WITH_64_BITS_GUESTS 951 953 DEFS += VBOX_WITH_64_BITS_GUESTS 954 endif 955 ifdef VBOX_WITH_SMP_GUESTS 956 DEFS += VBOX_WITH_SMP_GUESTS 952 957 endif 953 958 ifdef VBOX_WITH_HARDENING -
trunk/src/VBox/Devices/PC/BIOS/rombios.c
r12239 r12294 4588 4588 { 4589 4589 Bit32u extended_memory_size=0; // 64bits long 4590 #if 0 /* bird: later */4590 #if VBOX_WITH_SMP_GUESTS 4591 4591 Bit32u extra_lowbits_memory_size=0; 4592 4592 #endif 4593 4593 Bit16u CX,DX; 4594 #if 0 /* bird: later */4594 #if VBOX_WITH_SMP_GUESTS 4595 4595 Bit8u extra_highbits_memory_size=0; 4596 4596 #endif … … 4668 4668 } 4669 4669 4670 #if 0/* bird: later (btw. this ain't making sense complixity wise, unless its a AMI/AWARD/PHOENIX interface) */4670 #if VBOX_WITH_SMP_GUESTS /* bird: later (btw. this ain't making sense complixity wise, unless its a AMI/AWARD/PHOENIX interface) */ 4671 4671 extra_lowbits_memory_size = inb_cmos(0x61); 4672 4672 extra_lowbits_memory_size <<= 8; … … 4743 4743 set_e820_range(ES, regs.u.r16.di, 4744 4744 0xfffc0000L, 0x00000000L, 0, 0, 2); 4745 #if 0 /* bird: later */4745 #if VBOX_WITH_SMP_GUESTS 4746 4746 if (extra_highbits_memory_size || extra_lowbits_memory_size) 4747 4747 regs.u.r32.ebx = 6; … … 4753 4753 CLEAR_CF(); 4754 4754 return; 4755 #if 0 /* bird: later */4755 #if VBOX_WITH_SMP_GUESTS 4756 4756 case 6: 4757 4757 /* Mapping of memory above 4 GB */ -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r12239 r12294 99 99 * too big, besides it forces unnecessary math stuff onto 100 100 * the BIOS. 101 * nike: The way how values encoded are defined by Bochs/QEmu BIOS, 102 * although for them position in CMOS is different: 103 * 0x5b - 0x5c: RAM above 4G 104 * 0x5f: number of CPUs 105 * Unfortunately for us those positions in our CMOS are already taken 106 * by 4th SATA drive configuration. 107 * 101 108 */ 102 109 … … 510 517 * Memory sizes. 511 518 */ 512 #if 0519 #if VBOX_WITH_SMP_GUESTS 513 520 uint64_t cKBRam = pThis->cbRam / _1K; 514 521 uint64_t cKBAbove4GB = 0; … … 1372 1379 return PDMDEV_SET_ERROR(pDevIns, rc, 1373 1380 N_("Configuration error: Querying \"NumCPUs\" as integer failed")); 1381 1382 #ifdef VBOX_WITH_SMP_GUESTS 1383 pThis->cCpus = 2; 1384 LogRel(("Running with %d CPUs\n", pThis->cCpus)); 1385 #else 1386 if (pThis->cCpus != 1) 1387 { 1388 LogRel(("WARNING: guest SMP not supported in this build, going UP\n")); 1389 pThis->cCpus = 1; 1390 } 1391 #endif 1374 1392 1375 1393 rc = CFGMR3QueryU8Def(pCfgHandle, "IOAPIC", &pThis->u8IOAPIC, 1);
Note:
See TracChangeset
for help on using the changeset viewer.