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