public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Stuart Yoder" <stuart.yoder@arm.com>
To: devel@edk2.groups.io, sam.kaynor@arm.com
Cc: Ray Ni <ray.ni@intel.com>, Zhichao Gao <zhichao.gao@intel.com>
Subject: Re: [edk2-devel] [PATCH v4 1/3] ShellPkg: UefiShellDebug1CommandsLib: Dumping RT Properties in Dmem.c
Date: Thu, 4 Apr 2024 16:31:01 -0500	[thread overview]
Message-ID: <97a21299-ba67-47a3-ba78-1c26d31dd520@arm.com> (raw)
In-Reply-To: <20240403211933.1662236-2-Sam.Kaynor@arm.com>



On 4/3/24 4:19 PM, Sam Kaynor via groups.io wrote:
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4352
> 
> Implemented the dumping of the UEFI RT Properties Table using Dmem.c
> 
> Added new entry to the help command for the -verbose option
> 
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Zhichao Gao <zhichao.gao@intel.com>
> Signed-off-by: Sam Kaynor <Sam.Kaynor@arm.com>
> ---
> 
> Notes:
>      v4:
>      - fixed crash when RTProperties table not present
>      - expanded help output to include -verbose option
>      v3:
>      - fixed build errors
>      - properly using Address variable
> 
>   ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c                         | 63 ++++++++++++++++++++
>   ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni | 23 ++++++-
>   2 files changed, 84 insertions(+), 2 deletions(-)

Tested-by: Stuart Yoder <stuart.yoder@arm.com>

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


-=-=-=-=-=-=-=-=-=-=-=-
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]
-=-=-=-=-=-=-=-=-=-=-=-



  parent reply	other threads:[~2024-04-04 21:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-03 21:19 [edk2-devel] [PATCH v4 0/3] Adding support for verbose UEFI Table dumping to Dmem.c Sam Kaynor
2024-04-03 21:19 ` [edk2-devel] [PATCH v4 1/3] ShellPkg: UefiShellDebug1CommandsLib: Dumping RT Properties in Dmem.c Sam Kaynor
2024-04-04 21:26   ` Stuart Yoder
2024-04-04 21:31   ` Stuart Yoder [this message]
2024-04-03 21:19 ` [edk2-devel] [PATCH v4 2/3] ShellPkg: UefiShellDebug1CommandsLib: Image Execution Table " Sam Kaynor
2024-04-04 21:26   ` Stuart Yoder
2024-04-04 21:32   ` Stuart Yoder
2024-04-03 21:19 ` [edk2-devel] [PATCH v4 3/3] ShellPkg: UefiShellDebug1CommandsLib: Conformance Profiles " Sam Kaynor
2024-04-04 21:27   ` Stuart Yoder
2024-04-04 21:35   ` Stuart Yoder
2024-04-09  8:00 ` [edk2-devel] [PATCH v4 0/3] Adding support for verbose UEFI Table dumping to Dmem.c Gao, Zhichao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=97a21299-ba67-47a3-ba78-1c26d31dd520@arm.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox