git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6316
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
UINTN mWaitForValueTimeOut = KEYBOARD_WAITFORVALUE_TIMEOUT;\r
\r
//\r
UINTN mWaitForValueTimeOut = KEYBOARD_WAITFORVALUE_TIMEOUT;\r
\r
+BOOLEAN mEnableMouseInterface;\r
+\r
/**\r
Read data register \r
\r
/**\r
Read data register \r
\r
EFI_STATUS Status;\r
EFI_STATUS Status1;\r
UINT8 CommandByte;\r
EFI_STATUS Status;\r
EFI_STATUS Status1;\r
UINT8 CommandByte;\r
- STATIC BOOLEAN EnableMouseInterface;\r
EFI_PS2_POLICY_PROTOCOL *Ps2Policy;\r
\r
Status = EFI_SUCCESS;\r
EFI_PS2_POLICY_PROTOCOL *Ps2Policy;\r
\r
Status = EFI_SUCCESS;\r
- EnableMouseInterface = TRUE;\r
+ mEnableMouseInterface = TRUE;\r
\r
//\r
// Get Ps2 policy to set this\r
\r
//\r
// Get Ps2 policy to set this\r
// Test the mouse enabling bit\r
//\r
if (CommandByte & 0x20) {\r
// Test the mouse enabling bit\r
//\r
if (CommandByte & 0x20) {\r
- EnableMouseInterface = FALSE;\r
+ mEnableMouseInterface = FALSE;\r
- EnableMouseInterface = TRUE;\r
+ mEnableMouseInterface = TRUE;\r
//\r
// Don't enable mouse interface later\r
//\r
//\r
// Don't enable mouse interface later\r
//\r
- EnableMouseInterface = FALSE;\r
+ mEnableMouseInterface = FALSE;\r
- if (EnableMouseInterface) {\r
+ if (mEnableMouseInterface) {\r
//\r
// Enable mouse interface\r
//\r
//\r
// Enable mouse interface\r
//\r