f019ce1e3424cba709ef3d68e3a2643ae250efb6
[mirror_edk2.git] / EdkNt32Pkg / Include / Protocol / WinNtIo.h
1 /*++
2
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 WinNtIo.h
15
16 Abstract:
17
18 --*/
19
20 #ifndef __WIN_NT_IO_H__
21 #define __WIN_NT_IO_H__
22
23 #define EFI_WIN_NT_IO_PROTOCOL_GUID \
24 { 0x96eb4ad6, 0xa32a, 0x11d4, { 0xbc, 0xfd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } }
25
26 typedef struct {
27 EFI_WIN_NT_THUNK_PROTOCOL *WinNtThunk;
28 EFI_GUID *TypeGuid;
29 CHAR16 *EnvString;
30 UINT16 InstanceNumber;
31 } EFI_WIN_NT_IO_PROTOCOL;
32
33
34 extern EFI_GUID gEfiWinNtIoProtocolGuid;
35
36 //
37 // The following GUIDs are used in EFI_WIN_NT_IO_PROTOCOL_GUID
38 // Device paths. They map 1:1 with NT envirnment variables. The variables
39 // define what virtual hardware the emulator/WinNtBusDriver will produce.
40 //
41 //
42 // EFI_WIN_NT_VIRTUAL_DISKS
43 //
44 #define EFI_WIN_NT_VIRTUAL_DISKS_GUID \
45 { \
46 0xc95a928, 0xa006, 0x11d4, {0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
47 }
48
49 extern EFI_GUID gEfiWinNtVirtualDisksGuid;
50
51 //
52 // EFI_WIN_NT_PHYSICAL_DISKS
53 //
54 #define EFI_WIN_NT_PHYSICAL_DISKS_GUID \
55 { \
56 0xc95a92f, 0xa006, 0x11d4, {0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
57 }
58
59 extern EFI_GUID gEfiWinNtPhysicalDisksGuid;
60
61 //
62 // EFI_WIN_NT_GOP_GUID
63 //
64 #define EFI_WIN_NT_GOP_GUID \
65 { \
66 0x9042a9de, 0x23dc, 0x4a38, {0x96, 0xfb, 0x7a, 0xde, 0xd0, 0x80, 0x51, 0x6a } \
67 }
68
69 extern EFI_GUID gEfiWinNtFileSystemGuid;
70
71 //
72 // EFI_WIN_NT_FILE_SYSTEM
73 //
74 #define EFI_WIN_NT_FILE_SYSTEM_GUID \
75 { \
76 0xc95a935, 0xa006, 0x11d4, {0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
77 }
78
79 extern EFI_GUID mEfiWinNtGopGuid;
80
81 //
82 // EFI_WIN_NT_SERIAL_PORT
83 //
84 #define EFI_WIN_NT_SERIAL_PORT_GUID \
85 { \
86 0xc95a93d, 0xa006, 0x11d4, {0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
87 }
88
89 extern EFI_GUID gEfiWinNtSerialPortGuid;
90
91 //
92 // EFI_WIN_NT_UGA
93 //
94 #define EFI_WIN_NT_UGA_GUID \
95 { \
96 0xab248e99, 0xabe1, 0x11d4, {0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
97 }
98
99 extern EFI_GUID gEfiWinNtUgaGuid;
100
101 //
102 // EFI_WIN_NT_CONSOLE
103 //
104 #define EFI_WIN_NT_CONSOLE_GUID \
105 { \
106 0xba73672c, 0xa5d3, 0x11d4, {0xbd, 0x0, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
107 }
108
109 extern EFI_GUID gEfiWinNtConsoleGuid;
110
111 //
112 // EFI_WIN_NT_MEMORY
113 //
114 #define EFI_WIN_NT_MEMORY_GUID \
115 { \
116 0x99042912, 0x122a, 0x11d4, {0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
117 }
118
119 extern EFI_GUID gEfiWinNtMemoryGuid;
120
121 //
122 // EFI_WIN_NT_CPU_MODEL
123 //
124 #define EFI_WIN_NT_CPU_MODEL_GUID \
125 { \
126 0xbee9b6ce, 0x2f8a, 0x11d4, {0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
127 }
128
129 extern EFI_GUID gEfiWinNtCPUModelGuid;
130
131 //
132 // EFI_WIN_NT_CPU_SPEED
133 //
134 #define EFI_WIN_NT_CPU_SPEED_GUID \
135 { \
136 0xd4f29055, 0xe1fb, 0x11d4, {0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
137 }
138
139 extern EFI_GUID gEfiWinNtCPUSpeedGuid;
140
141 //
142 // EFI_WIN_NT_PASS_THROUGH
143 //
144 #define EFI_WIN_NT_PASS_THROUGH_GUID \
145 { \
146 0xcc664eb8, 0x3c24, 0x4086, {0xb6, 0xf6, 0x34, 0xe8, 0x56, 0xbc, 0xe3, 0x6e } \
147 }
148
149 extern EFI_GUID gEfiWinNtPassThroughGuid;
150
151 #endif