1 /** @file
2   The platform device manager reference implement
3 
4 Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution.  The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9 
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 
13 **/
14 
15 #ifndef _DEVICE_MANAGER_VFR_H_
16 #define _DEVICE_MANAGER_VFR_H_
17 
18 #include <Guid/BdsHii.h>
19 
20 #define LABEL_DEVICES_LIST                   0x1100
21 #define LABEL_NETWORK_DEVICE_LIST_ID         0x1101
22 #define LABEL_NETWORK_DEVICE_ID              0x1102
23 #define LABEL_END                            0xffff
24 #define LABEL_FORM_ID_OFFSET                 0x0100
25 
26 #define LABEL_DRIVER_HEALTH                  0x2000
27 #define LABEL_DRIVER_HEALTH_END              0x2001
28 
29 #define LABEL_DRIVER_HEALTH_REAPIR_ALL       0x3000
30 #define LABEL_DRIVER_HEALTH_REAPIR_ALL_END   0x3001
31 
32 #define LABEL_VBIOS                          0x0040
33 
34 #define INVALID_FORM_ID                      0x0FFF
35 #define DEVICE_MANAGER_FORM_ID               0x1000
36 #define NETWORK_DEVICE_LIST_FORM_ID          0x1001
37 #define NETWORK_DEVICE_FORM_ID               0x1002
38 #define DRIVER_HEALTH_FORM_ID                0x1003
39 #define DEVICE_KEY_OFFSET                    0x4000
40 #define NETWORK_DEVICE_LIST_KEY_OFFSET       0x2000
41 #define DEVICE_MANAGER_KEY_VBIOS             0x3000
42 #define MAX_KEY_SECTION_LEN                  0x1000
43 
44 #define DEVICE_MANAGER_KEY_DRIVER_HEALTH     0x1111
45 #define DRIVER_HEALTH_KEY_OFFSET             0x2000
46 #define DRIVER_HEALTH_REPAIR_ALL_KEY         0x3000
47 #define DRIVER_HEALTH_RETURN_KEY             0x4000
48 
49 #define QUESTION_NETWORK_DEVICE_ID           0x3FFF
50 //
51 // These are the VFR compiler generated data representing our VFR data.
52 //
53 extern UINT8  DeviceManagerVfrBin[];
54 extern UINT8  DriverHealthVfrBin[];
55 
56 #endif
57