From nobody Mon Feb 9 23:57:44 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+86280+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+86280+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1643733859; cv=none; d=zohomail.com; s=zohoarc; b=XGRsN0D93ATL8l7tb+g6a//bxTT8s7Bz4+e3sWlJZx0gcLIsHtsR9yGKH2i8opefctdbNzMT0UeScc3Jf5GzoWhxIO9cCb0T0FuJxaGn/JNK/lPgzBvS5Dk2d3a1s9fmFvHWGyvfLx2z/yydQpMke0jn5MlT+tRYbhVIpxNI1qw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643733859; 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=Kne+cMiWCnzC+xZIwkUixjkjYoLjbVNR7wBF2WTBgGk=; b=Fy67KFktc6c5twvMy7Lly0jJiQ7CnU2Q3lMkJPasSKNIS3v6x42HQ6MtBCiPdiAEJIUEadKjBweBdobfoh6uDUSZ5VFx4VqXJafC6WZuJ5cGgEfW2+N6stEYpON+dXe8wxr6cA+uzb/djpp5dVBZ2akCL2MzefF2YnsG0CsEMsA= 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+86280+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 1643733859669996.2433419419036; Tue, 1 Feb 2022 08:44:19 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id D5PaYY1788612x57OWgwawnn; Tue, 01 Feb 2022 08:44:19 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.51162.1643733858366236183 for ; Tue, 01 Feb 2022 08:44:18 -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 07E7E11B3; Tue, 1 Feb 2022 08:44:18 -0800 (PST) X-Received: from e126645.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A57B53F40C; Tue, 1 Feb 2022 08:44:16 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar , Pierre Gondois Subject: [edk2-devel] [PATCH v4 1/9] DynamicTablesPkg: Print specifier macro for CM_OBJECT_ID Date: Tue, 1 Feb 2022 17:44:14 +0100 Message-Id: <20220201164422.781784-2-Pierre.Gondois@arm.com> In-Reply-To: <20220201164422.781784-1-Pierre.Gondois@arm.com> References: <20220201164422.781784-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: ckpc9ki2leLaBzcwUQWxu2xdx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1643733859; bh=JtlqXFvnMmewgmB1p3hro9nHNqpdWPe2FDh3gyHgk08=; h=Cc:Date:From:Reply-To:Subject:To; b=UiJdjXEjaidJkUwwhRWmKjQUVE5IOuloA+VFnDbET8uvJc5i3mdWPnhCP0dpx1zfrfo U73WRhJT4siNNmJFPsZwX2tonZ2UgVmQPb9DjJxovXrnAwqZ+f2SkN9wcV/G4PTELOaqI /TMJLm7Vrr7sInWpKnbyB2Nv9PBCJeN69JE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1643733861443100007 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 (#86280): https://edk2.groups.io/g/devel/message/86280 Mute This Topic: https://groups.io/mt/88837033/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-