//\r
// Reset the mouse\r
//\r
- Status = MouseAbsolutePointerDev->AbsolutePointerProtocol.Reset (&MouseAbsolutePointerDev->AbsolutePointerProtocol, TRUE);\r
+ Status = MouseAbsolutePointerDev->AbsolutePointerProtocol.Reset (\r
+ &MouseAbsolutePointerDev->AbsolutePointerProtocol,\r
+ FeaturePcdGet (PcdPs2MouseExtendedVerification)\r
+ );\r
if (EFI_ERROR (Status)) {\r
//\r
// mouse not connected\r
#include <Library/MemoryAllocationLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/ReportStatusCodeLib.h>\r
+#include <Library/PcdLib.h>\r
\r
//\r
// Global Variables\r
# Ps2 Mouse Simulate TouchPad Driver\r
#\r
# This dirver directly uses IsaIo protocol service to support a faked Ps2 TouchPad work.\r
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
UefiLib\r
UefiDriverEntryPoint\r
DebugLib\r
+ PcdLib\r
\r
[Protocols]\r
gEfiIsaIoProtocolGuid ## TO_START\r
gEfiAbsolutePointerProtocolGuid ## BY_START\r
gEfiDevicePathProtocolGuid ## TO_START\r
\r
+[FeaturePcd]\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPs2MouseExtendedVerification\r
+\r
# [Event]\r
# ##\r
# # Event for EFI_SIMPLE_POINTER_PROTOCOL.WaitForInput.\r
//\r
// Reset the mouse\r
//\r
- Status = MouseDev->SimplePointerProtocol.Reset (&MouseDev->SimplePointerProtocol, TRUE);\r
+ Status = MouseDev->SimplePointerProtocol.Reset (\r
+ &MouseDev->SimplePointerProtocol,\r
+ FeaturePcdGet (PcdPs2MouseExtendedVerification)\r
+ );\r
if (EFI_ERROR (Status)) {\r
//\r
// mouse not connected\r
#include <Library/MemoryAllocationLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
#include <Library/ReportStatusCodeLib.h>\r
+#include <Library/PcdLib.h>\r
\r
//\r
// Global Variables\r
# Ps2 Mouse Driver.\r
#\r
# This dirver directly uses IsaIo protocol service to support Ps2 mouse work.\r
-# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
UefiLib\r
UefiDriverEntryPoint\r
DebugLib\r
+ PcdLib\r
\r
[Protocols]\r
gEfiIsaIoProtocolGuid ## TO_START\r
gEfiSimplePointerProtocolGuid ## BY_START\r
gEfiDevicePathProtocolGuid ## TO_START\r
\r
+[FeaturePcd]\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPs2MouseExtendedVerification\r
\r
# [Event]\r
# ##\r
## If TRUE, ACPI Support Protocol will be installed.\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdInstallAcpiSupportProtocol|TRUE|BOOLEAN|0x00010046\r
\r
+ ## This PCD specifies whether PS2 mouse does a extended verification during start.\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPs2MouseExtendedVerification|TRUE|BOOLEAN|0x00010047\r
+\r
[PcdsFixedAtBuild]\r
## FFS filename to find the default BMP Logo file.\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile |{ 0x99, 0x8b, 0xB2, 0x7B, 0xBB, 0x61, 0xD5, 0x11, 0x9A, 0x5D, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }|VOID*|0x40000003\r