VirtualBox

Changeset 12294 in vbox for trunk/src/VBox/Devices/PC/BIOS


Ignore:
Timestamp:
Sep 9, 2008 1:47:17 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
36302
Message:

conditional compilation of guest SMP related stuff (disabled by default),
also memory above 4G included to that to give additional testing to the code

File:
1 edited

Legend:

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

    r12239 r12294  
    45884588{
    45894589  Bit32u  extended_memory_size=0; // 64bits long
    4590 #if 0  /* bird: later */
     4590#if VBOX_WITH_SMP_GUESTS
    45914591  Bit32u  extra_lowbits_memory_size=0;
    45924592#endif
    45934593  Bit16u  CX,DX;
    4594 #if 0  /* bird: later */
     4594#if VBOX_WITH_SMP_GUESTS
    45954595  Bit8u   extra_highbits_memory_size=0;
    45964596#endif
     
    46684668                }
    46694669
    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) */
    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 0 /* bird: later */
     4745#if VBOX_WITH_SMP_GUESTS
    47464746                        if (extra_highbits_memory_size || extra_lowbits_memory_size)
    47474747                            regs.u.r32.ebx = 6;
     
    47534753                        CLEAR_CF();
    47544754                        return;
    4755 #if 0 /* bird: later */
     4755#if VBOX_WITH_SMP_GUESTS
    47564756                    case 6:
    47574757                        /* Mapping of memory above 4 GB */
Note: See TracChangeset for help on using the changeset viewer.

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