VirtualBox

Changeset 101369 in vbox for trunk/src/VBox/Main/src-all


Ignore:
Timestamp:
Oct 6, 2023 1:22:15 AM (19 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159372
Message:

Main/Global.cpp: Move the macros for compose the x64/x86/arm64/arm32 guest OS IDs to the VirtualBox API header so the GUI and others can make use of them as well. bugref:10384

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/Global.cpp

    r101367 r101369  
    4444#define VBOX_OSTYPE_ARM32(a_OStype)     VBOXOSTYPE_ ## a_OStype ## _arm32
    4545#define VBOX_OSTYPE_ARM64(a_OStype)     VBOXOSTYPE_ ## a_OStype ## _arm64
    46 
    47 /** @todo r=bird: These macros should move to VBox/cdefs.h or a similarly easily
    48  *        accessible file, so that the GUI can make use of them too. */
    49 /* Note: Keep this naming for legacy reasons. Always meant x86 (32-bit). */
    50 #define GUEST_OS_ID_STR_X86(a_szOSid)     a_szOSid
    51 #if 0 /** @todo r=bird: revert to legacy naming: */
    52 #define GUEST_OS_ID_STR_X64(a_szOSid)     a_szOSid  "_64"
    53 #else
    54 #define GUEST_OS_ID_STR_X64(a_szOSid)     a_szOSid  "_x64"
    55 #endif
    56 /* New since VBox 7.1. */
    57 #define GUEST_OS_ID_STR_A32(a_szOSid)     a_szOSid  "_arm32"
    58 /* New since VBox 7.1. */
    59 #define GUEST_OS_ID_STR_A64(a_szOSid)     a_szOSid  "_arm64"
    6046
    6147/* static */
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