From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.71]) by mx.groups.io with SMTP id smtpd.web10.1272.1639588790624198284 for ; Wed, 15 Dec 2021 09:19:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=0dWVtNie; spf=pass (domain: arm.com, ip: 40.107.7.71, mailfrom: christopher.jones@arm.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VHZ4hdWW8rGm5vgUu5/0zxNeiulUAXvVVBjHgc7VRxanXbbWfvumXBDBkbzsYXus7KpbTG2GG3FHEexmSq8KaFDRm4LMeFT6s1V0Pz6lVcJvgkvxR7qe4O3ihIncCHq3tI8PhnT6kiljGjzXIODYIjfuXRoF402hydDwECSLkgxbx2QB2aPVhXb67SFWNW4Kr+ANC8RvtkXjvtpb8Xs+sG6x+6u6RDQdqNK5/bequOk6JfNR16k8KXk+/CY6M3Piilj6OZS9dhR9gHxVFEeWTdf8vrRIbFJN9gBuXj7HWdXtzVXv08ORdprDB5gtaShp11sXD6cySHz3fb4eGljwsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MdoJxRWonMO4RtdmT+0nUlfZF8/+rySJP9MmioVqfQI=; b=aD8A7Rfl670d/+zWTPPoRQ09cjWqAkPtbJjLTL1EFG0ch9a1R4yy9FV58RoFvhFMhJxSpwCiOykPkLa5ARY9xekIThzFidVUdhdXAO9le41wHGIAcw9QRLpRyPb1VYiArtdOI07USwoCLGvuNACPu4+TXNT0tEBBJiIL9r/GrykxqpzawdKM+ut0wjQLg5CCdtKRln/OWR4+HayBKFH+DmmcGsUTPGqbkBfPQPceAKedqdNFUy0OKQeh6nHM0rhKxRZlDjATPlOh0fJshU7Cf88R7VswW3cC1c8q0WIsnBYGkdym3DE/XWh/9MT3pvHxT17TFI5A+sxUNEErLcS66g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MdoJxRWonMO4RtdmT+0nUlfZF8/+rySJP9MmioVqfQI=; b=0dWVtNie2LNw2KwKf8O+orGL3k0Z6/qu/XFQsvTHED1Xniys4ED3CbFMy7xc8YRT6PJqRVFlJxhv0SyMwubKhsvv4TVKC/v6Cd/y6JXPNJCS3syZVDWdMIhXk30s1IQIGi0l7rzS0EiGdF+4imNWoKNg0IaIMc9IiwA+0V7vF0c= Received: from VE1PR08MB5758.eurprd08.prod.outlook.com (2603:10a6:800:1a0::11) by VE1PR08MB5696.eurprd08.prod.outlook.com (2603:10a6:800:1ae::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.16; Wed, 15 Dec 2021 17:19:47 +0000 Received: from VE1PR08MB5758.eurprd08.prod.outlook.com ([fe80::c81e:87f6:288c:db76]) by VE1PR08MB5758.eurprd08.prod.outlook.com ([fe80::c81e:87f6:288c:db76%8]) with mapi id 15.20.4778.018; Wed, 15 Dec 2021 17:19:47 +0000 From: "Chris Jones" To: "devel@edk2.groups.io" CC: "ray.ni@intel.com" , "zhichao.gao@intel.com" , Sami Mujawar , nd Subject: [PATCH v1 5/9] ShellPkg: Store MADT and PPTT processor data Thread-Topic: [PATCH v1 5/9] ShellPkg: Store MADT and PPTT processor data Thread-Index: AQHX8csk45Gk6OcmuUecXR4NmBbgoA== Date: Wed, 15 Dec 2021 17:19:47 +0000 Message-ID: <14cf466c8f5549c5a63d056f3a8c6bda20211215154722.4860-6-christopher.jones@arm.com> References: <20211215154722.4860-1-christopher.jones@arm.com> In-Reply-To: <20211215154722.4860-1-christopher.jones@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email received-spf: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR08MB5758.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(38100700002)(71200400001)(4326008)(8936002)(122000001)(66946007)(91956017)(36756003)(2616005)(8676002)(37630700001)(38070700005)(83380400001)(6486002)(64756008)(66556008)(316002)(26005)(66446008)(86362001)(76116006)(66476007)(6506007)(5660300002)(508600001)(2906002)(54906003)(6916009)(186003)(6512007);DIR:OUT;SFP:1101; x-microsoft-antispam: BCL:0; x-ms-exchange-crosstenant-originalarrivaltime: 15 Dec 2021 15:47:46.5530 (UTC) x-ms-exchange-crosstenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d x-ms-exchange-transport-crosstenantheadersstamped: VI1PR0802MB2605 x-ms-exchange-crosstenant-fromentityheader: HybridOnPrem x-ms-traffictypediagnostic: DBBPR08MB4870:EE_|AM5EUR03FT009:EE_|VI1PR0802MB2605:EE_|VE1PR08MB5758:EE_|VE1PR08MB5696:EE_ x-ms-exchange-crosstenant-network-message-id: 878c2538-8d59-49b2-0698-08d9bfe23d90 x-checkrecipientchecked: true x-eopattributedmessage: 1 x-ms-office365-filtering-correlation-id: a0755a11-54df-4d57-1ed0-08d9bfef186b x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:6790;OLM:6790;OLM:6790; x-ms-exchange-crosstenant-originalattributedtenantconnectingip: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] x-cr-mta-tid: 64aa7808 x-forefront-antispam-report-untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(4636009)(46966006)(36840700001)(40470700001)(47076005)(6916009)(186003)(2906002)(426003)(336012)(356005)(4326008)(81166007)(83380400001)(26005)(8936002)(8676002)(6666004)(508600001)(36860700001)(1076003)(86362001)(2616005)(70206006)(7696005)(70586007)(40460700001)(82310400004)(54906003)(5660300002)(316002)(36756003)(36900700001);DIR:OUT;SFP:1101; x-microsoft-antispam-untrusted: BCL:0; x-microsoft-antispam-message-info-original: NvUoCQklIrVQo4Z/+1F8fKEqKQSeqs6RqGmLBVkNSpmYtccT5xyOUTpsMvCAlDNXj4j+lcpqsu5GTRteeV4F03w58N52Pp86fZU08me55S8vEHJ7DjkPavkuIDh2sG2oL5AO9Q06VdX7+PA+oX6mxf1ECLlg30C2qF4V10Ki4c41q6G3pLScXomNHAt+yROdebtWj0Huy2bokN0hMmyWoGRkJ+FvN2vVREOSoXxBRvw5ed2S5ACS8LRNrfYG6CI3yfFyWP8l00pwcSNooydgKZNXluY6XVppuInVcWFKFPbEcXuKoBzl/JH36xLPkk88bQA+urycMo2aW1h3XH0KgcnouEAa8YBHI9a/UNdTn4wj61tv1Y/b42peGzSq+55fKm7tSWGmaTx4mXRjllbEzKdp2pchi5rFx13vf4WrI7V5vp6zXO1DhDeH4wPyny+YHjkAJsTCjXHUlqATx3/3aVf0twhwVjCe5e/UgiYH/inxm/kCCKmXRk2Vx3/uowDVfFA/uADPg3GoDpSiTLOIO6Kmlg9peVd1X3TR1b/BF2Hy4KMxVuRTr4pBWVET944GulSNdUL2SuddT1btzxYSkvYSiexeomgrp6UOrCDqu6DaIVIvIvmfYcdOBzUNyINjGjHwq2mxvTNWNqS/3NmnKmt51ll/QgDXJgKRF6Bk7qbXXkbjkTNhRpUmDJF6cOXzto0fHqYzhZuNLBHxyYjYrs3ogs7oLzFXcVFJZivdg27PuJZjP1i7SM4BlXDwUYH2OJwrtmgPj5lwcOnBiUDrxrWouIGX4GHvVAVduDMtSt0zEIt934od7N5JxpzoZCobsJ9xTnnx+gCnhf6flmQYmajXhMCk3bBXr6y/seXP4eRz7woFACxrMp3EZPLC89Pa x-ms-exchange-transport-crosstenantheadersstripped: AM5EUR03FT009.eop-EUR03.prod.protection.outlook.com x-ms-office365-filtering-correlation-id-prvs: 878c2538-8d59-49b2-0698-08d9bfe23d90 x-ms-exchange-crosstenant-authas: Anonymous x-ms-exchange-crosstenant-authsource: AM5EUR03FT009.eop-EUR03.prod.protection.outlook.com x-microsoft-antispam-message-info: nlE5nxQ2O6/1EiUenLfOQROWC8rJfQ2AQliUKziRKVQ0YZ4g42rI1LyBoWPAnAJRHD11KLfcnBPen1rBg8ETmtcEQGgFOFbYHsY0DN+ra3gQz+K+A/3ueMlf1SOoHrZ9q5YNqsb1hyDJsbE+/BKlhjkQ4sTRmJOsA19H6FUkIWYOkB9sRTJvXsxrcU5UnHzj/Fc7fT2TYRoXCcD9hr5KXbU0/emnIi4n7uoBBzn2Cxl61ukgjHD4ssDVBwAC3RnzC31KYIdRsCNMkSgAzbJj+yGzOj7fgHSoF3SkTg9id+LYglyJjKtIpahu70sej7n68/l49/wLPVW+QBVyRmW8dqpwiqNLw5LGF+m19k+afFlDVmotert+qi9d8hvXUoRpesw1s7ofSd+QS2fwSUGV9hlr4+AADIjPtQlT1yKkgpBCKKtGFuf22MW2aq3kCpZ9b0ZcZdhwf9pg8f4BFMhbhPdyoAAVsmqypMgt+oJ2Aq3VLYN4OTTD7Jj0I6J0Md1DwXFDdgveR6u2lWOnuSYTYVB1Qdzd1EvB1s5c13hmpmRzNePWj4W+fIAST7jefR77PkE87A4NCsGjXIBThVaragd0V49cjPFxehWubG8+G4K4RjyYLRhMaHAynHXHKg2TrdvlAWnHOLS75BuRnNDcCmupa3AqbUZ9vlmmCzhJG1PpxdqBYQBAYumEvv423asj/ZxHCAB4JYJVnQo9VEGs0pVI2lxEe+lLZe9s5b3nNCVxw7tOAdZM8UABpEVRnthAmLtx5w+uomU5G4G1+s/vDzwGW7GsGRQaUhmkCOuoy60= x-mailer: git-send-email 2.17.1 x-cr-mta-cid: c1f1866b17564316 dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KRhJ9UmlZyF10xBil3ORnzHMqy0umKfjb0K2CNpZ11w=; b=seis/pit60AFcA2tT1YTuFARuGieQ5kXt6mJ4Z+rBH5mxC/vBdh+XQbuigy5QfrPcfRsabcrzSONApb1gy62jWdFgtu8+SFhbIo0WznJhs6cFdQeqEpyqefvf511dI5anushsMmRWTJ0d9PfzODS6MjmeYDCXi6nHBvm6pVb6O8= suggested_attachment_session_id: ae7e7cf0-df15-76f5-2379-2055bc43b9bf authentication-results: dkim=error (no key for signature) header.d=none;dmarc=none action=none header.from=arm.com; x-microsoft-antispam-prvs: nodisclaimer: true x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?MzIEWLekNkXFqrYZmezxLjlfeP/7vMMfHL18BptTCF3jGGVz6kWoN7HPB0?= =?iso-8859-1?Q?DYVyS3W1CvErzPyTMJhO41Mv99ajMPh5Iw/KyYviQ3kiMPxF72GyFjiSzA?= =?iso-8859-1?Q?T9+sVTuHoAqlvn7sh/zl0lHvM31yVMgt+8DRuB3AX6WikcU/T7RZfjxMac?= =?iso-8859-1?Q?3rfBTsp38syATilNz2bEAEbtd5FlbSltbtG74PSP3+JW5X6KsLX/PUCuDM?= =?iso-8859-1?Q?5PJyHKJ09spuoF8LTz7/54q7zovkpHjtI+lP5ukFSjqiN2zP1H7Oxy3y5m?= =?iso-8859-1?Q?55P0lDYUyq526+36E3Em6cx8Jj39kXyH6wkjTBsgdd36bj6LZe+le+XdRi?= =?iso-8859-1?Q?UmXpotJ01wKDNCq+PrxVSERK5ODbIFulvBfrgdFG4BY/N2k2M22OhBidDs?= =?iso-8859-1?Q?7w4CdudRD31q3ssS3AqsOVk27ESrtOlug8xwBUYQW1gYNcJIolccfXpjyb?= =?iso-8859-1?Q?dCrRMntMypPejh7D7CDX9lzd1/1/OC9qDNQV9v5RLwM56EV/Poak85f8i3?= =?iso-8859-1?Q?z4g9UeGHJ6IrJM+qIsU6+Z/cSAGtDMHPzinUmv3C0esGLrJIVejofjzjyW?= =?iso-8859-1?Q?w3jYQueLQ8niA9aLGL2rZCzV+ifUrkWEYe7VYfxNY6Kxi1rRHALOEejx88?= =?iso-8859-1?Q?pZGgA6dn6IuBwrwUEY/IOYGO/6pNy5rz7vkUyHADejsJoh+RweC3PFjG6G?= =?iso-8859-1?Q?bDb6lvBLh9t4mZiubj+nAPZAvMoSY+OkEuJzokjnc+qecBj8jXl8tT4P63?= =?iso-8859-1?Q?H0WDIgxkrZiOI88JPvhtac2/dRoUBN+Vt6T0ZL/gxdYcPAVI4xSmrNs9N2?= =?iso-8859-1?Q?oxS/a3Zoz+p7mfmEixIizVUKjXl5eQPaTlqP3bV9vZfWglt7cR2wyAi5Jm?= =?iso-8859-1?Q?3dpHLJj6rASknRbVWjJSGhheXFdGHdphfsyk9NHqfl3YB2WUN7DH243lmT?= =?iso-8859-1?Q?AmTX9RCLZaHfYtG/NxpZRhqMXgTK6fifbJ9xjEuWh+xV4uqls1izvZkVNn?= =?iso-8859-1?Q?dV9AKzrkN6qgUXy1/WHDq2kyThr8YppC9ZGhRHwRHloMwBuX5KcDcgjA4S?= =?iso-8859-1?Q?PtLvFuqTaswVrx6RCl75oMbHSC8ekCzrszqAyvQYUW4fzgEuUNqJCUFxQc?= =?iso-8859-1?Q?EZ0l9r828hyoQjHZiu2HmWup2xT41uIqIYjnhYAQAlJnpP3Gh/sQHJsRn2?= =?iso-8859-1?Q?5OB8f2Z3vYWiTMnR96fRpiRWMA+o8PsoKqCG91FF+TPFvOniTqBAAge2/x?= =?iso-8859-1?Q?Cv9JbJNfL3fGp/2jn9Taa5Fdt9Q3EHCqZizWF4h1EvLAG6yMBAOAViyF77?= =?iso-8859-1?Q?Aa/GDkGBSzQzPO1/tE3HxHrPvlSN6oNMg4BLjtCobHguNW4W6bTdsmfFOv?= =?iso-8859-1?Q?FWWgmfM/wcH2CXx3Jb9nxVRqAFXJ2UEvjjmIW9VNqnzBUFAL/NtU5G7UTo?= =?iso-8859-1?Q?sM1wsN3rIq99qWFVJbEYHSob8wIo/8eCYwT9+zbrur8JSUcjFWq82E0mst?= =?iso-8859-1?Q?IHwGrSG6uXauk/XE7S4A3TBde/MaKDVePO+t2/cwPYhl0bmOQxEib7p82g?= =?iso-8859-1?Q?minXF+E/66pFH5Rq5tF/N66vH20duFyn3T0HHEELanX7DFLEwlI0I+yf14?= =?iso-8859-1?Q?8Wd4T6Y6x47esB6Hwqu7bSI4wcrKlUTfvgAM8kDr6d+S5DrNqfazDN+U55?= =?iso-8859-1?Q?Nv+9V1JJLIlupfk7icURJtgHdlcG63W4bUVbdtQmC6zW2Hun+Eqkp7RaKa?= =?iso-8859-1?Q?Ix4A=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB5758.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a0755a11-54df-4d57-1ed0-08d9bfef186b X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Dec 2021 17:19:47.6014 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: o/Ue1/hGaak4yupUm/JNFNXlIVPhVz7dnL85Q3uW34Ltv6YTvfzzrBgckEdJgLyFj6sTU7BKJ3lqX5Bm6lrPN0Gxf/NvcLQLN3fSDxYH0TU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5696 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <756C364C4741E84984C3AFE2F4387CC0@eurprd08.prod.outlook.com> Content-Transfer-Encoding: quoted-printable Bugzilla: 3773 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3773)=0A= =0A= Store processor data from the MADT and PPTT ACPI tables so that it can=0A= be used for processor ID validation.=0A= =0A= Signed-off-by: Chris Jones =0A= ---=0A= ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.c | 2= 3 ++++++++++++++++---=0A= ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.c | 2= 4 +++++++++++++++++---=0A= 2 files changed, 41 insertions(+), 6 deletions(-)=0A= =0A= diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/Madt= Parser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtPa= rser.c=0A= index aaa68c99f51457050df0c6af39ab5e4912dc729f..837f22abf368449c22e526d0972= aed57e4f96443 100644=0A= --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.= c=0A= +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.= c=0A= @@ -16,6 +16,7 @@=0A= #include "AcpiParser.h"=0A= #include "AcpiTableParser.h"=0A= #include "AcpiViewConfig.h"=0A= +#include "Validators/AcpiDataStore.h"=0A= #include "MadtParser.h"=0A= =0A= // Local Variables=0A= @@ -281,9 +282,10 @@ ParseAcpiMadt (=0A= IN UINT8 AcpiTableRevision=0A= )=0A= {=0A= - UINT32 Offset;=0A= - UINT8 *InterruptContollerPtr;=0A= - UINT32 GICDCount;=0A= + UINT32 Offset;=0A= + UINT8 *InterruptContollerPtr;=0A= + UINT32 GICDCount;=0A= + EFI_STATUS Status;=0A= =0A= GICDCount =3D 0;=0A= =0A= @@ -352,6 +354,21 @@ ParseAcpiMadt (=0A= *MadtInterruptControllerLength,=0A= PARSER_PARAMS (GicCParser)=0A= );=0A= +=0A= + Status =3D StoreAcpiMetaData (=0A= + MetaDataMadtGicC,=0A= + MetaDataMadtGicC,=0A= + InterruptContollerPtr,=0A= + *MadtInterruptControllerLength=0A= + );=0A= + if (EFI_ERROR (Status)) {=0A= + Print (=0A= + L"ERROR: Unable to store GICC type structure." \=0A= + L"Status =3D 0x%x.",=0A= + Status=0A= + );=0A= + }=0A= +=0A= break;=0A= }=0A= =0A= diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/Pptt= Parser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttPa= rser.c=0A= index 8d52bb5e4811298ddc45cdaef41150f6ee7819af..3f4158a68779ea164daee839fc2= b145c828bb62c 100644=0A= --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.= c=0A= +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pptt/PpttParser.= c=0A= @@ -14,6 +14,7 @@=0A= #include "AcpiParser.h"=0A= #include "AcpiView.h"=0A= #include "AcpiViewConfig.h"=0A= +#include "Validators/AcpiDataStore.h"=0A= #include "PpttParser.h"=0A= =0A= // Local variables=0A= @@ -370,9 +371,10 @@ DumpProcessorHierarchyNodeStructure (=0A= IN UINT8 Length=0A= )=0A= {=0A= - UINT32 Offset;=0A= - UINT32 Index;=0A= - CHAR16 Buffer[OUTPUT_FIELD_COLUMN_WIDTH];=0A= + UINT32 Offset;=0A= + UINT32 Index;=0A= + CHAR16 Buffer[OUTPUT_FIELD_COLUMN_WIDTH];=0A= + EFI_STATUS Status;=0A= =0A= Offset =3D ParseAcpi (=0A= TRUE,=0A= @@ -383,6 +385,22 @@ DumpProcessorHierarchyNodeStructure (=0A= PARSER_PARAMS (ProcessorHierarchyNodeStructureParser)=0A= );=0A= =0A= + // Store the data for validation later.=0A= + Status =3D StoreAcpiMetaData (=0A= + MetaDataPpttProcs,=0A= + MetaDataPpttProcs,=0A= + Ptr,=0A= + Length=0A= + );=0A= + if (EFI_ERROR (Status)) {=0A= + Print (=0A= + L"\nERROR: Unable to store processor type structure." \=0A= + L" Status =3D 0x%x.",=0A= + Status=0A= + );=0A= + return;=0A= + }=0A= +=0A= // Check if the values used to control the parsing logic have been=0A= // successfully read.=0A= if (NumberOfPrivateResources =3D=3D NULL) {=0A= -- =0A= Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")=0A= =0A=