summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-10 08:00:29 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-10 08:00:29 +0000
commit2d8debe71060fae61f4073240f618fa9682c976e (patch)
tree43b1ff735483648c8a227d5b768d6fae6211f1df /MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h
parent3ecdcd1146b8268eea8a550e883121c566a9aef8 (diff)
downloadedk2-2d8debe71060fae61f4073240f618fa9682c976e.tar.gz
edk2-2d8debe71060fae61f4073240f618fa9682c976e.tar.bz2
edk2-2d8debe71060fae61f4073240f618fa9682c976e.zip
synchronize macros SMBUS_LIB_SLAVE_ADDRESS, SMBUS_LIB_COMMAND, SMBUS_LIB_LENGTH, SMBUS_LIB_PEC, SMBUS_LIB_RESERVED with latest MdePkg specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6101 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h')
-rw-r--r--MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h b/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h
index 8268cd821f..7a179ec83d 100644
--- a/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h
+++ b/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h
@@ -28,12 +28,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <IndustryStandard/SmBus.h>
-#define SMBUS_LIB_SLAVE_ADDRESS(SmBusAddress) (((SmBusAddress) >> 1) & 0x7f)
-#define SMBUS_LIB_COMMAND(SmBusAddress) (((SmBusAddress) >> 8) & 0xff)
-#define SMBUS_LIB_LENGTH(SmBusAddress) (((SmBusAddress) >> 16) & 0x3f)
-#define SMBUS_LIB_PEC(SmBusAddress) ((BOOLEAN) (((SmBusAddress) & SMBUS_LIB_PEC_BIT) != 0))
-#define SMBUS_LIB_RESEARVED(SmBusAddress) ((SmBusAddress) & ~(((1 << 22) - 2) | SMBUS_LIB_PEC_BIT))
-
//
// Declaration for internal functions
//