From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (EUR02-AM5-obe.outbound.protection.outlook.com [40.107.0.85]) by mx.groups.io with SMTP id smtpd.web12.9838.1633515130685333768 for ; Wed, 06 Oct 2021 03:12:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=9tr5Uvf8; spf=pass (domain: arm.com, ip: 40.107.0.85, mailfrom: christopher.jones@arm.com) 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=NrWV6eBOiBW4wDa1fSJ8acfOO+4C7sbn4IUxHY7Wlzk=; b=9tr5Uvf88ExDDftVECOO8VNw561m83Qp4yCASF01r7kaDJ8zhzBcpZmQMg77827HUVXc95qD8rAPbu8W97eOqcCzozymEdb/S0g6SvEOVSthOhfXglXX2OTjRD+rLATm/AaFlg8fZQJJ6ltZBqH4fuI+uDjddgVhmBKnKW5zVqM= Received: from AM9P193CA0002.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:21e::7) by DBAPR08MB5816.eurprd08.prod.outlook.com (2603:10a6:10:1b3::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.22; Wed, 6 Oct 2021 10:12:06 +0000 Received: from VE1EUR03FT058.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:21e:cafe::9c) by AM9P193CA0002.outlook.office365.com (2603:10a6:20b:21e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.22 via Frontend Transport; Wed, 6 Oct 2021 10:12:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT058.mail.protection.outlook.com (10.152.19.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Wed, 6 Oct 2021 10:12:05 +0000 Received: ("Tessian outbound f1898412aff1:v103"); Wed, 06 Oct 2021 10:12:05 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e3d865edd32ba54b X-CR-MTA-TID: 64aa7808 Received: from f0c3347613f7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5D7753D0-FA84-4DD5-8D6A-18F7F7F71D74.1; Wed, 06 Oct 2021 10:11:59 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f0c3347613f7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 06 Oct 2021 10:11:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eqGsgCXYZwSBUyFnagC2/e/KV7KVvVYmR+Edkra5GRL46z1K8Doelkx0vnTrxVzmnO9x2YgfTj0vJOydtr90PAcUQX1BcyNzDJGmOIp4vBqZpwYg1H2hw6RQFiWHsCrir8RnkbsisB7orACAMF0eB3E/W1IfWSp3KPFwrIb0fzudhZ68isCuKZkK2I5t9AmVm+bgXSiSUNiqJmkJeEMt2JG53xPEcKLaWEZnEvtcd5GGvAht+y67+Hz5NkMcm/tY8R4rNSNvAzhO+cSdhNC2b59ybQ4ylwCwpHQljk0awWqWxfiXJIunbUA2wVjJgaDHDJPLSwYEAI0xN3nrRJd6fQ== 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=NrWV6eBOiBW4wDa1fSJ8acfOO+4C7sbn4IUxHY7Wlzk=; b=RXPNFakLHzy8C3jLPeZuO1b0A//KOpUP3fmbcoopr1F4T4ugVoOA6Cxz9cQd5o7EYHjPAt6uGB0DL4jaXxRn67ekmvR9yutlan9uqm+9q8v3TkXa3P40XD6U7CsrggrhdvIhnPMOdY9GyuLW41lvVdpA7vD4su9dAs7GRqlRFDe+VTkhYLV94Ki87bFDPL2v3uMX/X23GmeuncuRDf/A/nBBWg2TpkFZoN7pO4SkGi8C8ikiDkbb4GfXbeFbAQB9zBmS9zSuHjDniMz+e6EpGU11hUpqhJ/Y/cNHvSkdLVnCQPmBVMkj75EmJTPq4JBQ6aNfQ/CzGPURExzVjVgXHw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); 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=NrWV6eBOiBW4wDa1fSJ8acfOO+4C7sbn4IUxHY7Wlzk=; b=9tr5Uvf88ExDDftVECOO8VNw561m83Qp4yCASF01r7kaDJ8zhzBcpZmQMg77827HUVXc95qD8rAPbu8W97eOqcCzozymEdb/S0g6SvEOVSthOhfXglXX2OTjRD+rLATm/AaFlg8fZQJJ6ltZBqH4fuI+uDjddgVhmBKnKW5zVqM= Received: from AS9PR05CA0052.eurprd05.prod.outlook.com (2603:10a6:20b:489::10) by DBAPR08MB5782.eurprd08.prod.outlook.com (2603:10a6:10:1b2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.22; Wed, 6 Oct 2021 10:11:57 +0000 Received: from VE1EUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:489:cafe::cf) by AS9PR05CA0052.outlook.office365.com (2603:10a6:20b:489::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.15 via Frontend Transport; Wed, 6 Oct 2021 10:11:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; 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; Received: from nebula.arm.com (40.67.248.234) by VE1EUR03FT027.mail.protection.outlook.com (10.152.18.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4566.14 via Frontend Transport; Wed, 6 Oct 2021 10:11:56 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Wed, 6 Oct 2021 10:12:00 +0000 Received: from e125153.arm.com (10.57.45.2) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2308.14 via Frontend Transport; Wed, 6 Oct 2021 10:12:00 +0000 From: "Chris Jones" To: CC: , , , , , , , Subject: [PATCH v1 1/1] MdePkg: Fix ACPI memory aggregator/device type mismatch Date: Wed, 6 Oct 2021 11:11:54 +0100 Message-ID: <20211006101154.20589-1-christopher.jones@arm.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 65734ab5-e60e-49d2-b3a7-08d988b1bff9 X-MS-TrafficTypeDiagnostic: DBAPR08MB5782:|DBAPR08MB5816: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:5797;OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: yMN5XUPadLUki2pE1wyYQCZGkxAD0cgnZuQCqYRdLxn5CDTdwMMmUtBJt6BOzhZkVR2W1G6RDyuXNlatl6PoB61DhzZUuYZhn0OvNDvan6rrYPiIlxKZ4XS5tPbTDQ+9KLBI/VyglO40zq+hSDu/zIl7khSmTrUIXbN1CwKzUiyPGSppxkgl5FzBdb9W8Hx0eNaL6nzHmJaPWssHtlbSdHGYlslPlyMbmdYKehs5lkcJFafjSmlnwB7nvIb76bjigOTaLsau2GEgEeAWZhmClCvkab+PXlYl4+hyIblb/GlMYyfOMMT26aWI4tfgrcgrOc4NgcvQlrdZMl3+DUHL8eetVMxAInOaMDaoFy3TMVac1F9OtJvEFUYNm72k7NHzcRLBpglhYeoqBHIz7PgS0wYptFSPXbZJF2vQ2w8PnSVkPP2rvvTO5i0ybVBpqfIHiULnF1leujE5NboeNyLO/p/3QQqi8ZnzqCzIp8pa1nMnazV3tVgWCEr2J8qjWzgk84l630WJwyoGgg1nyGtAEODFl+QeLafFZU3jkZtgLzLpWWZEIkCAqWDon+FZ616IEhLFs4GYS51gjgZkX6iqY9S25LIljihKZ5njWedDbikF1EtZVeWmGumFVrl004L6uZEAkbjDLj3Y0AF8S/WHozYNnDzFDTkbpkuf3x4Lg/nlXSQE5PKpis5kLxe6pn0NevU/5zaKYSZg4EEX8IIyyZCrlGjuNL7FfCzO5QEJM3SWmzTkI0NpebQk9Lt4L+LP/8vstGFBjZm1ViGuZ6+P8BroWUhkkb3ndlEyXM9btaBoWwN7K1QEL61b/Dbr4SjC 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)(36840700001)(46966006)(81166007)(54906003)(508600001)(47076005)(8936002)(1076003)(6666004)(36756003)(86362001)(8676002)(356005)(70206006)(70586007)(6916009)(36860700001)(83380400001)(26005)(186003)(5660300002)(19627235002)(4326008)(2616005)(426003)(2906002)(316002)(82310400003)(7696005)(336012)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5782 Return-Path: Christopher.Jones@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT058.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ccb78e6d-810e-4c7e-b568-08d988b1ba87 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TfPdo5Ac+JDNAEZ6cO5TVEMj8J9cxg/F/JP0vbbYQ5kuq+nYp1usDenNlgK2fzNSedgx7iaaWBWzKLVPuNpBd/oJgPlsviuZdAa1pJ1JTJcrIlwbzyHoN2dixiZRbnXY8zr9ngEsmn3mVf6FN63SP90fdijsapHG+nV3Ls9tCFNYg8RYGYRtaEUWRNqYZ811TCHJeIjamprONB89GASA635/JXocFhkFEUU1GrkD0eTb94/PlMDFKjZXGyq6ZDZVc1Un96Fhnm0iC6MGYAp+lXnAx1ZgOhZmMFzauzcHbxUq7mZ9I5r3Ndjn/uW/thn4K7ZAXvGIagkbyncWjMHLQV3Bj9hyDc9BMwqpRUovfPJZHvokBze0gDbQX1qV8H4NLO5KXv0oWoLeBTtvjfb1ooP4VmSid+mjsO68WncDBh0pL93TP5HKEZMdKWmYm8ZH8o9UcLrApEVgqJyziYTYKhsYsxNEbx+cOuZ6vr4bJzBGeJbuuy4fDprPX5/q5DL+RJcqCPXvI9xqLEAiIHcgn4hcOC92eJbu8jrxm0MQxQqPk9lotajPmmA9T8mmegekHRhVfMM+pldRvty/WeFwKBgLArbqPbQtoMOEhRKynQlYJVrCwcMR2eII1u1qnpNvGXml39pppNLIHm7nJfBAjvvAuEa76MlTTfiNfAAd8PtJzp8PwS2YqmncHKASWR89ACuV50qKGrZcEaE81ODGV+ixXDjPdLxKZCu2vpchfP7BMCOc2eoiQhlnmp2YYHydATQFuOo2aqlcoWEDozTkvr+DlWUXBEgHM++EwXsPV/M= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(46966006)(36840700001)(36860700001)(83380400001)(82310400003)(26005)(2616005)(19627235002)(5660300002)(86362001)(8676002)(47076005)(8936002)(186003)(4326008)(426003)(336012)(7696005)(70206006)(70586007)(6666004)(36756003)(1076003)(6916009)(316002)(508600001)(54906003)(2906002)(81166007);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2021 10:12:05.9968 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 65734ab5-e60e-49d2-b3a7-08d988b1bff9 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT058.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5816 Content-Type: text/plain Bugzilla: 3578 (https://bugzilla.tianocore.org/show_bug.cgi?id=3579) Since the Common Memory Device (formerly Memory Aggregator Device) was introduced in ACPI 5.0, the edk2 type values have not matched the values defined in the ACPI specification. Fix this discrepancy by aligning the code to match the specification. Signed-off-by: Chris Jones --- MdePkg/Include/IndustryStandard/Acpi50.h | 6 +++--- MdePkg/Include/IndustryStandard/Acpi51.h | 6 +++--- MdePkg/Include/IndustryStandard/Acpi60.h | 6 +++--- MdePkg/Include/IndustryStandard/Acpi61.h | 6 +++--- MdePkg/Include/IndustryStandard/Acpi62.h | 6 +++--- MdePkg/Include/IndustryStandard/Acpi63.h | 6 +++--- MdePkg/Include/IndustryStandard/Acpi64.h | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi50.h b/MdePkg/Include/IndustryStandard/Acpi50.h index 31a47e6a2c4276d5b1ad7b834af84844090b64c5..83d787c7650cf649fe3d2e12e7983bae86a2a114 100644 --- a/MdePkg/Include/IndustryStandard/Acpi50.h +++ b/MdePkg/Include/IndustryStandard/Acpi50.h @@ -996,9 +996,9 @@ typedef struct { /// /// Memory Aggregator Device Type /// -#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x1 -#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x2 -#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x3 +#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x0 +#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x1 +#define EFI_ACPI_5_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x2 /// /// Socket Memory Aggregator Device Structure. diff --git a/MdePkg/Include/IndustryStandard/Acpi51.h b/MdePkg/Include/IndustryStandard/Acpi51.h index fc28ffa18fc6a22e52fda88fade6ad80b2817cc3..5fbf7c99f1f7d6ca9109f198bd3f25f12bd47961 100644 --- a/MdePkg/Include/IndustryStandard/Acpi51.h +++ b/MdePkg/Include/IndustryStandard/Acpi51.h @@ -951,9 +951,9 @@ typedef struct { /// /// Memory Aggregator Device Type /// -#define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x1 -#define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x2 -#define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x3 +#define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x0 +#define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x1 +#define EFI_ACPI_5_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x2 /// /// Socket Memory Aggregator Device Structure. diff --git a/MdePkg/Include/IndustryStandard/Acpi60.h b/MdePkg/Include/IndustryStandard/Acpi60.h index 5dcd73b6f1ec4bccc7fdae7d56c2963ab58764f9..eba4248e1d5733d21973f0dac2286e02238a0aae 100644 --- a/MdePkg/Include/IndustryStandard/Acpi60.h +++ b/MdePkg/Include/IndustryStandard/Acpi60.h @@ -966,9 +966,9 @@ typedef struct { /// /// Memory Aggregator Device Type /// -#define EFI_ACPI_6_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x1 -#define EFI_ACPI_6_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x2 -#define EFI_ACPI_6_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x3 +#define EFI_ACPI_6_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x0 +#define EFI_ACPI_6_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x1 +#define EFI_ACPI_6_0_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x2 /// /// Socket Memory Aggregator Device Structure. diff --git a/MdePkg/Include/IndustryStandard/Acpi61.h b/MdePkg/Include/IndustryStandard/Acpi61.h index 8626833a794dfb4a6f19d459d5214c6caefdbbee..7a776020baa8f3ee7b6f05fee336225ab6589ce0 100644 --- a/MdePkg/Include/IndustryStandard/Acpi61.h +++ b/MdePkg/Include/IndustryStandard/Acpi61.h @@ -966,9 +966,9 @@ typedef struct { /// /// Memory Aggregator Device Type /// -#define EFI_ACPI_6_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x1 -#define EFI_ACPI_6_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x2 -#define EFI_ACPI_6_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x3 +#define EFI_ACPI_6_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x0 +#define EFI_ACPI_6_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x1 +#define EFI_ACPI_6_1_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x2 /// /// Socket Memory Aggregator Device Structure. diff --git a/MdePkg/Include/IndustryStandard/Acpi62.h b/MdePkg/Include/IndustryStandard/Acpi62.h index 1b2704e98e3703a4405075247432ec842e45021b..33a0a0f21959df8b64803e972ab19f0c0ab1619e 100644 --- a/MdePkg/Include/IndustryStandard/Acpi62.h +++ b/MdePkg/Include/IndustryStandard/Acpi62.h @@ -1078,9 +1078,9 @@ typedef struct { /// /// Memory Aggregator Device Type /// -#define EFI_ACPI_6_2_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x1 -#define EFI_ACPI_6_2_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x2 -#define EFI_ACPI_6_2_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x3 +#define EFI_ACPI_6_2_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x0 +#define EFI_ACPI_6_2_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x1 +#define EFI_ACPI_6_2_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x2 /// /// Socket Memory Aggregator Device Structure. diff --git a/MdePkg/Include/IndustryStandard/Acpi63.h b/MdePkg/Include/IndustryStandard/Acpi63.h index b281b30155e90eba5169dc39bde9a3379e3b7005..3b1426af27ea4ebada1a12e99ce958bb288ad931 100644 --- a/MdePkg/Include/IndustryStandard/Acpi63.h +++ b/MdePkg/Include/IndustryStandard/Acpi63.h @@ -1040,9 +1040,9 @@ typedef struct { /// /// Memory Aggregator Device Type /// -#define EFI_ACPI_6_3_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x1 -#define EFI_ACPI_6_3_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x2 -#define EFI_ACPI_6_3_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x3 +#define EFI_ACPI_6_3_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET 0x0 +#define EFI_ACPI_6_3_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER 0x1 +#define EFI_ACPI_6_3_PMMT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM 0x2 /// /// Socket Memory Aggregator Device Structure. diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/IndustryStandard/Acpi64.h index 3a91302f8c0e71d4951d27aac35322073219c836..8346d83f1249045497b602907b94fbb2b495cd56 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -1075,9 +1075,9 @@ typedef struct { /// /// Memory Device Type. /// -#define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_SOCKET 0x1 -#define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_MEMORY_CONTROLLER 0x2 -#define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_DIMM 0x3 +#define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_SOCKET 0x0 +#define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_MEMORY_CONTROLLER 0x1 +#define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_DIMM 0x2 #define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_VENDOR_SPECIFIC_TYPE 0xFF /// -- Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")