Changeset 101460 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Oct 17, 2023 8:32:09 AM (17 months ago)
- svn:sync-xref-src-repo-rev:
- 159529
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Main/src-server/PlatformImpl.cpp ¶
r101174 r101460 528 528 529 529 return setErrorBoth(VBOX_E_PLATFORM_ARCH_NOT_SUPPORTED, VERR_PLATFORM_ARCH_NOT_SUPPORTED, 530 "Platform '%s' not supported", Platform::s_platformArchitectureToStr(m->bd->architectureType));530 "Platform '%s' not supported", Global::stringifyPlatformArchitecture(m->bd->architectureType)); 531 531 } 532 532 … … 564 564 565 565 return setErrorBoth(VBOX_E_PLATFORM_ARCH_NOT_SUPPORTED, VERR_PLATFORM_ARCH_NOT_SUPPORTED, 566 "Platform '%s' not supported", Platform::s_platformArchitectureToStr(m->bd->architectureType));566 "Platform '%s' not supported", Global::stringifyPlatformArchitecture(m->bd->architectureType)); 567 567 } 568 568 … … 751 751 { 752 752 m->bd->architectureType = aArchitecture; 753 LogRel(("Platform architecture set to '%s'\n", Platform::s_platformArchitectureToStr(m->bd->architectureType)));753 LogRel(("Platform architecture set to '%s'\n", Global::stringifyPlatformArchitecture(m->bd->architectureType))); 754 754 } 755 755 … … 848 848 } 849 849 850 /**851 * Converts a platform architecture to a string.852 *853 * @returns Platform architecture as a string.854 * @param enmArchitecture Platform architecture to convert.855 */856 /* static */857 const char *Platform::s_platformArchitectureToStr(PlatformArchitecture_T enmArchitecture)858 {859 switch (enmArchitecture)860 {861 case PlatformArchitecture_x86: return "x86";862 case PlatformArchitecture_ARM: return "ARM";863 default:864 break;865 }866 867 AssertFailedReturn("<None>");868 }869
Note:
See TracChangeset
for help on using the changeset viewer.