]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSample.h
remove some comments introduced by tools.
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / DriverSampleDxe / DriverSample.h
CommitLineData
103b6520 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11\r
12Module Name:\r
13\r
14 DriverSample.h\r
15\r
16Abstract:\r
17\r
18\r
19Revision History\r
20\r
21--*/\r
22\r
23#ifndef _DRIVER_SAMPLE_H\r
24#define _DRIVER_SAMPLE_H\r
25\r
26\r
ed7748fe 27\r
ececc2eb 28#include <PiDxe.h>\r
ed7748fe 29\r
ececc2eb 30#include <Protocol/FormCallbackFramework.h>\r
31#include <Protocol/HiiFramework.h>\r
ed7748fe 32\r
ececc2eb 33#include <Library/UefiBootServicesTableLib.h>\r
34#include <Library/UefiRuntimeServicesTableLib.h>\r
35#include <Library/DebugLib.h>\r
36#include <Library/UefiDriverEntryPoint.h>\r
37#include <Library/BaseLib.h>\r
38#include <Library/PrintLib.h>\r
39#include <Library/IfrSupportLibFramework.h>\r
40#include <Library/BaseMemoryLib.h>\r
41#include <Library/MemoryAllocationLib.h>\r
42#include <Library/HiiLibFramework.h>\r
103b6520 43\r
44#include "NVDataStruc.h"\r
45\r
46//\r
47// This is the generated header file which includes whatever needs to be exported (strings + IFR)\r
48//\r
49\r
50extern UINT8 VfrBin[];\r
51//\r
52// extern UINT8 VfrStringsStr[];\r
53//\r
54extern UINT8 InventoryBin[];\r
55//\r
56// extern UINT8 InventoryStringsStr[];\r
57//\r
ececc2eb 58extern UINT8 DriverSampleDxeStrings[];\r
103b6520 59\r
60#define SAMPLE_STRING L"This is an error!"\r
61\r
62#define EFI_CALLBACK_INFO_SIGNATURE EFI_SIGNATURE_32 ('C', 'l', 'b', 'k')\r
63\r
64typedef struct {\r
65 UINTN Signature;\r
66 EFI_HANDLE CallbackHandle;\r
67 EFI_FORM_CALLBACK_PROTOCOL DriverCallback;\r
68 UINT16 *KeyList;\r
69 VOID *FormBuffer;\r
70 EFI_HII_HANDLE RegisteredHandle;\r
71 EFI_HII_PROTOCOL *Hii;\r
72} EFI_CALLBACK_INFO;\r
73\r
74#define EFI_CALLBACK_INFO_FROM_THIS(a) CR (a, EFI_CALLBACK_INFO, DriverCallback, EFI_CALLBACK_INFO_SIGNATURE)\r
75\r
76#endif\r