]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSample.c
Modules clean up.
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / DriverSampleDxe / DriverSample.c
index 74156430af49953cebddcf9a42aedf84053bfae7..6514aa70d409d5199dccf4b8208109cc75d5ceb8 100644 (file)
@@ -1,28 +1,23 @@
 /*++\r
-Copyright (c) 2006 - 2007, 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 - 2007, 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
   DriverSample.c\r
 \r
 Abstract:\r
 \r
-  This is an example of how a driver might export data to the HII protocol to be \r
+  This is an example of how a driver might export data to the HII protocol to be\r
   later utilized by the Setup Protocol\r
 \r
 --*/\r
 \r
-//\r
-// Include common header file for this module.\r
-//\r
-#include "CommonHeader.h"\r
-\r
 #include "DriverSample.h"\r
 \r
 #define DISPLAY_ONLY_MY_ITEM  0x0001\r
@@ -33,7 +28,7 @@ Abstract:
   }\r
 \r
 EFI_GUID  mFormSetGuid    = FORMSET_GUID;\r
-EFI_GUID  mStringPackGuid = STRING_PACK_GUID; \r
+EFI_GUID  mStringPackGuid = STRING_PACK_GUID;\r
 \r
 STATIC\r
 EFI_STATUS\r
@@ -50,7 +45,7 @@ Routine Description:
 \r
   This is the function that is called to provide results data to the driver.  This data\r
   consists of a unique key which is used to identify what data is either being passed back\r
-  or being asked for. \r
+  or being asked for.\r
 \r
 Arguments:\r
 \r
@@ -60,7 +55,7 @@ Arguments:
 \r
   Data -            A pointer to the data being sent to the original exporting driver.\r
 \r
-Returns: \r
+Returns:\r
 \r
 --*/\r
 {\r
@@ -507,7 +502,7 @@ DriverSampleInit (
 \r
   CallbackInfo->CallbackHandle  = Handle;\r
 \r
-  PackageList                   = PreparePackages (1, &mStringPackGuid, DriverSampleStrings);\r
+  PackageList                   = PreparePackages (1, &mStringPackGuid, DriverSampleDxeStrings);\r
   Status                        = Hii->NewPack (Hii, PackageList, &HiiHandle);\r
   FreePool (PackageList);\r
 \r