summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-25 08:42:53 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-25 08:42:53 +0000
commitcab302fd4cb652cd05d2d0ff1629fda07d4e330c (patch)
treeab21e1bf0a72bffb25c44993e6683c60c6ea8b66 /IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
parent182b1d16236001427c2929284eaba558a556c495 (diff)
downloadedk2-platforms-cab302fd4cb652cd05d2d0ff1629fda07d4e330c.tar.xz
code scrub on Ps2MouseDxe/Ps2MouseAbsolutePointer module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8659 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h')
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h75
1 files changed, 47 insertions, 28 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
index 294aaceb4f..be2a54fda4 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
+++ b/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/CommPs2.h
@@ -1,7 +1,7 @@
/** @file
Using PS2 Mouse to simulation Absolution Pointer Device.
-Copyright (c) 2006 - 2007, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -75,32 +75,50 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// Keyboard Controller Status
//
-#define KBC_PARE 0x80 // Parity Error
-#define KBC_TIM 0x40 // General Time Out
-#define KBC_AUXB 0x20 // Output buffer for auxiliary device (PS/2):
-// 0 - Holds keyboard data
-// 1 - Holds data for auxiliary device
-//
-#define KBC_KEYL 0x10 // Keyboard lock status:
-// 0 - keyboard locked
-// 1 - keyboard free
-//
-#define KBC_CD 0x08 // Command/Data:
-// 0 - data byte written via port 60h
-// 1 - command byte written via port 64h
-//
-#define KBC_SYSF 0x04 // System Flag:
-// 0 - power-on reset
-// 1 - self-test successful
-//
-#define KBC_INPB 0x02 // Input Buffer Status :
-// 0 - input buffer empty
-// 1 - CPU data in input buffer
-//
-#define KBC_OUTB 0x01 // Output Buffer Status :
-// 0 - output buffer empty
-// 1 - keyboard controller data in output buffer
-//
+///
+/// Parity Error
+///
+#define KBC_PARE 0x80
+///
+/// General Time Out
+///
+#define KBC_TIM 0x40
+///
+/// Output buffer for auxiliary device (PS/2):
+/// 0 - Holds keyboard data
+/// 1 - Holds data for auxiliary device
+///
+#define KBC_AUXB 0x20
+///
+/// Keyboard lock status:
+/// 0 - keyboard locked
+/// 1 - keyboard free
+///
+#define KBC_KEYL 0x10
+///
+/// Command/Data:
+/// 0 - data byte written via port 60h
+/// 1 - command byte written via port 64h
+///
+#define KBC_CD 0x08
+///
+/// System Flag:
+/// 0 - power-on reset
+/// 1 - self-test successful
+///
+#define KBC_SYSF 0x04
+///
+/// Input Buffer Status :
+/// 0 - input buffer empty
+/// 1 - CPU data in input buffer
+///
+#define KBC_INPB 0x02
+///
+/// Output Buffer Status :
+/// 0 - output buffer empty
+/// 1 - keyboard controller data in output buffer
+///
+#define KBC_OUTB 0x01
/**
Issue self test command via IsaIo interface.
@@ -413,4 +431,5 @@ WaitOutputFull (
IN UINTN Timeout
);
-#endif // __COMMPS2_H__
+#endif
+