1 | /** @file
|
---|
2 | * VirtualBox - Global Guest Operating System definition.
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*
|
---|
6 | * Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
7 | *
|
---|
8 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | * available from http://www.virtualbox.org. This file is free software;
|
---|
10 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | * General Public License (GPL) as published by the Free Software
|
---|
12 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
13 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
14 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | *
|
---|
16 | * The contents of this file may alternatively be used under the terms
|
---|
17 | * of the Common Development and Distribution License Version 1.0
|
---|
18 | * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
19 | * VirtualBox OSE distribution, in which case the provisions of the
|
---|
20 | * CDDL are applicable instead of those of the GPL.
|
---|
21 | *
|
---|
22 | * You may elect to license modified versions of this file under the
|
---|
23 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
24 | *
|
---|
25 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
26 | * Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
27 | * additional information or have any questions.
|
---|
28 | */
|
---|
29 |
|
---|
30 | #ifndef ___VBox_ostypes_h
|
---|
31 | #define ___VBox_ostypes_h
|
---|
32 |
|
---|
33 | #include <iprt/cdefs.h>
|
---|
34 |
|
---|
35 | __BEGIN_DECLS
|
---|
36 |
|
---|
37 | /**
|
---|
38 | * Global list of guest operating system types.
|
---|
39 | *
|
---|
40 | * They are grouped into families. A family identifer is always has
|
---|
41 | * mod 0x10000 == 0. New entries can be added, however other components
|
---|
42 | * depend on the values (e.g. the Qt GUI and guest additions) so the
|
---|
43 | * existing values MUST stay the same.
|
---|
44 | *
|
---|
45 | * Note: distinguish between 32 & 64 bits guest OSes by checking bit 8 (mod 0x100)
|
---|
46 | */
|
---|
47 | typedef enum VBOXOSTYPE
|
---|
48 | {
|
---|
49 | VBOXOSTYPE_Unknown = 0,
|
---|
50 | VBOXOSTYPE_DOS = 0x10000,
|
---|
51 | VBOXOSTYPE_Win31 = 0x15000,
|
---|
52 | VBOXOSTYPE_Win9x = 0x20000,
|
---|
53 | VBOXOSTYPE_Win95 = 0x21000,
|
---|
54 | VBOXOSTYPE_Win98 = 0x22000,
|
---|
55 | VBOXOSTYPE_WinMe = 0x23000,
|
---|
56 | VBOXOSTYPE_WinNT = 0x30000,
|
---|
57 | VBOXOSTYPE_WinNT4 = 0x31000,
|
---|
58 | VBOXOSTYPE_Win2k = 0x32000,
|
---|
59 | VBOXOSTYPE_WinXP = 0x33000,
|
---|
60 | VBOXOSTYPE_WinXP_x64 = 0x33100,
|
---|
61 | VBOXOSTYPE_Win2k3 = 0x34000,
|
---|
62 | VBOXOSTYPE_Win2k3_x64 = 0x34100,
|
---|
63 | VBOXOSTYPE_WinVista = 0x35000,
|
---|
64 | VBOXOSTYPE_WinVista_x64 = 0x35100,
|
---|
65 | VBOXOSTYPE_Win2k8 = 0x36000,
|
---|
66 | VBOXOSTYPE_Win2k8_x64 = 0x36100,
|
---|
67 | VBOXOSTYPE_OS2 = 0x40000,
|
---|
68 | VBOXOSTYPE_OS2Warp3 = 0x41000,
|
---|
69 | VBOXOSTYPE_OS2Warp4 = 0x42000,
|
---|
70 | VBOXOSTYPE_OS2Warp45 = 0x43000,
|
---|
71 | VBOXOSTYPE_ECS = 0x44000,
|
---|
72 | VBOXOSTYPE_Linux = 0x50000,
|
---|
73 | VBOXOSTYPE_Linux_x64 = 0x50100,
|
---|
74 | VBOXOSTYPE_Linux22 = 0x51000,
|
---|
75 | VBOXOSTYPE_Linux24 = 0x52000,
|
---|
76 | VBOXOSTYPE_Linux24_x64 = 0x52100,
|
---|
77 | VBOXOSTYPE_Linux26 = 0x53000,
|
---|
78 | VBOXOSTYPE_Linux26_x64 = 0x53100,
|
---|
79 | VBOXOSTYPE_ArchLinux = 0x54000,
|
---|
80 | VBOXOSTYPE_ArchLinux_x64 = 0x54100,
|
---|
81 | VBOXOSTYPE_Debian = 0x55000,
|
---|
82 | VBOXOSTYPE_Debian_x64 = 0x55100,
|
---|
83 | VBOXOSTYPE_OpenSUSE = 0x56000,
|
---|
84 | VBOXOSTYPE_OpenSUSE_x64 = 0x56100,
|
---|
85 | VBOXOSTYPE_FedoraCore = 0x57000,
|
---|
86 | VBOXOSTYPE_FedoraCore_x64 = 0x57100,
|
---|
87 | VBOXOSTYPE_Gentoo = 0x58000,
|
---|
88 | VBOXOSTYPE_Gentoo_x64 = 0x58100,
|
---|
89 | VBOXOSTYPE_Mandriva = 0x59000,
|
---|
90 | VBOXOSTYPE_Mandriva_x64 = 0x59100,
|
---|
91 | VBOXOSTYPE_RedHat = 0x5A000,
|
---|
92 | VBOXOSTYPE_RedHat_x64 = 0x5A100,
|
---|
93 | VBOXOSTYPE_Ubuntu = 0x5B000,
|
---|
94 | VBOXOSTYPE_Ubuntu_x64 = 0x5B100,
|
---|
95 | VBOXOSTYPE_Xandros = 0x5C000,
|
---|
96 | VBOXOSTYPE_Xandros_x64 = 0x5C100,
|
---|
97 | VBOXOSTYPE_FreeBSD = 0x60000,
|
---|
98 | VBOXOSTYPE_FreeBSD_x64 = 0x60100,
|
---|
99 | VBOXOSTYPE_OpenBSD = 0x61000,
|
---|
100 | VBOXOSTYPE_OpenBSD_x64 = 0x61100,
|
---|
101 | VBOXOSTYPE_NetBSD = 0x62000,
|
---|
102 | VBOXOSTYPE_NetBSD_x64 = 0x62100,
|
---|
103 | VBOXOSTYPE_Netware = 0x70000,
|
---|
104 | VBOXOSTYPE_Solaris = 0x80000,
|
---|
105 | VBOXOSTYPE_Solaris_x64 = 0x80100,
|
---|
106 | VBOXOSTYPE_OpenSolaris = 0x81000,
|
---|
107 | VBOXOSTYPE_OpenSolaris_x64 = 0x81100,
|
---|
108 | VBOXOSTYPE_L4 = 0x90000,
|
---|
109 | /** The usual 32-bit hack. */
|
---|
110 | VBOXOSTYPE_32BIT_HACK = 0x7fffffff
|
---|
111 | } VBOXOSTYPE;
|
---|
112 |
|
---|
113 | __END_DECLS
|
---|
114 |
|
---|
115 | #endif
|
---|