VirtualBox

Changeset 101371 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Oct 6, 2023 1:23:31 AM (16 months ago)
Author:
vboxsync
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/idl/VirtualBox.xidl

    r101370 r101371  
    284284  </cpp>
    285285</if>
     286
     287<!--
     288  Macros for helping with constructing guest OS type ID strings for the
     289  different architectures.
     290-->
     291<cpp line="#define GUEST_OS_ID_STR_X86(a_szOSid)     a_szOSid"/>
     292<cpp line="#if 0 /** @todo r=bird: revert to legacy naming: */"/>
     293<cpp line="#define GUEST_OS_ID_STR_X64(a_szOSid)     a_szOSid  &quot;_64&quot;"/>
     294<cpp line="#else"/>
     295<cpp line="#define GUEST_OS_ID_STR_X64(a_szOSid)     a_szOSid  &quot;_x64&quot;"/>
     296<cpp line="#endif"/>
     297<cpp line="#define GUEST_OS_ID_STR_A32(a_szOSid)     a_szOSid  &quot;_arm32&quot;"/>
     298<cpp line="#define GUEST_OS_ID_STR_A64(a_szOSid)     a_szOSid  &quot;_arm64&quot;"/>
     299<cpp line="#define GUEST_OS_ID_STR_AMD64(a_szOSid)   GUEST_OS_ID_STR_X64(a_szOSid)"/>
     300<cpp line="#define GUEST_OS_ID_STR_ARM32(a_szOSid)   GUEST_OS_ID_STR_A32(a_szOSid)"/>
     301<cpp line="#define GUEST_OS_ID_STR_ARM64(a_szOSid)   GUEST_OS_ID_STR_A64(a_szOSid)"/>
    286302
    287303<!--
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