From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 005A7740032 for ; Thu, 4 Apr 2024 21:31:03 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=kqMe+lbfXihBlnuGIkREYtGe6DxrXuCdENTP/9iSzxI=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1712266262; v=1; b=odcpDvvq+FbUBV7vK2zp60ErE9vbQH3nHgf2SLtoitunF0VShgxmt27wGMQt9DWMgQL3YDLu dHT0SUXw8SeVpPfn3/u8wS/3isp83//aXF7bGYIMrwMPINuDgmUhwhvPxUo9qY4/zuOvU6+iEkE +wvd0zZnXJrFefCcZ82HUA7g0fObMOLjpcc5yrGQhuMNRKmf+9tab78BjYS8qBRpTdsuVmGwTVU oYE6xERK4Zd+Ex/ZZX4hZJj8LyeZOms2UaKzMwrytg69txlQh62S0M0VX9nSCfm/UNXSND7J1lB O7tDdijc0wDYK/ytWaTauDBZhQNe2AabfsYR7uOuyY60w== X-Received: by 127.0.0.2 with SMTP id vppLYY7687511xPMVQtitoAp; Thu, 04 Apr 2024 14:31:02 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.4631.1712266262105740967 for ; Thu, 04 Apr 2024 14:31:02 -0700 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 562C4FEC; Thu, 4 Apr 2024 14:31:32 -0700 (PDT) X-Received: from [10.118.105.166] (C02F85CGML7H.austin.arm.com [10.118.105.166]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8C9EE3F64C; Thu, 4 Apr 2024 14:31:01 -0700 (PDT) Message-ID: <97a21299-ba67-47a3-ba78-1c26d31dd520@arm.com> Date: Thu, 4 Apr 2024 16:31:01 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH v4 1/3] ShellPkg: UefiShellDebug1CommandsLib: Dumping RT Properties in Dmem.c To: devel@edk2.groups.io, sam.kaynor@arm.com Cc: Ray Ni , Zhichao Gao References: <20240403211933.1662236-1-Sam.Kaynor@arm.com> <20240403211933.1662236-2-Sam.Kaynor@arm.com> From: "Stuart Yoder" In-Reply-To: <20240403211933.1662236-2-Sam.Kaynor@arm.com> Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 04 Apr 2024 14:31:02 -0700 Resent-From: stuart.yoder@arm.com Reply-To: devel@edk2.groups.io,stuart.yoder@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: HpDruIC0j5olv1xtAoDBSbxax7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=odcpDvvq; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On 4/3/24 4:19 PM, Sam Kaynor via groups.io wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4352 >=20 > Implemented the dumping of the UEFI RT Properties Table using Dmem.c >=20 > Added new entry to the help command for the -verbose option >=20 > Cc: Ray Ni > Cc: Zhichao Gao > Signed-off-by: Sam Kaynor > --- >=20 > Notes: > v4: > - fixed crash when RTProperties table not present > - expanded help output to include -verbose option > v3: > - fixed build errors > - properly using Address variable >=20 > ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c = | 63 ++++++++++++++++++++ > ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.= uni | 23 ++++++- > 2 files changed, 84 insertions(+), 2 deletions(-) Tested-by: Stuart Yoder RT properties is not implemented in EDK2, but is in the EFI implementation in u-boot. Output looks like this: RT Properties Table ---------------------------------------- Version 0x1 Runtime Services Supported: GET_TIME 0 GET_WAKEUP_TIME 0 SET_TIME 0 SET_WAKEUP_TIME 0 GET_VARIABLE 1 GET_NEXT_VARIABLE_NAME 1 SET_VARIABLE 0 SET_VIRTUAL_ADDRESS_MAP 1 CONVERT_POINTERS 1 GET_NEXT_HIGH_MONOTONIC_COUNT 0 RESET_SYSTEM 1 UPDATE_CAPSULE 0 QUERY_CAPSULE_CAPABILITIES 0 QUERY_VARIABLE_INFO 0 -=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 (#117447): https://edk2.groups.io/g/devel/message/117447 Mute This Topic: https://groups.io/mt/105318209/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-