From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web10.9453.1642488184654096627 for ; Mon, 17 Jan 2022 22:43:04 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=UYVcRoQL; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: jenny.huang@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642488184; x=1674024184; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ao35XcUZVhqatBXjqiK5HhE83iE32BVp2TLG2Vhn60I=; b=UYVcRoQLOg/db7TWDd7A0EApDIjgJifhQKCCH6Ip8B8dt2UU7viFcmD5 CXTfPbHE1bT2/MVeOvyHvavuXrY9iMCQxohFXpJDdVenzQskLBXAfBhbp AP9K0BCZuyTWY/opoNnRX65qWFinFGdCtzT7AogFeBY1URO0a1aaIJCoO bBZLaBXGlOEOeiDnQkDZ5uIpiR38JTaXz00oPOSPFLGqp52GN13M42bvd PnNSTt0fpBGqx21gJrMTknT0U3Q0ZQ/fe24ocr9LU8lvSk4JRRHPr0FGI rhvWOaxGoWWkGj+Z4bspW0FcuCW04XBZ3CB7Jp1JpnTjUa/FKG6o5h+Bl w==; X-IronPort-AV: E=McAfee;i="6200,9189,10230"; a="269129490" X-IronPort-AV: E=Sophos;i="5.88,296,1635231600"; d="scan'208";a="269129490" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2022 22:43:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,296,1635231600"; d="scan'208";a="517649949" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga007.jf.intel.com with ESMTP; 17 Jan 2022 22:43:03 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 17 Jan 2022 22:43:02 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 17 Jan 2022 22:43:02 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Mon, 17 Jan 2022 22:43:02 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=STqJAdfDkNI32TQc8Gv7X8M0TIz+dM5mSYP8IldDkNQDxCVNeKNtuyXR573REsH95Jx+5OJGWGjwxnU4+CnUsmhoZGCain0lwkxL72CUDdwR+O1mVpho91fu+ubDW8wyXDdj5d+3SQ2DwrwakseFslfEXnxLvFM4WwGt+5mNKvy9alMfgmqWPbiOq/ISPvJCrNNGQx14xxlHfUvIjSLwP0FFyAeFYjPui+CUZkzB5DiFeAyYKqDRD2SyWT8vqpWdpLbE0o28g8JSJMUbToTALJCQWx5VI7JIkQ8DkVuAWJ9KxUyj411Ppr4UDDBzBCnJfXMKC9yCReP0bSzK1rJ62Q== 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=xR2dkimb21VZQ2Qnc7w4/C09WQdoFfDf81zR8ciiuW4=; b=BgZYSC8mAITpa0zUp3fIHYR8L10kEvWJFhEBH9DxA1ri14OX3rT4I708PskW3Xf+GAPFEUgwTBtTUKsZ1VkT5awqSNEkTTHAqTXk+7TyC+9W7HsjRtM9rQAnEX6BI3w9X6VfnqWoyDbBXRb61DNxeze3HKNTY9b4dszn+zs+kjOSkk/J+r452zqlsChd1vCSEGh0hREo8vojSR5RRAdlX4rrHQYGqoXVFja7F5rkp05an/QQsDKJ1nM0dRck94Bls8Fe+A5capdrm6wkuz7WmvudMNSoTmxvxbz+0JpxgTx/vocqN3WnRPZ0WFBt2MR7C2uaHyVTI8RAJ7b38sSEtw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM6PR11MB4627.namprd11.prod.outlook.com (2603:10b6:5:2a2::19) by BL0PR11MB3218.namprd11.prod.outlook.com (2603:10b6:208:60::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.11; Tue, 18 Jan 2022 06:43:00 +0000 Received: from DM6PR11MB4627.namprd11.prod.outlook.com ([fe80::d5d8:1d2a:ce27:b337]) by DM6PR11MB4627.namprd11.prod.outlook.com ([fe80::d5d8:1d2a:ce27:b337%5]) with mapi id 15.20.4888.014; Tue, 18 Jan 2022 06:43:00 +0000 From: "Huang, Jenny" To: "Sheng, W" , "devel@edk2.groups.io" CC: "Ni, Ray" , "Chaganty, Rangasai V" , "Kowalewski, Robert" Subject: Re: [PATCH v4 1/4] IntelSiliconPkg/VTd: Fix typos Thread-Topic: [PATCH v4 1/4] IntelSiliconPkg/VTd: Fix typos Thread-Index: AQHX9vON5Jg4S/5cr0ew5qDJwegqgqxofq0A Date: Tue, 18 Jan 2022 06:43:00 +0000 Message-ID: References: <20211222051936.11356-1-w.sheng@intel.com> <20211222051936.11356-2-w.sheng@intel.com> In-Reply-To: <20211222051936.11356-2-w.sheng@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 900317c7-6670-4140-7639-08d9da4dc55e x-ms-traffictypediagnostic: BL0PR11MB3218:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nPDS1Lwt6oN2hZs4d6hMh4gxYu7tLlAXW57vULZ0SuRlmh2ueM2ruSxBZUrNokCcOF7zeQefUWaj0i38Ss7bubgB5dDR0n4s1GcjcuBIRj1aB389+TW0/LGiNyyQSZsZAsEmWJg0G4CjR/gv0ZbJJLANUssKq+PaZH18rgmCuLLDNEzCAwZcc1HqVGLeC2c+WE/k79DK6jl5jScLpe2BP6KAB/iieGLAgLTbhpQMGYgEZky6Bn293SJcRrXJ8430WBAdZ3xsYXZWoJM9oSHkp3B4LWdm9eDnanG76dKIPo/dijhMpIVySxE4MusAMC5126frTuxM3AUHHSjHSb3MaH6jXxuw3zhYrUBf2/aAPThNJrNuY/MdR9diqo+Cli/poqrHYD8Ccn/yMYoYjyzeHgQvxjW/S6NGDXTp5grqyEk/9kT0qQVTo8TLJInq1vMzGU82Ed/fkr0uvBamXiNk+Psd3WXWE26NHpUYHJY1eT6BoWzXmY2ZSAwU0Saa/nR+KqEaaufW1V6/Ks2YsXxkncaRdLt0UdRkGsZ1a4nZyUqNyObDI58ujAIyEIXzVCfST6XAcl6bUiN4wO1/lQ57zg4kiAazgwNZ0vU64fzejYKsSgVl/ioPGQAuoJNpyvohzRZkYM+D1tOkeHuI8cStrV4wEtASwVJYVdncVSp7ogSRU5aQYUGkdKUxKUe6dEtDIrantRGSy/CzEhu+OH5YdwNEpzIbuWow0s2h4PASa2TbkLA/xrzkwIWGzzlzXD8wi0M0kg6omZTsbVO/yvHEP8feS1IYV3A+jWnVMy7Nfn4= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4627.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(86362001)(6506007)(64756008)(66476007)(66946007)(7696005)(52536014)(8676002)(186003)(5660300002)(66446008)(55016003)(76116006)(4326008)(83380400001)(53546011)(33656002)(66556008)(966005)(2906002)(38100700002)(8936002)(110136005)(9686003)(508600001)(54906003)(82960400001)(107886003)(122000001)(38070700005)(26005)(316002)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?qJvFO6NS0h4ttwFm6q+FUgOGVQUP8YNTIEeSQPDD+dOmRwXOPjiA1gZ/7eYO?= =?us-ascii?Q?d8u3txgZze2iz93NEIEFLOD7GzjrfYFKFZ4QR/nyEWBHWB82Z1nLXMXZ8r7A?= =?us-ascii?Q?fZ6JOa2KSR2+kiTogubsaWiXhnpKIKpBynlz0KO4qmHThW2O53a1iaOHBFKi?= =?us-ascii?Q?2Tutf80K88ZydEqHUvtTGI3bSppnW4EwvFVx2rVHhUCvLmHVljgbwogQu/89?= =?us-ascii?Q?dJDXueqL0u7r0TzOd5eMQgGc0sZc7ar6/TzVlQaSJo5Iqoto/teJ+FU6bfDS?= =?us-ascii?Q?5TeUOqG7qUKDuvI7UhrvczQpsXZGTf0ddwKs2fUXwtl5A+QOMA9tN7ZOwimD?= =?us-ascii?Q?3g1v+mXJQiDonnye4WxSo7zoxvmKFC+PZqNtYloZmXfIwYbmzQ7vU3JtXYdX?= =?us-ascii?Q?30AL6Y/+J/FxB5WSXtcSaH9fuYg1LWL3RNLu5FRMzKF/K3bX23PK8cy0psLY?= =?us-ascii?Q?EdQ2eGO1BqiMORkKaPjU4UrADO0ZBIMVhibzRv7VGfJb+EtOaViUSFbjE6nx?= =?us-ascii?Q?5VouiSz1y0QqVuWXwQp5eYBFl2lJ8pzoI2F0PbmZDsG0mgvEzkj8Vc3X2ptC?= =?us-ascii?Q?cpPIWtHLeylIqHFiFU6NWr+4JWgzA5JpntdVOBD66aM9UG/9Yacuab4ooc10?= =?us-ascii?Q?5spp/JTw8/8lAf22cLn+FnS1rRPZRQ8y4IAaWIZc3Nnf5JWaaEZm/Gqpsu0f?= =?us-ascii?Q?SvN46qM2cNfxN2CAdmej4fwvKm78Dpa/hgJqIcBwJctAvfzIAKuuE8FOMAF9?= =?us-ascii?Q?0b12FOFoJ3p0/rvFukoA5q31TbEG7X1C9Qr5NDmLHCnoVAz2WXE0qDN/nKRy?= =?us-ascii?Q?QGjbWh353Z2Qwn5wH5hp9xpbtiqNaaDxlMvHCFhhoHAF3Bq1Ozn/rokHuJYd?= =?us-ascii?Q?teM99AGRelX4EehVssE6NQWuZjPsl82EalJpWI0GR8Fskgh/hPf5EqaXmh0c?= =?us-ascii?Q?PZFQyiaHt6ccUPcyj/4GjSvFPzTWwkjmRQCxgrndV4w6WyIjpn9FqNQsUwOh?= =?us-ascii?Q?kJoNt+CusqOf+59CulxpZHynqjNZ87bO5k+FjNOefn7NGT9p4swCjyMtqP9z?= =?us-ascii?Q?mtge7CCR+NJ9x+X//Q+xXSs3fbuTzwZs1ZxCR/c1eQPivp7QSl5gjzntMIQL?= =?us-ascii?Q?4rpb4YMonRA4ZDoOiJAB+TE4hOfmLgXYGQtcN8GRMqZSsz6lkxqNZm2NRWWx?= =?us-ascii?Q?aSb9KTg3BGjtk+e5jSuNrvHl3mrDs7qrOrSjJYXvf8/n6qW48m/mS3B2REcm?= =?us-ascii?Q?QW18yNHG+gDn+yU4VuMI6cbEM7BgN3fpHw3SyNejEQFz+tjXTvil6rtLCSiw?= =?us-ascii?Q?ITKaLTR6oGVuEXfrVlKksCaLU4Xgs7gIPrAaIAHH2atc/MmM6fe9zDmIETZS?= =?us-ascii?Q?MsUS9a56WCeno7gdCQ9hwW1uP8rpc6oCqeiEYanHRnsNe3B2F9PRC5V/gOBH?= =?us-ascii?Q?+oauv+z4Wm6xETZ8pSIDjnQxhCWSAXvI1iG1smIj2HX7X4V4quoq8yT0EN/G?= =?us-ascii?Q?7pMTgLZ8Vh7KxpYVCwDYCRseF01welUOV6w2Fc0AEehUqzg7LS2uO7rJRCvr?= =?us-ascii?Q?pitLuCPNj6b8Em2slgcjNMtRXZYYWEJP3vHZbhOb/3ap6QQNnmRLdJGpFwCc?= =?us-ascii?Q?QlwwqkFJhuBuH6rshdnoaiQ=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4627.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 900317c7-6670-4140-7639-08d9da4dc55e X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2022 06:43:00.7493 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nWzhEAz1rmDjkNA3Jz3waonz6EGJhYUAGf3dS48suuL0zmbH/hcFbJLz1dv3KMwsLsnnVvcizhfbwvoJSZTyOw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3218 Return-Path: jenny.huang@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jenny Huang -----Original Message----- From: Sheng, W =20 Sent: Tuesday, December 21, 2021 9:20 PM To: devel@edk2.groups.io Cc: Ni, Ray ; Chaganty, Rangasai V ; Huang, Jenny ; Kowalewski, Robert Subject: [PATCH v4 1/4] IntelSiliconPkg/VTd: Fix typos It is DRHD(DMA Remapping Hardware Unit Definition). REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3622 Cc: Ray Ni Cc: Rangasai V Chaganty Cc: Jenny Huang Cc: Robert Kowalewski Signed-off-by: Sheng Wei --- .../IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/DmarTable.c | 12 ++++++--= ---- .../IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmarAcpiTable.c | 12 +++= +++------ .../IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/DmarTable.c | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/Dmar= Table.c b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/DmarTab= le.c index 2154690d..e9c99d0a 100644 --- a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/DmarTable.c +++ b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDmarPei/DmarTabl +++ e.c @@ -539,14 +539,14 @@ RegisterPciDevice ( } =20 /** - Process DMAR DHRD table. + Process DMAR DRHD table. =20 @param[in] VTdUnitInfo The VTd engine unit information. @param[in] DmarDrhd The DRHD table. =20 **/ VOID -ProcessDhrd ( +ProcessDrhd ( IN VTD_UNIT_INFO *VTdUnitInfo, IN EFI_ACPI_DMAR_DRHD_HEADER *DmarDrhd ) @@ -581,10 +581,10 @@ ProcessDhrd ( =20 if ((DmarDrhd->Flags & EFI_ACPI_DMAR_DRHD_FLAGS_INCLUDE_PCI_ALL) !=3D 0)= { VTdUnitInfo->PciDeviceInfo.IncludeAllFlag =3D TRUE; - DEBUG ((DEBUG_INFO," ProcessDhrd: with INCLUDE ALL\n")); + DEBUG ((DEBUG_INFO," ProcessDrhd: with INCLUDE ALL\n")); } else { VTdUnitInfo->PciDeviceInfo.IncludeAllFlag =3D FALSE; - DEBUG ((DEBUG_INFO," ProcessDhrd: without INCLUDE ALL\n")); + DEBUG ((DEBUG_INFO," ProcessDrhd: without INCLUDE ALL\n")); } =20 VTdUnitInfo->PciDeviceInfo.PciDeviceDataNumber =3D 0; @@ -600,7 +600,7 @= @ ProcessDhrd ( return; } =20 - DEBUG ((DEBUG_INFO," ProcessDhrd: ")); + DEBUG ((DEBUG_INFO," ProcessDrhd: ")); switch (DmarDevScopeEntry->Type) { case EFI_ACPI_DEVICE_SCOPE_ENTRY_TYPE_PCI_ENDPOINT: DEBUG ((DEBUG_INFO,"PCI Endpoint")); @@ -708,7 +708,7 @@ ParseDmarAc= piTableDrhd ( switch (DmarHeader->Type) { case EFI_ACPI_DMAR_TYPE_DRHD: ASSERT (VtdIndex < VtdUnitNumber); - ProcessDhrd (&VTdInfo->VtdUnitInfo[VtdIndex], (EFI_ACPI_DMAR_DRHD_HE= ADER *) DmarHeader); + ProcessDrhd (&VTdInfo->VtdUnitInfo[VtdIndex],=20 + (EFI_ACPI_DMAR_DRHD_HEADER *) DmarHeader); VtdIndex++; =20 break; diff --git a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmarAcpi= Table.c b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmarAcpiTab= le.c index 1ee290b7..75fbd53e 100644 --- a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmarAcpiTable.c +++ b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdDxe/DmarAcpiTabl +++ e.c @@ -662,7 +662,7 @@ GetPciBusDeviceFunction ( } =20 /** - Process DMAR DHRD table. + Process DMAR DRHD table. =20 @param[in] VtdIndex The index of VTd engine. @param[in] DmarDrhd The DRHD table. @@ -670,7 +670,7 @@ GetPciBusDeviceFunction ( @retval EFI_SUCCESS The DRHD table is processed. **/ EFI_STATUS -ProcessDhrd ( +ProcessDrhd ( IN UINTN VtdIndex, IN EFI_ACPI_DMAR_DRHD_HEADER *DmarDrhd ) @@ -690,7 +690,7 @@ ProcessDhrd ( =20 if ((DmarDrhd->Flags & EFI_ACPI_DMAR_DRHD_FLAGS_INCLUDE_PCI_ALL) !=3D 0)= { mVtdUnitInformation[VtdIndex].PciDeviceInfo.IncludeAllFlag =3D TRUE; - DEBUG ((DEBUG_INFO," ProcessDhrd: with INCLUDE ALL\n")); + DEBUG ((DEBUG_INFO," ProcessDrhd: with INCLUDE ALL\n")); =20 Status =3D ScanAllPciBus((VOID *)VtdIndex, DmarDrhd->SegmentNumber, Sc= anBusCallbackRegisterPciDevice); if (EFI_ERROR (Status)) { @@ -698,7 +698,7 @@ ProcessDhrd ( } } else { mVtdUnitInformation[VtdIndex].PciDeviceInfo.IncludeAllFlag =3D FALSE; - DEBUG ((DEBUG_INFO," ProcessDhrd: without INCLUDE ALL\n")); + DEBUG ((DEBUG_INFO," ProcessDrhd: without INCLUDE ALL\n")); } =20 DmarDevScopeEntry =3D (EFI_ACPI_DMAR_DEVICE_SCOPE_STRUCTURE_HEADER *)((U= INTN)(DmarDrhd + 1)); @@ -709,7 +709,7 @@ ProcessDhrd ( return Status; } =20 - DEBUG ((DEBUG_INFO," ProcessDhrd: ")); + DEBUG ((DEBUG_INFO," ProcessDrhd: ")); switch (DmarDevScopeEntry->Type) { case EFI_ACPI_DEVICE_SCOPE_ENTRY_TYPE_PCI_ENDPOINT: DEBUG ((DEBUG_INFO,"PCI Endpoint")); @@ -877,7 +877,7 @@ ParseDmarAc= piTableDrhd ( switch (DmarHeader->Type) { case EFI_ACPI_DMAR_TYPE_DRHD: ASSERT (VtdIndex < mVtdUnitNumber); - Status =3D ProcessDhrd (VtdIndex, (EFI_ACPI_DMAR_DRHD_HEADER *)DmarH= eader); + Status =3D ProcessDrhd (VtdIndex, (EFI_ACPI_DMAR_DRHD_HEADER=20 + *)DmarHeader); if (EFI_ERROR (Status)) { return Status; } diff --git a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/DmarT= able.c b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/DmarTable= .c index d920d136..1bb74f40 100644 --- a/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/DmarTable.c +++ b/Silicon/Intel/IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/DmarTable +++ .c @@ -356,14 +356,14 @@ GetVtdEngineNumber ( } =20 /** - Process DMAR DHRD table. + Process DMAR DRHD table. =20 @param[in] VTdInfo The VTd engine context information. @param[in] VtdIndex The index of VTd engine. @param[in] DmarDrhd The DRHD table. **/ VOID -ProcessDhrd ( +ProcessDrhd ( IN VTD_INFO *VTdInfo, IN UINTN VtdIndex, IN EFI_ACPI_DMAR_DRHD_HEADER *DmarDrhd @@ -415,7 +415,7 @@ ParseDmarAcp= iTableDrhd ( switch (DmarHeader->Type) { case EFI_ACPI_DMAR_TYPE_DRHD: ASSERT (VtdIndex < VtdUnitNumber); - ProcessDhrd (VTdInfo, VtdIndex, (EFI_ACPI_DMAR_DRHD_HEADER *)DmarHea= der); + ProcessDrhd (VTdInfo, VtdIndex, (EFI_ACPI_DMAR_DRHD_HEADER=20 + *)DmarHeader); VtdIndex++; =20 break; -- 2.16.2.windows.1