X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ArmPkg%2FUniversal%2FSmbios%2FProcessorSubClassDxe%2FSmbiosProcessorArmCommon.c;fp=ArmPkg%2FUniversal%2FSmbios%2FProcessorSubClassDxe%2FSmbiosProcessorArmCommon.c;h=d644cd33d2491d067868b44e19dcf276dad8a438;hb=ac6388add4ade3ae5c4036ea6c2ce9c8d301d057;hp=292f10bf97ebe964fb05e4d4d894d9fdcc057250;hpb=60d8bb9f28f663e6ca58bc87c042fdd82f5607bd;p=mirror_edk2.git diff --git a/ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c b/ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c index 292f10bf97..d644cd33d2 100644 --- a/ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c +++ b/ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c @@ -2,6 +2,7 @@ Functions for processor information common to ARM and AARCH64. Copyright (c) 2021, NUVIA Inc. All rights reserved.
+ Copyright (c) 2021, Ampere Computing LLC. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -171,7 +172,7 @@ SmbiosGetProcessorId ( if (HasSmcArm64SocId ()) { SmbiosGetSmcArm64SocId (&Jep106Code, &SocRevision); - ProcessorId = ((UINT64)Jep106Code << 32) | SocRevision; + ProcessorId = ((UINT64)SocRevision << 32) | Jep106Code; } else { ProcessorId = ArmReadMidr (); }