VirtualBox

Changeset 102455 in vbox


Ignore:
Timestamp:
Dec 4, 2023 3:53:11 PM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160598
Message:

Main: Removed some more BUGBUG entries and documented empty / non-implemented code areas where needed. bugref:10384

Location:
trunk/src/VBox/Main
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r101619 r102455  
    52725272    AssertComRC(hrc);
    52735273
    5274     ChipsetType_T chipsetType = ChipsetType_PIIX3; /** @todo BUGBUG ASSUMES x86! */
     5274    ChipsetType_T chipsetType = ChipsetType_PIIX3;
    52755275    pPlatform->COMGETTER(ChipsetType)(&chipsetType);
    52765276    AssertComRC(hrc);
     
    1070910709    AssertComRC(hrc);
    1071010710
    10711     ChipsetType_T chipsetType = ChipsetType_PIIX3; /** @todo BUGBUG ASSUMES x86! */
     10711    ChipsetType_T chipsetType = ChipsetType_PIIX3;
    1071210712    pPlatform->COMGETTER(ChipsetType)(&chipsetType);
    1071310713    AssertComRC(hrc);
  • trunk/src/VBox/Main/src-server/FirmwareSettingsImpl.cpp

    r101418 r102455  
    685685    else
    686686    {
    687         m->bd->firmwareType   = FirmwareType_BIOS; /** @todo BUGBUG Handle ARM? */
     687        m->bd->firmwareType   = FirmwareType_BIOS;
    688688        m->bd->fIOAPICEnabled = true;
    689689    }
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r101476 r102455  
    236236Machine::HWData::HWData()
    237237{
    238     /* default values for a newly created machine */
     238    /* default values for a newly created machine for x86. */
    239239    mHWVersion.printf("%d", SchemaDefs::DefaultHardwareVersion);
    240240    mMemorySize = 128;
     
    259259    mDnDMode = DnDMode_Disabled;
    260260
    261     mKeyboardHIDType = KeyboardHIDType_PS2Keyboard; /** @todo BUGBUG Assumes x86! */
    262     mPointingHIDType = PointingHIDType_PS2Mouse; /** @todo BUGBUG Assumes x86! */
     261    mKeyboardHIDType = KeyboardHIDType_PS2Keyboard;
     262    mPointingHIDType = PointingHIDType_PS2Mouse;
    263263    mParavirtProvider = ParavirtProvider_Default;
    264264    mEmulatedUSBCardReaderEnabled = FALSE;
     
    63116311        if (FAILED(hrc)) return hrc;
    63126312
    6313         ChipsetType_T aChipset = ChipsetType_PIIX3; /** @todo BUGBUG ASSUMES x86! */
     6313        ChipsetType_T aChipset = ChipsetType_PIIX3;
    63146314        hrc = mPlatform->COMGETTER(ChipsetType)(&aChipset);
    63156315        if (FAILED(hrc)) return hrc;
  • trunk/src/VBox/Main/src-server/PlatformARMImpl.cpp

    r101063 r102455  
    241241    RT_NOREF(data);
    242242
    243     /** @todo BUGBUG Implement this form ARM! */
     243    /* Nothing here yet. */
    244244    return S_OK;
    245245}
     
    257257    RT_NOREF(data);
    258258
    259     /** @todo BUGBUG Implement this for ARM! */
     259    /* Nothing here yet. */
    260260    return S_OK;
    261261}
     
    265265    RT_NOREF(aOsType);
    266266
    267     /** @todo BUGBUG Implement this for ARM! */
    268     return S_OK;
    269 }
     267    /* Nothing here yet. */
     268    return S_OK;
     269}
  • trunk/src/VBox/Main/src-server/PlatformImpl.cpp

    r101460 r102455  
    243243    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    244244
    245     /** @todo BUGBUG Implement this! */
    246245    RT_NOREF(aArchitecture);
    247246
     247    /* Currently we don't allow changing the platform architecture after the object was created.
     248     * Mostly makes no sense, as this would render the VMs non-bootable and confuses users. */
    248249    return E_NOTIMPL;
    249250}
     
    510511    /* Allocates architecture-dependent stuff. */
    511512    HRESULT hrc = i_initArchitecture(m->bd->architectureType);
    512     AssertComRCReturnRC(hrc);
    513 
    514     switch (m->bd->architectureType)
    515     {
    516         case PlatformArchitecture_x86:
    517             return mX86->i_loadSettings(data.x86);
    518 
    519 #ifdef VBOX_WITH_VIRT_ARMV8
    520         case PlatformArchitecture_ARM:
    521             return mARM->i_loadSettings(data.arm);
    522 #endif
    523         case PlatformArchitecture_None:
    524             RT_FALL_THROUGH();
    525         default:
    526             break;
     513    if (SUCCEEDED(hrc))
     514    {
     515        switch (m->bd->architectureType)
     516        {
     517            case PlatformArchitecture_x86:
     518                return mX86->i_loadSettings(data.x86);
     519
     520#ifdef VBOX_WITH_VIRT_ARMV8
     521            case PlatformArchitecture_ARM:
     522                return mARM->i_loadSettings(data.arm);
     523#endif
     524            case PlatformArchitecture_None:
     525                RT_FALL_THROUGH();
     526            default:
     527                break;
     528        }
    527529    }
    528530
  • trunk/src/VBox/Main/xml/Settings.cpp

    r101418 r102455  
    39683968#ifdef VBOX_WITH_VIRT_ARMV8
    39693969PlatformARM::PlatformARM()
    3970     /** @todo BUGBUG Anything for ARM here? */
    3971 {
    3972 
     3970{
    39733971}
    39743972
     
    39763974{
    39773975    RT_NOREF(h);
    3978     return true; /** @todo BUGBUG Anything for ARM here? */
     3976    return true;
    39793977}
    39803978#endif /* VBOX_WITH_VIRT_ARMV8 */
     
    41214119    fPageFusionEnabled(false)
    41224120{
    4123     mapBootOrder[0] = DeviceType_Floppy; /** @todo BUGBUG Handle ARM. */
     4121    mapBootOrder[0] = DeviceType_Floppy;
    41244122    mapBootOrder[1] = DeviceType_DVD;
    41254123    mapBootOrder[2] = DeviceType_HardDisk;
     
    54415439        case PlatformArchitecture_ARM:
    54425440        {
    5443             /** @todo BUGBUG Implement loading ARM platform stuff here. */
     5441            /* Nothing here yet -- add ARM-specific stuff as soon as we have it. */
    54445442            break;
    54455443        }
     
    74287426    if (plat.architectureType == PlatformArchitecture_x86)
    74297427        buildPlatformX86XML(*pelmPlatformOrHardware, *pelmCPU, plat.x86);
    7430     /** @todo BUGBUG Put ARM stuff here. */
     7428    /** @todo Put ARM stuff here as soon as we have it. */
    74317429}
    74327430
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