]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.c
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbMouseDxe / UsbMouse.c
index e8b53f6c9fbd824003d3c275d02e2f5174137094..8b8a21eae81c7080670fc6968341b28aea2f999c 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   USB Mouse Driver that manages USB mouse and produces Simple Pointer Protocol.\r
 \r
-Copyright (c) 2004 - 2008, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -232,7 +232,7 @@ USBMouseDriverBindingStart (
     //\r
     REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
       EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
-      PcdGet32 (PcdStatusCodeValueMouseInterfaceError),\r
+      (EFI_PERIPHERAL_MOUSE | EFI_P_EC_INTERFACE_ERROR),\r
       UsbMouseDevice->DevicePath\r
       );\r
 \r
@@ -275,7 +275,7 @@ USBMouseDriverBindingStart (
   //\r
   REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
     EFI_PROGRESS_CODE,\r
-    PcdGet32 (PcdStatusCodeValueMouseEnable),\r
+    (EFI_PERIPHERAL_MOUSE | EFI_P_PC_ENABLE),\r
     UsbMouseDevice->DevicePath\r
     );\r
 \r
@@ -401,7 +401,7 @@ USBMouseDriverBindingStop (
   //\r
   REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
     EFI_PROGRESS_CODE,\r
-    PcdGet32 (PcdStatusCodeValueMouseDisable),\r
+    (EFI_PERIPHERAL_MOUSE | EFI_P_PC_DISABLE),\r
     UsbMouseDevice->DevicePath\r
     );\r
 \r
@@ -688,7 +688,7 @@ OnMouseInterruptComplete (
     //\r
     REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
       EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
-      PcdGet32 (PcdStatusCodeValueMouseInputError),\r
+      (EFI_PERIPHERAL_MOUSE | EFI_P_EC_INPUT_ERROR),\r
       UsbMouseDevice->DevicePath\r
       );\r
 \r
@@ -838,7 +838,7 @@ UsbMouseReset (
 \r
   REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
     EFI_PROGRESS_CODE,\r
-    PcdGet32 (PcdStatusCodeValueMouseReset),\r
+    (EFI_PERIPHERAL_MOUSE | EFI_P_PC_RESET),\r
     UsbMouseDevice->DevicePath\r
     );\r
 \r
@@ -855,7 +855,7 @@ UsbMouseReset (
 }\r
 \r
 /**\r
-  Event notification function for SIMPLE_POINTER.WaitForInput event.\r
+  Event notification function for EFI_SIMPLE_POINTER_PROTOCOL.WaitForInput event.\r
 \r
   @param  Event        Event to be signaled when there's input from mouse.\r
   @param  Context      Points to USB_MOUSE_DEV instance.\r