From nobody Tue Feb 10 02:43:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+86304+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+86304+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1643736166; cv=none; d=zohomail.com; s=zohoarc; b=f+AniapoisenyzbmkyiGNwU0cZgWQoOaf+puLhHpccWKS4fbmzCogmp0zQfcTyyIHwUCKvDhqRj5Q/VtcDCoytc2ImZc0H8uRXYrVWgz7pDlyh1t+5CeFdks3aH1kkYTbYuuzqrALNGprhL6eG9RWQkqVmEzfYXNLvKqyx+Ym8k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643736166; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=o3Pa1hb/9ChMvmGVq33wM2IGQwY4+Xww4VsnDXCcDh8=; b=Iw6BCQLyBU+6yI4ErbxHG+yKcTgifbkco4Y0h8ap//7SqB7SIAdeYSjrJdZZBzbkFIqXdi2RYGZOR5BfhZDwMR8rk3JviPqTNqvouXFyZiy5KtKGxBMEaSEZM05iWuoAD43PULFEutMHOkR/T0aKUTsppm4suVtaG2GBJP5lc+w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+86304+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1643736166784627.9105655729355; Tue, 1 Feb 2022 09:22:46 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id K9pBYY1788612xE16OYij6Qq; Tue, 01 Feb 2022 09:22:46 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.51317.1643736165689059802 for ; Tue, 01 Feb 2022 09:22:45 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4E24B11FB; Tue, 1 Feb 2022 09:22:45 -0800 (PST) X-Received: from e126645.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DA1383F40C; Tue, 1 Feb 2022 09:22:43 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar , Rebecca Cran , Pierre Gondois Subject: [edk2-devel] [PATCH v5 1/9] DynamicTablesPkg: Print specifier macro for CM_OBJECT_ID Date: Tue, 1 Feb 2022 18:22:44 +0100 Message-Id: <20220201172252.799725-2-Pierre.Gondois@arm.com> In-Reply-To: <20220201172252.799725-1-Pierre.Gondois@arm.com> References: <20220201172252.799725-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com X-Gm-Message-State: Oql2TStpozm8s9IsbMr8eN6ux1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1643736166; bh=pgM6iZ4qSx+6MojAdmS37BdZa+NH4GEoJfeGRRSocIs=; h=Cc:Date:From:Reply-To:Subject:To; b=tM8zCjKkXVgNqxhgysYSI+89q23dvVlcpdouvofAVr09mBz9HV/U4CU9BWz020DvRlL 0+NeABIhBs/8ZGmSXQbiKDYCgGSVKzxEgusTKmEpRzMVx16lObw7hPZ2Xc4RA38Ba9wBZ Lvah5Hr4s2/r7lymuaTP0WhNz+jYD5PTJos= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1643736169386100007 Content-Type: text/plain; charset="utf-8" From: Pierre Gondois Add a macro that specifies the format for printing CM_OBJECT_ID. This allows to print the CM_OBJECT_ID is a consistent way in the output logs. Signed-off-by: Pierre Gondois --- Notes: v2: - New patch, requested by Laszlo. DynamicTablesPkg/Include/ConfigurationManagerObject.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/DynamicTablesPkg/Include/ConfigurationManagerObject.h b/Dynami= cTablesPkg/Include/ConfigurationManagerObject.h index 60d825a2b253..74ad25d5d94a 100644 --- a/DynamicTablesPkg/Include/ConfigurationManagerObject.h +++ b/DynamicTablesPkg/Include/ConfigurationManagerObject.h @@ -1,6 +1,6 @@ /** @file =20 - Copyright (c) 2017 - 2019, ARM Limited. All rights reserved. + Copyright (c) 2017 - 2022, ARM Limited. All rights reserved. =20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -84,6 +84,11 @@ Object ID's in the ARM Namespace: */ typedef UINT32 CM_OBJECT_ID; =20 +// +// Helper macro to format a CM_OBJECT_ID. +// +#define FMT_CM_OBJECT_ID "0x%lx" + /** A mask for Object ID */ #define OBJECT_ID_MASK 0xFF --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#86304): https://edk2.groups.io/g/devel/message/86304 Mute This Topic: https://groups.io/mt/88838051/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-