summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2015-11-11 02:16:35 +0000
committerlgao4 <lgao4@Edk2>2015-11-11 02:16:35 +0000
commit661c306ceb674213cc30189cd84e92a8f77a29a4 (patch)
tree15d19deff3e9f857c75e36e9f2427722382cca21 /MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
parent9ddd7d7aec0eb25e078c9ca95329df06b4410169 (diff)
downloadedk2-661c306ceb674213cc30189cd84e92a8f77a29a4.tar.gz
edk2-661c306ceb674213cc30189cd84e92a8f77a29a4.tar.bz2
edk2-661c306ceb674213cc30189cd84e92a8f77a29a4.zip
MdePkg: Add more DataBits support to Port80 output
The BasePostCodeLibPort80 instance just prints UINT8 to IoPort 80. Some boards may support 16bit or 32bit. To support them, new PCD PcdPort80DataWidth is introduced to specify the width of data bits to Port80. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18765 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf')
-rw-r--r--MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf5
1 files changed, 3 insertions, 2 deletions
diff --git a/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf b/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
index e2f0be551d..ebe1158728 100644
--- a/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
+++ b/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
@@ -3,7 +3,7 @@
#
# Post Code Library that writes post code values to I/O port 0x80.
#
-# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -40,8 +40,9 @@
[LibraryClasses]
IoLib
PcdLib
+ DebugLib
[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask ## CONSUMES
-
+ gEfiMdePkgTokenSpaceGuid.PcdPort80DataWidth ## CONSUMES