LpcWpce791Policy.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*++
  2. Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
  3. SPDX-License-Identifier: BSD-2-Clause-Patent
  4. Module Name:
  5. LpcWpce791Policy.h
  6. Abstract:
  7. Protocol used for WPCE791 Policy definition.
  8. **/
  9. #ifndef _WPCE791_POLICY_PROTOCOL_H_
  10. #define _WPCE791_POLICY_PROTOCOL_H_
  11. #define EFI_WPCE791_POLICY_PROTOCOL_GUID \
  12. { \
  13. 0xab2bee2f, 0xc1a6, 0x4399, 0x85, 0x3d, 0xc0, 0x7c, 0x77, 0x4f, 0xfd, 0xd \
  14. }
  15. #define EFI_WPCE791_PS2_KEYBOARD_ENABLE 0x01
  16. #define EFI_WPCE791_PS2_KEYBOARD_DISABLE 0x00
  17. #define EFI_WPCE791_PS2_MOUSE_ENABLE 0x01
  18. #define EFI_WPCE791_PS2_MOUSE_DISABLE 0x00
  19. typedef struct {
  20. UINT16 Com1 :1; // 0 = Disable, 1 = Enable
  21. UINT16 Lpt1 :1; // 0 = Disable, 1 = Enable
  22. UINT16 Floppy :1; // 0 = Disable, 1 = Enable
  23. UINT16 FloppyWriteProtect :1; // 0 = Write Protect, 1 = Write Enable
  24. UINT16 Port80 :1; // 0 = Disable, 1 = Enable
  25. UINT16 CIR :1; // CIR enable or disable
  26. UINT16 Ps2Keyboard :1; // 0 = Disable, 1 = Enable
  27. UINT16 Ps2Mouse :1; // 0 = Disable, 1 = Enable
  28. UINT16 Com2 :1; // 0 = Disable, 1 = Enable
  29. UINT16 Dac :1; // 0 = Disable, 1 = Enable
  30. UINT16 Rsvd :6;
  31. } EFI_WPCE791_DEVICE_ENABLES;
  32. typedef struct _EFI_WPCE791_POLICY_PROTOCOL {
  33. EFI_WPCE791_DEVICE_ENABLES DeviceEnables;
  34. } EFI_WPCE791_POLICY_PROTOCOL;
  35. extern EFI_GUID gEfiLpcWpce791PolicyProtocolGuid;
  36. #endif