From 488182b6faf36676c507ecbd4fc596ccb015d442 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Mon, 11 Apr 2016 15:38:18 +0800 Subject: IntelFrameworkModulePkg: Remove unused PCD/Protocol Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Reviewed-by: Feng Tian --- .../Include/Protocol/Ps2Policy.h | 41 ---------------------- .../IntelFrameworkModulePkg.dec | 26 -------------- 2 files changed, 67 deletions(-) delete mode 100644 IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h (limited to 'IntelFrameworkModulePkg') diff --git a/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h b/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h deleted file mode 100644 index 8e915edaf5..0000000000 --- a/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h +++ /dev/null @@ -1,41 +0,0 @@ -/** @file - PS/2 policy protocol abstracts the specific platform initialization and settings. - -Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
-This program and the accompanying materials are licensed and made available under -the terms and conditions of the BSD License that accompanies this distribution. -The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php. - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -**/ - - -#ifndef _PS2_POLICY_PROTOCOL_H_ -#define _PS2_POLICY_PROTOCOL_H_ - -#define EFI_PS2_POLICY_PROTOCOL_GUID \ - { \ - 0x4df19259, 0xdc71, 0x4d46, {0xbe, 0xf1, 0x35, 0x7b, 0xb5, 0x78, 0xc4, 0x18 } \ - } - -#define EFI_KEYBOARD_CAPSLOCK 0x0004 -#define EFI_KEYBOARD_NUMLOCK 0x0002 -#define EFI_KEYBOARD_SCROLLLOCK 0x0001 - -typedef -EFI_STATUS -(EFIAPI *EFI_PS2_INIT_HARDWARE) ( - IN EFI_HANDLE Handle - ); - -typedef struct { - UINT8 KeyboardLight; - EFI_PS2_INIT_HARDWARE Ps2InitHardware; -} EFI_PS2_POLICY_PROTOCOL; - -extern EFI_GUID gEfiPs2PolicyProtocolGuid; - -#endif diff --git a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec index a609f1bb1e..5327242172 100644 --- a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec +++ b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec @@ -91,10 +91,6 @@ # Include/Protocol/IsaAcpi.h gEfiIsaAcpiProtocolGuid = { 0x64a892dc, 0x5561, 0x4536, { 0x92, 0xc7, 0x79, 0x9b, 0xfc, 0x18, 0x33, 0x55 }} - ## PS/2 policy protocol abstracts the specific platform initialization and setting. - # Include/Protocol/Ps2Policy.h - gEfiPs2PolicyProtocolGuid = { 0x4DF19259, 0xDC71, 0x4D46, { 0xBE, 0xF1, 0x35, 0x7B, 0xB5, 0x78, 0xC4, 0x18 }} - ## OEM Badging Protocol defines the interface to get the OEM badging image with the dispaly attribute. # Include/Protocol/OEMBadging.h gEfiOEMBadgingProtocolGuid = { 0x170E13C0, 0xBF1B, 0x4218, { 0x87, 0x1D, 0x2A, 0xBD, 0xC6, 0xF8, 0x87, 0xBC }} @@ -134,27 +130,12 @@ # @Prompt Turn on Legacy Support in S3 Boot gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformCsmSupport|TRUE|BOOLEAN|0x00010044 - ## Indicates if PS2 keyboard does a extended verification during start. - # Extended verification will take some performance. It can be set to FALSE for boot performance.

- # TRUE - Turn on PS2 keyboard extended verification.
- # FALSE - Turn off PS2 keyboard extended verification.
- # @Prompt Turn on PS2 Keyboard Extended Verification - gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification|TRUE|BOOLEAN|0x00010045 - ## Indicates if Framework Acpi Support protocol is installed.

# TRUE - Install Framework Acpi Support protocol.
# FALSE - Doesn't install Framework Acpi Support protocol.
# @Prompt Enable Framework Acpi Support gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdInstallAcpiSupportProtocol|TRUE|BOOLEAN|0x00010046 - - ## Indicates if PS2 mouse does a extended verification during start. - # Extended verification will take some performance. It can be set to FALSE for boot performance.

- # TRUE - Turn on PS2 mouse extended verification.
- # FALSE - Turn off PS2 mouse extended verification.
- # @Prompt Turn on PS2 Mouse Extended Verification - gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPs2MouseExtendedVerification|TRUE|BOOLEAN|0x00010047 - ## Indicates if only Boot logo is showed and all message output is disabled in BDS.

# TRUE - Only Boot Logo is showed in boot.
# FALSE - All messages and Boot Logo are showed in boot.
@@ -266,12 +247,5 @@ # @Expression 0x80000001 | (gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHighPmmMemorySize & 0x1000) == 0 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHighPmmMemorySize|0x400000|UINT32|0x3000000a - ## Indicates if to use the optimized timing for best PS2 detection performance. - # Note this PCD could be set to TRUE for best boot performance and set to FALSE for best device compatibility.

- # TRUE - Use the optimized timing for best PS2 detection performance.
- # FALSE - Use the normal timing to detect PS2.
- # @Prompt Enable fast PS2 detection - gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdFastPS2Detection|FALSE|BOOLEAN|0x3000000b - [UserExtensions.TianoCore."ExtraFiles"] IntelFrameworkModulePkgExtra.uni -- cgit v1.2.3