1 /**@file 2 3 Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> 4 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 #include <Protocol/WinNtThunk.h> 24 25 #define EFI_WIN_NT_IO_PROTOCOL_GUID \ 26 { 0x96eb4ad6, 0xa32a, 0x11d4, { 0xbc, 0xfd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } } 27 28 extern EFI_GUID gEfiWinNtIoProtocolGuid; 29 30 typedef struct { 31 EFI_WIN_NT_THUNK_PROTOCOL *WinNtThunk; 32 EFI_GUID *TypeGuid; 33 CHAR16 *EnvString; 34 UINT16 InstanceNumber; 35 } EFI_WIN_NT_IO_PROTOCOL; 36 37 // 38 // The following GUIDs are used in EFI_WIN_NT_IO_PROTOCOL_GUID 39 // Device paths. They map 1:1 with NT envirnment variables. The variables 40 // define what virtual hardware the emulator/WinNtBusDriver will produce. 41 // 42 // 43 // EFI_WIN_NT_VIRTUAL_DISKS 44 // 45 #define EFI_WIN_NT_VIRTUAL_DISKS_GUID \ 46 { \ 47 0xc95a928, 0xa006, 0x11d4, {0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \ 48 } 49 50 extern EFI_GUID gEfiWinNtVirtualDisksGuid; 51 52 // 53 // EFI_WIN_NT_PHYSICAL_DISKS 54 // 55 #define EFI_WIN_NT_PHYSICAL_DISKS_GUID \ 56 { \ 57 0xc95a92f, 0xa006, 0x11d4, {0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \ 58 } 59 60 extern EFI_GUID gEfiWinNtPhysicalDisksGuid; 61 62 // 63 // EFI_WIN_NT_FILE_SYSTEM 64 // 65 #define EFI_WIN_NT_FILE_SYSTEM_GUID \ 66 { \ 67 0xc95a935, 0xa006, 0x11d4, {0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \ 68 } 69 70 extern EFI_GUID gEfiWinNtFileSystemGuid; 71 72 // 73 // EFI_WIN_NT_SERIAL_PORT 74 // 75 #define EFI_WIN_NT_SERIAL_PORT_GUID \ 76 { \ 77 0xc95a93d, 0xa006, 0x11d4, {0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \ 78 } 79 80 extern EFI_GUID gEfiWinNtSerialPortGuid; 81 82 // 83 // EFI_WIN_NT_UGA 84 // 85 #define EFI_WIN_NT_UGA_GUID \ 86 { \ 87 0xab248e99, 0xabe1, 0x11d4, {0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \ 88 } 89 90 extern EFI_GUID gEfiWinNtUgaGuid; 91 92 // 93 // EFI_WIN_NT_GOP 94 // 95 #define EFI_WIN_NT_GOP_GUID \ 96 { \ 97 0x4e11e955, 0xccca, 0x11d4, 0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \ 98 } 99 100 extern EFI_GUID gEfiWinNtGopGuid; 101 102 // 103 // EFI_WIN_NT_CONSOLE 104 // 105 #define EFI_WIN_NT_CONSOLE_GUID \ 106 { \ 107 0xba73672c, 0xa5d3, 0x11d4, {0xbd, 0x0, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \ 108 } 109 110 extern EFI_GUID gEfiWinNtConsoleGuid; 111 112 // 113 // EFI_WIN_NT_MEMORY 114 // 115 #define EFI_WIN_NT_MEMORY_GUID \ 116 { \ 117 0x99042912, 0x122a, 0x11d4, {0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \ 118 } 119 120 extern EFI_GUID gEfiWinNtMemoryGuid; 121 122 // 123 // EFI_WIN_NT_CPU_MODEL 124 // 125 #define EFI_WIN_NT_CPU_MODEL_GUID \ 126 { \ 127 0xbee9b6ce, 0x2f8a, 0x11d4, {0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \ 128 } 129 130 extern EFI_GUID gEfiWinNtCPUModelGuid; 131 132 // 133 // EFI_WIN_NT_CPU_SPEED 134 // 135 #define EFI_WIN_NT_CPU_SPEED_GUID \ 136 { \ 137 0xd4f29055, 0xe1fb, 0x11d4, {0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \ 138 } 139 140 extern EFI_GUID gEfiWinNtCPUSpeedGuid; 141 142 // 143 // EFI_WIN_NT_PASS_THROUGH 144 // 145 #define EFI_WIN_NT_PASS_THROUGH_GUID \ 146 { \ 147 0xcc664eb8, 0x3c24, 0x4086, {0xb6, 0xf6, 0x34, 0xe8, 0x56, 0xbc, 0xe3, 0x6e } \ 148 } 149 150 extern EFI_GUID gEfiWinNtPassThroughGuid; 151 152 #endif 153