VirtualBox

Changeset 12468 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Sep 15, 2008 3:42:08 PM (16 years ago)
Author:
vboxsync
Message:

VBOX_WITH_MORE_THAN_4GB config variable

Location:
trunk/src/VBox/Devices/PC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/rombios.c

    r12294 r12468  
    45884588{
    45894589  Bit32u  extended_memory_size=0; // 64bits long
    4590 #if VBOX_WITH_SMP_GUESTS
     4590#ifdef VBOX_WITH_MORE_THAN_4GB
    45914591  Bit32u  extra_lowbits_memory_size=0;
    45924592#endif
    45934593  Bit16u  CX,DX;
    4594 #if VBOX_WITH_SMP_GUESTS
     4594#ifdef VBOX_WITH_MORE_THAN_4GB
    45954595  Bit8u   extra_highbits_memory_size=0;
    45964596#endif
     
    46684668                }
    46694669
    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) */
    46714671                extra_lowbits_memory_size = inb_cmos(0x61);
    46724672                extra_lowbits_memory_size <<= 8;
     
    47434743                        set_e820_range(ES, regs.u.r16.di,
    47444744                                       0xfffc0000L, 0x00000000L, 0, 0, 2);
    4745 #if VBOX_WITH_SMP_GUESTS
     4745#ifdef VBOX_WITH_MORE_THAN_4GB
    47464746                        if (extra_highbits_memory_size || extra_lowbits_memory_size)
    47474747                            regs.u.r32.ebx = 6;
     
    47534753                        CLEAR_CF();
    47544754                        return;
    4755 #if VBOX_WITH_SMP_GUESTS
     4755#ifdef VBOX_WITH_MORE_THAN_4GB
    47564756                    case 6:
    47574757                        /* Mapping of memory above 4 GB */
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r12428 r12468  
    517517     * Memory sizes.
    518518     */
    519 #if VBOX_WITH_SMP_GUESTS
     519#ifdef VBOX_WITH_MORE_THAN_4GB
    520520    uint64_t cKBRam = pThis->cbRam / _1K;
    521521    uint64_t cKBAbove4GB = 0;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette