]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r | |
4 | \r\r | |
5 | This program and the accompanying materials are licensed and made available under\r\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution. \r\r | |
7 | The full text of the license may be found at \r\r | |
8 | http://opensource.org/licenses/bsd-license.php. \r\r | |
9 | \r\r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r | |
12 | \r\r | |
13 | \r | |
14 | --*/\r | |
15 | \r | |
16 | /** @file\r | |
17 | **/\r | |
18 | \r | |
19 | #ifndef _PLATFORM_GOP_POLICY_PROTOCOL_H_\r | |
20 | #define _PLATFORM_GOP_POLICY_PROTOCOL_H_\r | |
21 | \r | |
22 | #define EFI_PLATFORM_GOP_POLICY_PROTOCOL_GUID \\r | |
23 | { 0xec2e931b, 0x3281, 0x48a5, 0x81, 0x7, 0xdf, 0x8a, 0x8b, 0xed, 0x3c, 0x5d }\r | |
24 | \r | |
25 | #define EFI_BMP_IMAGE_GUID \\r | |
26 | { 0x878AC2CC, 0x5343, 0x46F2, 0xB5, 0x63, 0x51, 0xF8, 0x9D, 0xAF, 0x56, 0xBA }\r | |
27 | \r | |
28 | #define PLATFORM_GOP_POLICY_PROTOCOL_REVISION_01 0x01\r | |
29 | #define PLATFORM_GOP_POLICY_PROTOCOL_REVISION_02 x0222\r | |
30 | \r | |
31 | #pragma pack(1)\r | |
32 | \r | |
33 | typedef enum {\r | |
34 | LidClosed,\r | |
35 | LidOpen,\r | |
36 | LidStatusMax\r | |
37 | } LID_STATUS;\r | |
38 | \r | |
39 | typedef enum {\r | |
40 | Docked,\r | |
41 | UnDocked,\r | |
42 | DockStatusMax\r | |
43 | } DOCK_STATUS;\r | |
44 | \r | |
45 | typedef\r | |
46 | EFI_STATUS\r | |
47 | (EFIAPI *GET_PLATFORM_LID_STATUS) (\r | |
48 | OUT LID_STATUS *CurrentLidStatus\r | |
49 | );\r | |
50 | \r | |
51 | typedef\r | |
52 | EFI_STATUS\r | |
53 | (EFIAPI *GET_VBT_DATA) (\r | |
54 | OUT EFI_PHYSICAL_ADDRESS *VbtAddress,\r | |
55 | OUT UINT32 *VbtSize\r | |
56 | );\r | |
57 | \r | |
58 | #pragma pack()\r | |
59 | \r | |
60 | typedef struct _PLATFORM_GOP_POLICY_PROTOCOL {\r | |
61 | UINT32 Revision;\r | |
62 | GET_PLATFORM_LID_STATUS GetPlatformLidStatus;\r | |
63 | GET_VBT_DATA GetVbtData;\r | |
64 | } PLATFORM_GOP_POLICY_PROTOCOL;\r | |
65 | \r | |
66 | //\r | |
67 | // Extern the GUID for protocol users.\r | |
68 | //\r | |
69 | extern EFI_GUID gPlatformGOPPolicyGuid;\r | |
70 | \r | |
71 | extern EFI_GUID gBmpImageGuid;\r | |
72 | \r | |
73 | #endif\r |