summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/PciSegmentLibSegmentInfo
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-09-05 22:49:37 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2017-09-06 10:43:53 +0800
commit7d8e8474f98bcefc6cc18914c995b04fa8a7e39d (patch)
tree4283bc74b50e9024195af5040c5ddde42a95e58f /MdePkg/Library/PciSegmentLibSegmentInfo
parent3f3a69b87a2d9b8e0186f6c078302614f55a3357 (diff)
downloadedk2-7d8e8474f98bcefc6cc18914c995b04fa8a7e39d.tar.gz
edk2-7d8e8474f98bcefc6cc18914c995b04fa8a7e39d.tar.bz2
edk2-7d8e8474f98bcefc6cc18914c995b04fa8a7e39d.zip
MdePkg/PciSegmentLibSegmentInfo: fix typo in PciSegmentBitFieldAnd*()
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'MdePkg/Library/PciSegmentLibSegmentInfo')
-rw-r--r--MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c b/MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c
index 7b7324d673..e0bdb16911 100644
--- a/MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c
+++ b/MdePkg/Library/PciSegmentLibSegmentInfo/PciSegmentLibCommon.c
@@ -381,7 +381,7 @@ PciSegmentBitFieldAnd8 (
PCI_SEGMENT_INFO *SegmentInfo;
SegmentInfo = GetPciSegmentInfo (&Count);
- return MmioBitFieldOr8 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);
+ return MmioBitFieldAnd8 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);
}
/**
@@ -752,7 +752,7 @@ PciSegmentBitFieldAnd16 (
PCI_SEGMENT_INFO *SegmentInfo;
SegmentInfo = GetPciSegmentInfo (&Count);
- return MmioBitFieldOr16 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);
+ return MmioBitFieldAnd16 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);
}
/**
@@ -1119,7 +1119,7 @@ PciSegmentBitFieldAnd32 (
PCI_SEGMENT_INFO *SegmentInfo;
SegmentInfo = GetPciSegmentInfo (&Count);
- return MmioBitFieldOr32 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);
+ return MmioBitFieldAnd32 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);
}
/**