VirtualBox

Changeset 101188 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 20, 2023 9:19:31 AM (16 months ago)
Author:
vboxsync
Message:

ostypes.h: Renamed _arm32 / _arm64 -> _ARM32 / _ARM64, to match the rest of the stuff.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

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

    r101178 r101188  
    6161#ifdef VBOX_WITH_VIRT_ARMV8
    6262    { "Other",   "Other",             "",               "Other_ARM",          "Other/Unknown (ARM)",
    63       VBOXOSTYPE_Unknown_arm32,       VBOXOSHINT_NONE | VBOXOSHINT_EFI,
     63      VBOXOSTYPE_Unknown_ARM32,       VBOXOSHINT_NONE | VBOXOSHINT_EFI,
    6464      1,   64,   4,  2 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,
    6565      StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_VirtioSound, AudioCodecType_Null },
    6666
    6767    { "Other",   "Other",             "",               "Other_ARM64",        "Other/Unknown (ARM 64-bit)",
    68       VBOXOSTYPE_Unknown_arm64,       VBOXOSHINT_64BIT | VBOXOSHINT_EFI,
     68      VBOXOSTYPE_Unknown_ARM64,       VBOXOSHINT_64BIT | VBOXOSHINT_EFI,
    6969      1,   64,   4,  2 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,
    7070      StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_VirtioSound, AudioCodecType_Null },
  • trunk/src/VBox/Main/src-server/GuestOSTypeImpl.cpp

    r101177 r101188  
    215215        || osTypePlatformArchitectureMasked & VBOXOSTYPE_x64)
    216216        return PlatformArchitecture_x86;
    217     else if (   osTypePlatformArchitectureMasked & VBOXOSTYPE_arm32
    218              || osTypePlatformArchitectureMasked & VBOXOSTYPE_arm64)
     217    else if (   osTypePlatformArchitectureMasked & VBOXOSTYPE_ARM32
     218             || osTypePlatformArchitectureMasked & VBOXOSTYPE_ARM64)
    219219        return PlatformArchitecture_ARM;
    220220
  • trunk/src/VBox/Main/src-server/UnattendedImpl.cpp

    r101170 r101188  
    550550        /* PROCESSOR_ARCHITECTURE_PPC           / [3]  = */ { "ppc",                 VBOXOSTYPE_UnknownArch },
    551551        /* PROCESSOR_ARCHITECTURE_SHX           / [4]  = */ { "shx",                 VBOXOSTYPE_UnknownArch },
    552         /* PROCESSOR_ARCHITECTURE_ARM           / [5]  = */ { "arm32",               VBOXOSTYPE_arm32       },
     552        /* PROCESSOR_ARCHITECTURE_ARM           / [5]  = */ { "arm32",               VBOXOSTYPE_ARM32       },
    553553        /* PROCESSOR_ARCHITECTURE_IA64          / [6]  = */ { "ia64",                VBOXOSTYPE_UnknownArch },
    554554        /* PROCESSOR_ARCHITECTURE_ALPHA64       / [7]  = */ { "alpha64",             VBOXOSTYPE_UnknownArch },
     
    557557        /* PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 / [10] = */ { "x86-on-x64",          VBOXOSTYPE_UnknownArch },
    558558        /* PROCESSOR_ARCHITECTURE_NEUTRAL       / [11] = */ { "noarch",              VBOXOSTYPE_UnknownArch },
    559         /* PROCESSOR_ARCHITECTURE_ARM64         / [12] = */ { "arm64",               VBOXOSTYPE_arm64       },
     559        /* PROCESSOR_ARCHITECTURE_ARM64         / [12] = */ { "arm64",               VBOXOSTYPE_ARM64       },
    560560        /* PROCESSOR_ARCHITECTURE_ARM32_ON_WIN64/ [13] = */ { "arm32-on-arm64",      VBOXOSTYPE_UnknownArch },
    561561        /* PROCESSOR_ARCHITECTURE_IA32_ON_ARM64 / [14] = */ { "x86-on-arm32",        VBOXOSTYPE_UnknownArch },
     
    13061306    { RT_STR_TUPLE("x64"),    VBOXOSTYPE_x64 }, /* ditto */
    13071307
    1308     { RT_STR_TUPLE("arm"),    VBOXOSTYPE_arm64 },
    1309     { RT_STR_TUPLE("arm64"),  VBOXOSTYPE_arm64 },
    1310     { RT_STR_TUPLE("arm-64"), VBOXOSTYPE_arm64 },
    1311     { RT_STR_TUPLE("arm_64"), VBOXOSTYPE_arm64 },
    1312 
    1313     { RT_STR_TUPLE("arm32"),  VBOXOSTYPE_arm32 },
    1314     { RT_STR_TUPLE("arm-32"), VBOXOSTYPE_arm32 },
    1315     { RT_STR_TUPLE("arm_32"), VBOXOSTYPE_arm32 },
    1316     { RT_STR_TUPLE("armel"),  VBOXOSTYPE_arm32 }, // mostly Debians
     1308    { RT_STR_TUPLE("arm"),    VBOXOSTYPE_ARM64 },
     1309    { RT_STR_TUPLE("arm64"),  VBOXOSTYPE_ARM64 },
     1310    { RT_STR_TUPLE("arm-64"), VBOXOSTYPE_ARM64 },
     1311    { RT_STR_TUPLE("arm_64"), VBOXOSTYPE_ARM64 },
     1312
     1313    { RT_STR_TUPLE("arm32"),  VBOXOSTYPE_ARM32 },
     1314    { RT_STR_TUPLE("arm-32"), VBOXOSTYPE_ARM32 },
     1315    { RT_STR_TUPLE("arm_32"), VBOXOSTYPE_ARM32 },
     1316    { RT_STR_TUPLE("armel"),  VBOXOSTYPE_ARM32 }, // mostly Debians
    13171317
    13181318    { RT_STR_TUPLE("x86"),    VBOXOSTYPE_x86 },
     
    20732073        static struct { const char *pszFile; VBOXOSTYPE fArch; } const s_aArchSpecificFiles[] =
    20742074        {
    2075             { "EFI/BOOT/grubaa64.efi", VBOXOSTYPE_arm64 },
    2076             { "EFI/BOOT/BOOTAA64.EFI", VBOXOSTYPE_arm64 },
     2075            { "EFI/BOOT/grubaa64.efi", VBOXOSTYPE_ARM64 },
     2076            { "EFI/BOOT/BOOTAA64.EFI", VBOXOSTYPE_ARM64 },
    20772077        };
    20782078        PRTFSOBJINFO pObjInfo = (PRTFSOBJINFO)&pBuf->ab[0];
     
    39573957    /* For now we don't support unattended installation for ARM guests. */
    39583958    const VBOXOSTYPE enmArchitectureMasked = (VBOXOSTYPE)(mEnmOsType & VBOXOSTYPE_ArchitectureMask);
    3959     if (   enmArchitectureMasked == VBOXOSTYPE_arm32
    3960         || enmArchitectureMasked == VBOXOSTYPE_arm64)
     3959    if (   enmArchitectureMasked == VBOXOSTYPE_ARM32
     3960        || enmArchitectureMasked == VBOXOSTYPE_ARM64)
    39613961        return S_OK;
    39623962
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