0
|
1 /*
|
|
2 * Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
|
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
4 *
|
|
5 * This code is free software; you can redistribute it and/or modify it
|
|
6 * under the terms of the GNU General Public License version 2 only, as
|
|
7 * published by the Free Software Foundation.
|
|
8 *
|
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT
|
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
12 * version 2 for more details (a copy is included in the LICENSE file that
|
|
13 * accompanied this code).
|
|
14 *
|
|
15 * You should have received a copy of the GNU General Public License version
|
|
16 * 2 along with this work; if not, write to the Free Software Foundation,
|
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
18 *
|
|
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
20 * CA 95054 USA or visit www.sun.com if you need additional information or
|
|
21 * have any questions.
|
|
22 *
|
|
23 */
|
|
24
|
|
25 package sun.jvm.hotspot.debugger.win32.coff;
|
|
26
|
|
27 /** Constants enumerating which Windows NT subsystem a given Portable
|
|
28 Executable runs in; see {@link
|
|
29 sun.jvm.hotspot.debugger.win32.coff.OptionalHeaderWindowsSpecificFields#getSubsystem}.
|
|
30 (Some of the descriptions are taken directly from Microsoft's
|
|
31 documentation and are copyrighted by Microsoft.) */
|
|
32
|
|
33 public interface WindowsNTSubsystem {
|
|
34 /** Unknown subsystem. */
|
|
35 public short IMAGE_SUBSYSTEM_UNKNOWN = (short) 0;
|
|
36
|
|
37 /** Used for device drivers and native Windows NT processes. */
|
|
38 public short IMAGE_SUBSYSTEM_NATIVE = (short) 1;
|
|
39
|
|
40 /** Image runs in the Windows graphical user interface (GUI) subsystem. */
|
|
41 public short IMAGE_SUBSYSTEM_WINDOWS_GUI = (short) 2;
|
|
42
|
|
43 /** Image runs in the Windows character subsystem. */
|
|
44 public short IMAGE_SUBSYSTEM_WINDOWS_CUI = (short) 3;
|
|
45
|
|
46 /** Image runs in the Posix character subsystem. */
|
|
47 public short IMAGE_SUBSYSTEM_POSIX_CUI = (short) 7;
|
|
48
|
|
49 /** Image runs on Windows CE. */
|
|
50 public short IMAGE_SUBSYSTEM_WINDOWS_CE_GUI = (short) 9;
|
|
51
|
|
52 /** Image is an EFI application. */
|
|
53 public short IMAGE_SUBSYSTEM_EFI_APPLICATION = (short) 10;
|
|
54
|
|
55 /** Image is an EFI driver that provides boot services. */
|
|
56 public short IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER = (short) 11;
|
|
57
|
|
58 /** Image is an EFI driver that provides runtime services. */
|
|
59 public short IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER = (short) 12;
|
|
60 }
|