summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-14 09:46:12 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-14 09:46:12 +0000
commitc11fa40c4e8124c7dfb8660b67aea1175e91cc13 (patch)
treef353906b1be94a029ee3cf021ed2db036d4866a2 /MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c
parent9c1d98d822a9cd2146790d146c3ddd053b9cc759 (diff)
downloadedk2-platforms-c11fa40c4e8124c7dfb8660b67aea1175e91cc13.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c b/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c
index 2e22cfcda2..5c39f49dd2 100644
--- a/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c
+++ b/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/UsbMouseAbsolutePointer.c
@@ -232,7 +232,7 @@ USBMouseAbsolutePointerDriverBindingStart (
//
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
EFI_ERROR_CODE | EFI_ERROR_MINOR,
- PcdGet32 (PcdStatusCodeValueMouseInterfaceError),
+ FixedPcdGet32 (PcdStatusCodeValueMouseInterfaceError),
UsbMouseAbsolutePointerDevice->DevicePath
);
@@ -275,7 +275,7 @@ USBMouseAbsolutePointerDriverBindingStart (
//
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
EFI_PROGRESS_CODE,
- PcdGet32 (PcdStatusCodeValueMouseEnable),
+ FixedPcdGet32 (PcdStatusCodeValueMouseEnable),
UsbMouseAbsolutePointerDevice->DevicePath
);
@@ -401,7 +401,7 @@ USBMouseAbsolutePointerDriverBindingStop (
//
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
EFI_PROGRESS_CODE,
- PcdGet32 (PcdStatusCodeValueMouseDisable),
+ FixedPcdGet32 (PcdStatusCodeValueMouseDisable),
UsbMouseAbsolutePointerDevice->DevicePath
);
@@ -682,7 +682,7 @@ OnMouseInterruptComplete (
//
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
EFI_ERROR_CODE | EFI_ERROR_MINOR,
- PcdGet32 (PcdStatusCodeValueMouseInputError),
+ FixedPcdGet32 (PcdStatusCodeValueMouseInputError),
UsbMouseAbsolutePointerDevice->DevicePath
);
@@ -833,7 +833,7 @@ UsbMouseAbsolutePointerReset (
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
EFI_PROGRESS_CODE,
- PcdGet32 (PcdStatusCodeValueMouseReset),
+ FixedPcdGet32 (PcdStatusCodeValueMouseReset),
UsbMouseAbsolutePointerDevice->DevicePath
);