Changeset 101196 in vbox for trunk/src/VBox
- Timestamp:
- Sep 20, 2023 1:19:30 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/Global.cpp
r101189 r101196 48 48 * NOTE3: if you add new guest OS types please check if the code in 49 49 * Machine::getEffectiveParavirtProvider and Console::i_configConstructorInner 50 * are still covering the relevant cases. */ 50 * are still covering the relevant cases. 51 * NOTE4: platform support: always define all guest OS types w/o guarding new / different platform architectures 52 * with own #defines. If (and how) guest OS types will be reported is decided by the actual Main 53 * implementations(s). */ 51 54 { "Other", "Other", "", "Other", "Other/Unknown", 52 55 VBOXOSTYPE_Unknown, VBOXOSHINT_NONE, … … 59 62 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 }, 60 63 61 #ifdef VBOX_WITH_VIRT_ARMV862 { "Other", "Other", "", "Other_ARM", "Other/Unknown (ARM)",63 VBOXOSTYPE_Unknown_ARM32, VBOXOSHINT_NONE | VBOXOSHINT_EFI,64 1, 64, 4, 2 * _1G64, GraphicsControllerType_VBoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,65 StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_VirtioSound, AudioCodecType_Null },66 67 64 { "Other", "Other", "", "Other_ARM64", "Other/Unknown (ARM 64-bit)", 68 65 VBOXOSTYPE_Unknown_ARM64, VBOXOSHINT_64BIT | VBOXOSHINT_EFI, 69 1, 64, 4, 2 * _1G64, GraphicsControllerType_V BoxSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI,66 1, 64, 4, 2 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, 70 67 StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_VirtioSound, AudioCodecType_Null }, 71 #endif72 68 73 69 { "Windows", "Microsoft Windows", "", "Windows31", "Windows 3.1", … … 221 217 StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_STAC9700 }, 222 218 223 #define VBOX_LINUX_OSHINTS_A_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC | VBOXOSHINT_PAE) 224 #define VBOX_LINUX_OSHINTS_A_X64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC | VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC) 219 #define VBOX_LINUX_OSHINTS_A_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC | VBOXOSHINT_PAE) 220 #define VBOX_LINUX_OSHINTS_A_X64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC | VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | VBOXOSHINT_IOAPIC) 221 #define VBOX_LINUX_OSHINTS_A_ARM64 (VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_64BIT) 225 222 226 223 #define VBOX_LINUX_OSHINTS_B_X86 (VBOXOSHINT_RTCUTC | VBOXOSHINT_PAE | VBOXOSHINT_X2APIC) … … 253 250 a_HDStorageController, a_HDStorageBusType, ChipsetType_PIIX3, IommuType_None, AudioControllerType_AC97, AudioCodecType_AD1980 } 254 251 252 #define VBOX_LINUX_SUBTYPE_TEMPLATE_ARM64(a_Variant, a_Id, a_Description, a_OStype, a_OSHint, a_Memory, a_Vram, a_Diskspace, \ 253 a_NetworkAdapter, a_HDStorageController, a_HDStorageBusType) \ 254 { "Linux", "Linux", #a_Variant, VBOX_LINUX_OSID_STR_64(a_Id), a_Description, VBOX_LINUX_OSTYPE_ARM64(a_OStype), a_OSHint, \ 255 1, a_Memory, a_Vram, a_Diskspace * _1G64, GraphicsControllerType_VMSVGA, a_NetworkAdapter, 0, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI, \ 256 a_HDStorageController, a_HDStorageBusType, ChipsetType_ARMv8Virtual, IommuType_None, AudioControllerType_VirtioSound, AudioCodecType_Null } 257 255 258 /* Linux x86 32-bit sub-type template defaulting to 1 CPU with USB-tablet-mouse/VMSVGA/Intel-Pro1000/PIIX4+IDE DVD/AHCI+SATA disk/AC97 */ 256 259 #define VBOX_LINUX_SUBTYPE_A_X86(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \ … … 262 265 VBOX_LINUX_SUBTYPE_TEMPLATE_X64(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_A_X64, a_Memory, a_Vram, a_Diskspace, \ 263 266 NetworkAdapterType_I82540EM, StorageControllerType_IntelAhci, StorageBus_SATA) 267 268 #define VBOX_LINUX_SUBTYPE_A_ARM64(a_Variant, a_Id, a_Description, a_Memory, a_Vram, a_Diskspace) \ 269 VBOX_LINUX_SUBTYPE_TEMPLATE_ARM64(a_Variant, a_Id, a_Description, a_Id, VBOX_LINUX_OSHINTS_A_ARM64, a_Memory, a_Vram, a_Diskspace, \ 270 NetworkAdapterType_I82540EM, StorageControllerType_VirtioSCSI, StorageBus_VirtioSCSI) 264 271 265 272 #define VBOX_LINUX_SUBTYPE_A_WITH_OSTYPE_X86(a_Variant, a_Id, a_Description, a_OStype, a_Memory, a_Vram, a_Diskspace) \ … … 312 319 VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian, "Debian (32-bit)", 2048, 16, 20), 313 320 VBOX_LINUX_SUBTYPE_A_X64(Debian, Debian, "Debian (64-bit)", 2048, 16, 20), 321 VBOX_LINUX_SUBTYPE_A_ARM64(Debian, Debian, "Debian (64-bit)", 2048, 128, 20), 314 322 VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian31, "Debian 3.1 Sarge (32-bit)", 1024, 16, 8), // 32-bit only 315 323 VBOX_LINUX_SUBTYPE_A_X86(Debian, Debian4, "Debian 4.0 Etch (32-bit)", 1024, 16, 8),
Note:
See TracChangeset
for help on using the changeset viewer.