/*+++\r
\r
-Copyright (c) 2006, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+Copyright (c) 2006, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
Module Name:\r
\r
\r
Abstract:\r
\r
-This following section documents the envirnoment variables for the Win NT \r
-build. These variables are used to define the (virtual) hardware \r
+This following section documents the envirnoment variables for the Win NT\r
+build. These variables are used to define the (virtual) hardware\r
configuration of the NT environment\r
\r
-A ! can be used to seperate multiple instances in a variable. Each \r
-instance represents a seperate hardware device. \r
+A ! can be used to seperate multiple instances in a variable. Each\r
+instance represents a seperate hardware device.\r
\r
EFI_WIN_NT_PHYSICAL_DISKS - maps to drives on your system\r
EFI_WIN_NT_VIRTUAL_DISKS - maps to a device emulated by a file\r
<block count> - Decimal number of blocks a device supports.\r
<block size> - Decimal number of bytes per block.\r
\r
- NT envirnonment variable contents. '<' and '>' are not part of the variable, \r
- they are just used to make this help more readable. There should be no \r
- spaces between the ';'. Extra spaces will break the variable. A '!' is \r
+ NT envirnonment variable contents. '<' and '>' are not part of the variable,\r
+ they are just used to make this help more readable. There should be no\r
+ spaces between the ';'. Extra spaces will break the variable. A '!' is\r
used to seperate multiple devices in a variable.\r
\r
- EFI_WIN_NT_VIRTUAL_DISKS = \r
+ EFI_WIN_NT_VIRTUAL_DISKS =\r
<F | R><O | W>;<block count>;<block size>[!...]\r
\r
EFI_WIN_NT_PHYSICAL_DISKS =\r
<drive letter>:<F | R><O | W>;<block count>;<block size>[!...]\r
\r
Virtual Disks: These devices use a file to emulate a hard disk or removable\r
- media device. \r
- \r
+ media device.\r
+\r
Thus a 20 MB emulated hard drive would look like:\r
EFI_WIN_NT_VIRTUAL_DISKS=FW;40960;512\r
\r
Thus a standard CD-ROM floppy would look like:\r
EFI_WIN_NT_PHYSICAL_DISKS=Z:RO;307200;2048\r
\r
- EFI_WIN_NT_FILE_SYSTEM = \r
+ EFI_WIN_NT_FILE_SYSTEM =\r
<directory path>[!...]\r
\r
Mounting the two directories C:\FOO and C:\BAR would look like:\r
EFI_WIN_NT_FILE_SYSTEM=c:\foo!c:\bar\r
\r
- EFI_WIN_NT_CONSOLE = \r
+ EFI_WIN_NT_CONSOLE =\r
<window title>\r
\r
Declaring a text console window with the title "My EFI Console" woild look like:\r
EFI_WIN_NT_CONSOLE=My EFI Console\r
\r
- EFI_WIN_NT_UGA = \r
+ EFI_WIN_NT_UGA =\r
<width> <height>[!...]\r
\r
Declaring a two UGA windows with resolutions of 800x600 and 1024x768 would look like:\r
Example : EFI_WIN_NT_UGA=800 600!1024 768\r
\r
- EFI_WIN_NT_SERIAL_PORT = \r
+ EFI_WIN_NT_SERIAL_PORT =\r
<port name>[!...]\r
\r
Declaring two serial ports on COM1 and COM2 would look like:\r
---*/\r
\r
#include "WinNtBusDriver.h"\r
-//#include "PciHostBridge.h"\r
-\r
-//\r
-// Define GUID for the WinNt Bus Driver\r
-//\r
-static EFI_GUID gWinNtBusDriverGuid = {\r
- 0x419f582, 0x625, 0x4531, 0x8a, 0x33, 0x85, 0xa9, 0x96, 0x5c, 0x95, 0xbc\r
-};\r
\r
+extern EFI_GUID gWinNtBusDriverGuid;\r
//\r
// DriverBinding protocol global\r
//\r
return EFI_UNSUPPORTED;\r
}\r
}\r
- \r
+\r
//\r
// Open the IO Abstraction(s) needed to perform the supported test\r
//\r
\r
Returns:\r
\r
- EFI_DEVICE_PATH_PROTOCOL \r
+ EFI_DEVICE_PATH_PROTOCOL\r
\r
--*/\r
{\r