]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/UnixBusDriverDxe/UnixBusDriver.c
Merged socket development branch
[mirror_edk2.git] / UnixPkg / UnixBusDriverDxe / UnixBusDriver.c
index fa242eb1711b8ac7392f1f309692d41441dbaa56..e1ec083822e689d10d0e82a3917607dfade561e4 100644 (file)
@@ -1,7 +1,7 @@
 /*+++\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+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
@@ -15,7 +15,7 @@ Module Name:
 \r
 Abstract:\r
 \r
-This following section documents the envirnoment variables for the Win UNIX \r
+This following section documents the environment variables for the UNIX \r
 build.  These variables are used to define the (virtual) hardware \r
 configuration of the UNIX environment\r
 \r
@@ -118,15 +118,17 @@ EFI_DRIVER_BINDING_PROTOCOL           gUnixBusDriverBinding = {
 // device path.\r
 //\r
 UNIX_PCD_ENTRY  mPcdEnvironment[] = {\r
-  {PcdToken(PcdUnixConsole),       &gEfiUnixConsoleGuid},\r
-  {PcdToken(PcdUnixUga),           &gEfiUnixUgaGuid},\r
-  {PcdToken(PcdUnixFileSystem),    &gEfiUnixFileSystemGuid},\r
-  {PcdToken(PcdUnixSerialPort),    &gEfiUnixSerialPortGuid},\r
-  {PcdToken(PcdUnixVirtualDisk),   &gEfiUnixVirtualDisksGuid},\r
-  {PcdToken(PcdUnixPhysicalDisk),  &gEfiUnixPhysicalDisksGuid},\r
-  {PcdToken(PcdUnixCpuModel),      &gEfiUnixCPUModelGuid},\r
-  {PcdToken(PcdUnixCpuSpeed),      &gEfiUnixCPUSpeedGuid},\r
-  {PcdToken(PcdUnixMemorySize),    &gEfiUnixMemoryGuid}\r
+  {PcdToken(PcdUnixConsole),           &gEfiUnixConsoleGuid},\r
+  {PcdToken(PcdUnixUga),               &gEfiUnixUgaGuid},\r
+  {PcdToken(PcdUnixGop),               &gEfiUnixGopGuid},\r
+  {PcdToken(PcdUnixFileSystem),        &gEfiUnixFileSystemGuid},\r
+  {PcdToken(PcdUnixSerialPort),        &gEfiUnixSerialPortGuid},\r
+  {PcdToken(PcdUnixVirtualDisk),       &gEfiUnixVirtualDisksGuid},\r
+  {PcdToken(PcdUnixPhysicalDisk),      &gEfiUnixPhysicalDisksGuid},\r
+  {PcdToken(PcdUnixCpuModel),          &gEfiUnixCPUModelGuid},\r
+  {PcdToken(PcdUnixCpuSpeed),          &gEfiUnixCPUSpeedGuid},\r
+  {PcdToken(PcdUnixMemorySize),        &gEfiUnixMemoryGuid},\r
+  {PcdToken(PcdUnixNetworkInterface),  &gEfiUnixNetworkGuid}\r
 };\r
 \r
 VOID *\r
@@ -168,13 +170,6 @@ Returns:
   None\r
 \r
 --*/\r
-// TODO:    This - add argument and description to function comment\r
-// TODO:    ControllerHandle - add argument and description to function comment\r
-// TODO:    RemainingDevicePath - add argument and description to function comment\r
-// TODO:    EFI_UNSUPPORTED - add return value to function comment\r
-// TODO:    EFI_UNSUPPORTED - add return value to function comment\r
-// TODO:    EFI_SUCCESS - add return value to function comment\r
-// TODO:    EFI_SUCCESS - add return value to function comment\r
 {\r
   EFI_STATUS                Status;\r
   EFI_DEVICE_PATH_PROTOCOL  *ParentDevicePath;\r
@@ -300,12 +295,6 @@ Returns:
   None\r
 \r
 --*/\r
-// TODO:    This - add argument and description to function comment\r
-// TODO:    ControllerHandle - add argument and description to function comment\r
-// TODO:    RemainingDevicePath - add argument and description to function comment\r
-// TODO:    EFI_OUT_OF_RESOURCES - add return value to function comment\r
-// TODO:    EFI_OUT_OF_RESOURCES - add return value to function comment\r
-// TODO:    EFI_SUCCESS - add return value to function comment\r
 {\r
   EFI_STATUS                      Status;\r
   EFI_STATUS                      InstallStatus;\r
@@ -403,7 +392,7 @@ Returns:
     StartString = TempStr;\r
 \r
     //\r
-    // Parse the envirnment variable into sub strings using '!' as a delimator.\r
+    // Parse the environment variable into sub strings using '!' as a delimator.\r
     // Each substring needs it's own handle to be added to the system. This code\r
     // does not understand the sub string. Thats the device drivers job.\r
     //\r
@@ -479,7 +468,7 @@ Returns:
 \r
         UnixDevice->ControllerNameTable = NULL;\r
 \r
-       //  FIXME: check size\r
+  //  FIXME: check size\r
         StrCpy(ComponentName, UnixDevice->UnixIo.EnvString);\r
 \r
         UnixDevice->DevicePath = UnixBusCreateDevicePath (\r
@@ -566,13 +555,6 @@ Returns:
     None\r
 \r
 --*/\r
-// TODO:    This - add argument and description to function comment\r
-// TODO:    ControllerHandle - add argument and description to function comment\r
-// TODO:    NumberOfChildren - add argument and description to function comment\r
-// TODO:    ChildHandleBuffer - add argument and description to function comment\r
-// TODO:    EFI_SUCCESS - add return value to function comment\r
-// TODO:    EFI_DEVICE_ERROR - add return value to function comment\r
-// TODO:    EFI_SUCCESS - add return value to function comment\r
 {\r
   EFI_STATUS                Status;\r
   UINTN                     Index;\r