From c11fa40c4e8124c7dfb8660b67aea1175e91cc13 Mon Sep 17 00:00:00 2001 From: rsun3 Date: Thu, 14 Jan 2010 09:46:12 +0000 Subject: Fix the issue in MdeModulePkg that mismatch between PCD type and the PCD Lib API to get the PCD. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9751 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c | 10 +++++----- MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'MdeModulePkg/Bus/Usb/UsbKbDxe') diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c index b8a665cff5..d4b5f38e02 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c @@ -193,7 +193,7 @@ USBKeyboardDriverBindingStart ( // REPORT_STATUS_CODE_WITH_DEVICE_PATH ( EFI_PROGRESS_CODE, - PcdGet32 (PcdStatusCodeValueKeyboardEnable), + FixedPcdGet32 (PcdStatusCodeValueKeyboardEnable), UsbKeyboardDevice->DevicePath ); @@ -202,7 +202,7 @@ USBKeyboardDriverBindingStart ( // REPORT_STATUS_CODE_WITH_DEVICE_PATH ( EFI_PROGRESS_CODE, - PcdGet32 (PcdStatusCodeValueKeyboardPresenceDetect), + FixedPcdGet32 (PcdStatusCodeValueKeyboardPresenceDetect), UsbKeyboardDevice->DevicePath ); @@ -473,7 +473,7 @@ USBKeyboardDriverBindingStop ( // REPORT_STATUS_CODE_WITH_DEVICE_PATH ( EFI_PROGRESS_CODE, - PcdGet32 (PcdStatusCodeValueKeyboardDisable), + FixedPcdGet32 (PcdStatusCodeValueKeyboardDisable), UsbKeyboardDevice->DevicePath ); @@ -658,7 +658,7 @@ USBKeyboardReset ( REPORT_STATUS_CODE_WITH_DEVICE_PATH ( EFI_PROGRESS_CODE, - PcdGet32 (PcdStatusCodeValueKeyboardReset), + FixedPcdGet32 (PcdStatusCodeValueKeyboardReset), UsbKeyboardDevice->DevicePath ); @@ -669,7 +669,7 @@ USBKeyboardReset ( if (!ExtendedVerification) { REPORT_STATUS_CODE_WITH_DEVICE_PATH ( EFI_PROGRESS_CODE, - PcdGet32 (PcdStatusCodeValueKeyboardClearBuffer), + FixedPcdGet32 (PcdStatusCodeValueKeyboardClearBuffer), UsbKeyboardDevice->DevicePath ); // diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c b/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c index 9636d4f2bc..a231bd6e3e 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c @@ -811,7 +811,7 @@ InitUSBKeyboard ( REPORT_STATUS_CODE_WITH_DEVICE_PATH ( EFI_PROGRESS_CODE, - PcdGet32 (PcdStatusCodeValueKeyboardSelfTest), + FixedPcdGet32 (PcdStatusCodeValueKeyboardSelfTest), UsbKeyboardDevice->DevicePath ); @@ -846,7 +846,7 @@ InitUSBKeyboard ( // REPORT_STATUS_CODE_WITH_DEVICE_PATH ( EFI_ERROR_CODE | EFI_ERROR_MINOR, - PcdGet32 (PcdStatusCodeValueKeyboardInterfaceError), + FixedPcdGet32 (PcdStatusCodeValueKeyboardInterfaceError), UsbKeyboardDevice->DevicePath ); @@ -1012,7 +1012,7 @@ KeyboardHandler ( // REPORT_STATUS_CODE_WITH_DEVICE_PATH ( EFI_ERROR_CODE | EFI_ERROR_MINOR, - PcdGet32 (PcdStatusCodeValueKeyboardInputError), + FixedPcdGet32 (PcdStatusCodeValueKeyboardInputError), UsbKeyboardDevice->DevicePath ); -- cgit v1.2.3