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...@intel.com>
Cc: Zhichao Gao <zhichao....@intel.com>
Signed-off-by: Sam Kaynor <sam.kay...@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.yo...@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/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to