Changeset 12468 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Sep 15, 2008 3:42:08 PM (16 years ago)
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/rombios.c
r12294 r12468 4588 4588 { 4589 4589 Bit32u extended_memory_size=0; // 64bits long 4590 #if VBOX_WITH_SMP_GUESTS4590 #ifdef VBOX_WITH_MORE_THAN_4GB 4591 4591 Bit32u extra_lowbits_memory_size=0; 4592 4592 #endif 4593 4593 Bit16u CX,DX; 4594 #if VBOX_WITH_SMP_GUESTS4594 #ifdef VBOX_WITH_MORE_THAN_4GB 4595 4595 Bit8u extra_highbits_memory_size=0; 4596 4596 #endif … … 4668 4668 } 4669 4669 4670 #if VBOX_WITH_SMP_GUESTS/* bird: later (btw. this ain't making sense complixity wise, unless its a AMI/AWARD/PHOENIX interface) */4670 #ifdef VBOX_WITH_MORE_THAN_4GB /* 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 VBOX_WITH_SMP_GUESTS4745 #ifdef VBOX_WITH_MORE_THAN_4GB 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 VBOX_WITH_SMP_GUESTS4755 #ifdef VBOX_WITH_MORE_THAN_4GB 4756 4756 case 6: 4757 4757 /* Mapping of memory above 4 GB */ -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r12428 r12468 517 517 * Memory sizes. 518 518 */ 519 #if VBOX_WITH_SMP_GUESTS519 #ifdef VBOX_WITH_MORE_THAN_4GB 520 520 uint64_t cKBRam = pThis->cbRam / _1K; 521 521 uint64_t cKBAbove4GB = 0;
Note:
See TracChangeset
for help on using the changeset viewer.