mirror of https://github.com/acidanthera/audk.git
MdeModulePkg PCD: Fix the issue to set the big SkuId
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Cc: Star Zeng <star.zeng@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
parent
f71503c37c
commit
f0c69b614c
|
@ -788,7 +788,7 @@ UpdatePcdDatabase (
|
|||
SkuDelta = NULL;
|
||||
while (Index < mPeiPcdDbSize) {
|
||||
SkuDelta = (PCD_DATABASE_SKU_DELTA *) ((UINT8 *) mPeiPcdDbBinary + Index);
|
||||
if (SkuDelta->SkuId == (UINT16) SkuId && SkuDelta->SkuIdCompared == 0) {
|
||||
if (SkuDelta->SkuId == SkuId && SkuDelta->SkuIdCompared == 0) {
|
||||
break;
|
||||
}
|
||||
Index = (Index + SkuDelta->Length + 7) & (~7);
|
||||
|
|
Loading…
Reference in New Issue