]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\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 | Module Name:\r | |
16 | \r | |
17 | LpcWpce791Policy.h\r | |
18 | \r | |
19 | Abstract:\r | |
20 | \r | |
21 | Protocol used for WPCE791 Policy definition.\r | |
22 | \r | |
23 | **/\r | |
24 | \r | |
25 | #ifndef _WPCE791_POLICY_PROTOCOL_H_\r | |
26 | #define _WPCE791_POLICY_PROTOCOL_H_\r | |
27 | \r | |
28 | \r | |
29 | #define EFI_WPCE791_POLICY_PROTOCOL_GUID \\r | |
30 | { \\r | |
31 | 0xab2bee2f, 0xc1a6, 0x4399, 0x85, 0x3d, 0xc0, 0x7c, 0x77, 0x4f, 0xfd, 0xd \\r | |
32 | }\r | |
33 | \r | |
34 | #define EFI_WPCE791_PS2_KEYBOARD_ENABLE 0x01\r | |
35 | #define EFI_WPCE791_PS2_KEYBOARD_DISABLE 0x00\r | |
36 | \r | |
37 | #define EFI_WPCE791_PS2_MOUSE_ENABLE 0x01\r | |
38 | #define EFI_WPCE791_PS2_MOUSE_DISABLE 0x00\r | |
39 | \r | |
40 | typedef struct {\r | |
41 | UINT16 Com1 :1; // 0 = Disable, 1 = Enable\r | |
42 | UINT16 Lpt1 :1; // 0 = Disable, 1 = Enable\r | |
43 | UINT16 Floppy :1; // 0 = Disable, 1 = Enable\r | |
44 | UINT16 FloppyWriteProtect :1; // 0 = Write Protect, 1 = Write Enable\r | |
45 | UINT16 Port80 :1; // 0 = Disable, 1 = Enable\r | |
46 | UINT16 CIR :1; // CIR enable or disable\r | |
47 | UINT16 Ps2Keyboard :1; // 0 = Disable, 1 = Enable\r | |
48 | UINT16 Ps2Mouse :1; // 0 = Disable, 1 = Enable\r | |
49 | UINT16 Com2 :1; // 0 = Disable, 1 = Enable\r | |
50 | UINT16 Dac :1; // 0 = Disable, 1 = Enable\r | |
51 | UINT16 Rsvd :6;\r | |
52 | } EFI_WPCE791_DEVICE_ENABLES;\r | |
53 | \r | |
54 | typedef struct _EFI_WPCE791_POLICY_PROTOCOL {\r | |
55 | EFI_WPCE791_DEVICE_ENABLES DeviceEnables;\r | |
56 | } EFI_WPCE791_POLICY_PROTOCOL;\r | |
57 | \r | |
58 | extern EFI_GUID gEfiLpcWpce791PolicyProtocolGuid;\r | |
59 | \r | |
60 | #endif\r |