]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/UnixBusDriverDxe/UnixBusDriver.c
Adding Simple Pointer, GOP, SimpleTextInEx, and Networking protocols to the emulator...
[mirror_edk2.git] / UnixPkg / UnixBusDriverDxe / UnixBusDriver.c
index 00c0414211c1e7a603ed0fedaa630ceac1c3f876..52618d73a09222b6c5dcd43602f4d489aa8371d0 100644 (file)
@@ -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
@@ -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