From nobody Mon Feb 9 23:14:49 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+86168+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+86168+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1643384458; cv=none; d=zohomail.com; s=zohoarc; b=T7nXWVu/FjXfGHtDPcQjkF5R42g/PlMVlGqAqCVrV9Gz/fNPHDOCSbJvDqSZrvg+JssqidWS1mz61uxVZ7PFiz7cclTy08q/kAactI8FEXe2vpCp7H9Zs8PdOPcRBtEap6fl0BG+0KEFsfzQNjeapD642duX3pCsctIeJVsxbSA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643384458; 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=9+NWjFpFUd5DCJjCjR4J9rUWQQIWlvXGu0i3ZELZiQ0=; b=kCKppbg+otN8IOW0Lrvbq29LWppsm2LrKReGluBT2F5P3uX8bMI85nsqVKe3wFOhRLSWJOOtiyY+e5tKE4mGo+5opwAWaM9tw5V8v3zosQRAUn7TaiKdTkX8KW2hsbPnFlrWRdSKYpfUsToGC5qxipGjThJ+WewhbpKAYMBKoIE= 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+86168+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 1643384458637303.02164257377683; Fri, 28 Jan 2022 07:40:58 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id tzTSYY1788612xvIyId5aTtj; Fri, 28 Jan 2022 07:40:58 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.8485.1643384457116042712 for ; Fri, 28 Jan 2022 07:40:57 -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 BA56D1396; Fri, 28 Jan 2022 07:40:56 -0800 (PST) X-Received: from e126645.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id ADE883F793; Fri, 28 Jan 2022 07:40:55 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar Subject: [edk2-devel] [PATCH v3 1/8] DynamicTablesPkg: Print specifier macro for CM_OBJECT_ID Date: Fri, 28 Jan 2022 16:40:56 +0100 Message-Id: <20220128154103.20752-2-Pierre.Gondois@arm.com> In-Reply-To: <20220128154103.20752-1-Pierre.Gondois@arm.com> References: <20220128154103.20752-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: iSKgX4yzGoGxm5Hd4xO6sR6Kx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1643384458; bh=YjlN402sau5Vmi9myuP6p51xvcRANcjU2vz45tAcXNg=; h=Cc:Date:From:Reply-To:Subject:To; b=ZYEkHLvcaOBy8hZs4fQQpL2f7snbzNu+4IO57l5A0Us5PcvrhiR4vzxo+dOZGFUS0M+ 6CcLBXsPnd29PwiQPvt9S5y4aUUPE4ElWQIUMJcjiUsqPrf7oY2t4F0Mo9pJYUtamdtKB 9kd5eN2iEwq8pU6Ai5rzvyG26lKDqapebzY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1643384460761100007 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 (#86168): https://edk2.groups.io/g/devel/message/86168 Mute This Topic: https://groups.io/mt/88746968/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-