VirtualBox

Changeset 102455 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Dec 4, 2023 3:53:11 PM (14 months ago)
Author:
vboxsync
Message:

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

Location:
trunk/src/VBox/Main/src-server
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 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
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