summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c b/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c
index f1b54084b7..667dd2f902 100644
--- a/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c
+++ b/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c
@@ -232,7 +232,7 @@ USBMouseDriverBindingStart (
//
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
EFI_ERROR_CODE | EFI_ERROR_MINOR,
- PcdGet32 (PcdStatusCodeValueMouseInterfaceError),
+ FixedPcdGet32 (PcdStatusCodeValueMouseInterfaceError),
UsbMouseDevice->DevicePath
);
@@ -275,7 +275,7 @@ USBMouseDriverBindingStart (
//
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
EFI_PROGRESS_CODE,
- PcdGet32 (PcdStatusCodeValueMouseEnable),
+ FixedPcdGet32 (PcdStatusCodeValueMouseEnable),
UsbMouseDevice->DevicePath
);
@@ -401,7 +401,7 @@ USBMouseDriverBindingStop (
//
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
EFI_PROGRESS_CODE,
- PcdGet32 (PcdStatusCodeValueMouseDisable),
+ FixedPcdGet32 (PcdStatusCodeValueMouseDisable),
UsbMouseDevice->DevicePath
);
@@ -688,7 +688,7 @@ OnMouseInterruptComplete (
//
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
EFI_ERROR_CODE | EFI_ERROR_MINOR,
- PcdGet32 (PcdStatusCodeValueMouseInputError),
+ FixedPcdGet32 (PcdStatusCodeValueMouseInputError),
UsbMouseDevice->DevicePath
);
@@ -838,7 +838,7 @@ UsbMouseReset (
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
EFI_PROGRESS_CODE,
- PcdGet32 (PcdStatusCodeValueMouseReset),
+ FixedPcdGet32 (PcdStatusCodeValueMouseReset),
UsbMouseDevice->DevicePath
);