1 /*++ 2 3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR> 4 5 6 This program and the accompanying materials are licensed and made available under 7 8 the terms and conditions of the BSD License that accompanies this distribution. 9 10 The full text of the license may be found at 11 12 http://opensource.org/licenses/bsd-license.php. 13 14 15 16 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 17 18 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 19 20 21 22 23 24 Module Name: 25 26 LpcWpce791Policy.h 27 28 Abstract: 29 30 Protocol used for WPCE791 Policy definition. 31 32 **/ 33 34 #ifndef _WPCE791_POLICY_PROTOCOL_H_ 35 #define _WPCE791_POLICY_PROTOCOL_H_ 36 37 38 #define EFI_WPCE791_POLICY_PROTOCOL_GUID \ 39 { \ 40 0xab2bee2f, 0xc1a6, 0x4399, 0x85, 0x3d, 0xc0, 0x7c, 0x77, 0x4f, 0xfd, 0xd \ 41 } 42 43 #define EFI_WPCE791_PS2_KEYBOARD_ENABLE 0x01 44 #define EFI_WPCE791_PS2_KEYBOARD_DISABLE 0x00 45 46 #define EFI_WPCE791_PS2_MOUSE_ENABLE 0x01 47 #define EFI_WPCE791_PS2_MOUSE_DISABLE 0x00 48 49 typedef struct { 50 UINT16 Com1 :1; // 0 = Disable, 1 = Enable 51 UINT16 Lpt1 :1; // 0 = Disable, 1 = Enable 52 UINT16 Floppy :1; // 0 = Disable, 1 = Enable 53 UINT16 FloppyWriteProtect :1; // 0 = Write Protect, 1 = Write Enable 54 UINT16 Port80 :1; // 0 = Disable, 1 = Enable 55 UINT16 CIR :1; // CIR enable or disable 56 UINT16 Ps2Keyboard :1; // 0 = Disable, 1 = Enable 57 UINT16 Ps2Mouse :1; // 0 = Disable, 1 = Enable 58 UINT16 Com2 :1; // 0 = Disable, 1 = Enable 59 UINT16 Dac :1; // 0 = Disable, 1 = Enable 60 UINT16 Rsvd :6; 61 } EFI_WPCE791_DEVICE_ENABLES; 62 63 typedef struct _EFI_WPCE791_POLICY_PROTOCOL { 64 EFI_WPCE791_DEVICE_ENABLES DeviceEnables; 65 } EFI_WPCE791_POLICY_PROTOCOL; 66 67 extern EFI_GUID gEfiLpcWpce791PolicyProtocolGuid; 68 69 #endif 70