Changeset 101063 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Sep 8, 2023 12:41:13 PM (17 months ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/PlatformARMImpl.cpp
r101054 r101063 86 86 AssertReturn(autoInitSpan.isOk(), E_FAIL); 87 87 88 RT_NOREF(aParent, aMachine); 88 /* share the parent + machine weakly */ 89 unconst(mParent) = aParent; 90 unconst(mMachine) = aMachine; 91 92 m = new Data; 93 m->bd.allocate(); 89 94 90 95 autoInitSpan.setSucceeded(); … … 237 242 238 243 /** @todo BUGBUG Implement this form ARM! */ 239 return E_NOTIMPL;244 return S_OK; 240 245 } 241 246 … … 252 257 RT_NOREF(data); 253 258 254 /** @todo BUGBUG Implement this form ARM! */ 255 return E_NOTIMPL; 256 } 257 259 /** @todo BUGBUG Implement this for ARM! */ 260 return S_OK; 261 } 262 263 HRESULT PlatformARM::i_applyDefaults(GuestOSType *aOsType) 264 { 265 RT_NOREF(aOsType); 266 267 /** @todo BUGBUG Implement this for ARM! */ 268 return S_OK; 269 } -
trunk/src/VBox/Main/src-server/PlatformImpl.cpp
r101056 r101063 525 525 } 526 526 527 AssertFailedReturn(VBOX_E_PLATFORM_ARCH_NOT_SUPPORTED);527 return setErrorVrc(VBOX_E_PLATFORM_ARCH_NOT_SUPPORTED, "Platform '%s' not supported", Platform::s_platformArchitectureToStr(m->bd->architectureType)); 528 528 } 529 529 … … 560 560 } 561 561 562 AssertFailedReturn(VBOX_E_PLATFORM_ARCH_NOT_SUPPORTED);562 return setErrorVrc(VBOX_E_PLATFORM_ARCH_NOT_SUPPORTED, "Platform '%s' not supported", Platform::s_platformArchitectureToStr(m->bd->architectureType)); 563 563 } 564 564 … … 827 827 } 828 828 829 /** 830 * Converts a platform architecture to a string. 831 * 832 * @returns Platform architecture as a string. 833 * @param enmArchitecture Platform architecture to convert. 834 */ 835 const char *Platform::s_platformArchitectureToStr(PlatformArchitecture_T enmArchitecture) 836 { 837 switch (enmArchitecture) 838 { 839 case PlatformArchitecture_x86: return "x86"; 840 case PlatformArchitecture_ARM: return "ARM"; 841 default: 842 break; 843 } 844 845 AssertFailedReturn("<None>"); 846 } 847 -
trunk/src/VBox/Main/src-server/PlatformX86Impl.cpp
r101054 r101063 88 88 AssertReturn(autoInitSpan.isOk(), E_FAIL); 89 89 90 m = new Data;91 92 90 /* share the parent + machine weakly */ 93 91 unconst(mParent) = aParent; 94 92 unconst(mMachine) = aMachine; 95 93 94 m = new Data; 96 95 m->bd.allocate(); 97 96
Note:
See TracChangeset
for help on using the changeset viewer.