]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
Clean up Library LzmaCustomDecompressLib, PeiRecoveryLib and driver SectionExtraction
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Isa / Ps2MouseAbsolutePointerDxe / CommPs2.h
index fb2bbac75077ae761c3bef5f452bdfd03c726acd..294aaceb4f9ff7458e6a9db6e4d61e44581d5f59 100644 (file)
@@ -1,5 +1,5 @@
-/**@file\r
-  PS2 Mouse Communication Interface \r
+/** @file\r
+  Using PS2 Mouse to simulation Absolution Pointer Device.\r
   \r
 Copyright (c) 2006 - 2007, Intel Corporation\r
 All rights reserved. This program and the accompanying materials\r
@@ -12,8 +12,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 \r
-#ifndef _COMMPS2_H_\r
-#define _COMMPS2_H_\r
+#ifndef __COMMPS2_H__\r
+#define __COMMPS2_H__\r
 \r
 #define PS2_PACKET_LENGTH       3\r
 #define PS2_SYNC_MASK           0xc\r
@@ -246,7 +246,7 @@ PS2MouseEnable (
 /**\r
   Get mouse packet . Only care first 3 bytes\r
 \r
-  @param MouseDev  Pointer of PS2 Mouse Private Data Structure \r
+  @param MouseAbsolutePointerDev  Pointer to PS2 Absolute Pointer Simulation Device Private Data Structure\r
 \r
   @retval EFI_NOT_READY  Mouse Device not ready to input data packet, or some error happened during getting the packet\r
   @retval EFI_SUCCESS    The data packet is gotten successfully.\r
@@ -359,7 +359,7 @@ In8042AuxData (
   I/O work flow of outing 8042 Aux data.\r
   \r
   @param IsaIo   Pointer to instance of EFI_ISA_IO_PROTOCOL\r
-  @param Command Aux I/O command\r
+  @param Data    Buffer holding return value.\r
   \r
   @retval EFI_SUCCESS Success to excute I/O work flow\r
   @retval EFI_TIMEOUT Keyboard controller time out.\r
@@ -371,7 +371,7 @@ Out8042AuxData (
   );\r
 \r
 /**\r
-  Check keyboard controller status, if it is output buffer full and for auxiliary device\r
+  Check keyboard controller status, if it is output buffer full and for auxiliary device.\r
   \r
   @param IsaIo   Pointer to instance of EFI_ISA_IO_PROTOCOL\r
   \r
@@ -413,4 +413,4 @@ WaitOutputFull (
   IN UINTN                                Timeout\r
   );\r
 \r
-#endif // _COMMPS2_H_\r
+#endif // __COMMPS2_H__\r