From ececc2eb4b589cc55eabcabbafbd067ff3432df0 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 16 Jul 2007 03:28:26 +0000 Subject: Modules clean up. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3242 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/DriverSampleDxe/DriverSample.c | 31 +++++++++------------- 1 file changed, 13 insertions(+), 18 deletions(-) (limited to 'IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSample.c') diff --git a/IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSample.c b/IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSample.c index 74156430af..6514aa70d4 100644 --- a/IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSample.c +++ b/IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSample.c @@ -1,28 +1,23 @@ /*++ -Copyright (c) 2006 - 2007, Intel Corporation -All rights reserved. This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2006 - 2007, Intel Corporation +All rights reserved. This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. Module Name: DriverSample.c Abstract: - This is an example of how a driver might export data to the HII protocol to be + This is an example of how a driver might export data to the HII protocol to be later utilized by the Setup Protocol --*/ -// -// Include common header file for this module. -// -#include "CommonHeader.h" - #include "DriverSample.h" #define DISPLAY_ONLY_MY_ITEM 0x0001 @@ -33,7 +28,7 @@ Abstract: } EFI_GUID mFormSetGuid = FORMSET_GUID; -EFI_GUID mStringPackGuid = STRING_PACK_GUID; +EFI_GUID mStringPackGuid = STRING_PACK_GUID; STATIC EFI_STATUS @@ -50,7 +45,7 @@ Routine Description: This is the function that is called to provide results data to the driver. This data consists of a unique key which is used to identify what data is either being passed back - or being asked for. + or being asked for. Arguments: @@ -60,7 +55,7 @@ Arguments: Data - A pointer to the data being sent to the original exporting driver. -Returns: +Returns: --*/ { @@ -507,7 +502,7 @@ DriverSampleInit ( CallbackInfo->CallbackHandle = Handle; - PackageList = PreparePackages (1, &mStringPackGuid, DriverSampleStrings); + PackageList = PreparePackages (1, &mStringPackGuid, DriverSampleDxeStrings); Status = Hii->NewPack (Hii, PackageList, &HiiHandle); FreePool (PackageList); -- cgit v1.2.3