]>
Commit | Line | Data |
---|---|---|
47a16b84 LG |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2006, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | DriverSample.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | \r | |
19 | Revision History\r | |
20 | \r | |
21 | --*/\r | |
22 | \r | |
23 | #ifndef _DRIVER_SAMPLE_H\r | |
24 | #define _DRIVER_SAMPLE_H\r | |
25 | \r | |
26 | \r | |
27 | #include "NVDataStruc.h"\r | |
28 | \r | |
29 | //\r | |
30 | // This is the generated header file which includes whatever needs to be exported (strings + IFR)\r | |
31 | //\r | |
32 | #include "DriverSampleStrDefs.h"\r | |
33 | \r | |
34 | extern UINT8 VfrBin[];\r | |
35 | //\r | |
36 | // extern UINT8 VfrStringsStr[];\r | |
37 | //\r | |
38 | extern UINT8 InventoryBin[];\r | |
39 | //\r | |
40 | // extern UINT8 InventoryStringsStr[];\r | |
41 | //\r | |
42 | extern UINT8 DriverSampleStrings[];\r | |
43 | \r | |
44 | #define SAMPLE_STRING L"This is an error!"\r | |
45 | \r | |
46 | #define EFI_CALLBACK_INFO_SIGNATURE EFI_SIGNATURE_32 ('C', 'l', 'b', 'k')\r | |
47 | \r | |
48 | typedef struct {\r | |
49 | UINTN Signature;\r | |
50 | EFI_HANDLE CallbackHandle;\r | |
51 | EFI_FORM_CALLBACK_PROTOCOL DriverCallback;\r | |
52 | UINT16 *KeyList;\r | |
53 | VOID *FormBuffer;\r | |
54 | EFI_HII_HANDLE RegisteredHandle;\r | |
55 | EFI_HII_PROTOCOL *Hii;\r | |
56 | } EFI_CALLBACK_INFO;\r | |
57 | \r | |
58 | #define EFI_CALLBACK_INFO_FROM_THIS(a) CR (a, EFI_CALLBACK_INFO, DriverCallback, EFI_CALLBACK_INFO_SIGNATURE)\r | |
59 | \r | |
60 | #endif\r |