Hi Ashish,

On 2024-01-19 18:09, Ashish Singhal via groups.io wrote:
Adding tianocore stewards to see if we can get some traction on this.

You've not cc:d Zhichao - who maintains that component - on this patch, I've added them.

Please use BaseTools/Scripts/GetMaintainer.py to see who to cc - maintainership of some of the modules are split in multiple dimensions and it's basically impossible to work out manually.

/
    Leif

------------------------------------------------------------------------
*From:* Ashish Singhal <ashishsin...@nvidia.com>
*Sent:* Wednesday, December 6, 2023 5:21 PM
*To:* devel@edk2.groups.io <devel@edk2.groups.io>; gaolim...@byosoft.com.cn <gaolim...@byosoft.com.cn>; Jeff Brasen <jbra...@nvidia.com>
*Cc:* Ashish Singhal <ashishsin...@nvidia.com>
*Subject:* [PATCH] MdeModulePkg/ResetSystemRuntimeDxe: Print Reset Data
ResetSystem runtime call allows for sending reset data that
starts with a NULL terminated string. Add support to print
that string on console.

Signed-off-by: Ashish Singhal <ashishsin...@nvidia.com>
---
  .../Universal/ResetSystemRuntimeDxe/ResetSystem.c         | 8 ++++++++
  1 file changed, 8 insertions(+)

diff --git a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c
index 42f1b1d015..72bb1d2be6 100644
--- a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c
+++ b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.c
@@ -252,6 +252,14 @@ RuntimeServiceResetSystem (
      mResetNotifyDepth
      ));

+  if ((ResetData != NULL) && (DataSize != 0)) {
+    DEBUG ((
+      DEBUG_INFO,
+      "DXE ResetSystem2: ResetData: %s\n",
+      ResetData
+      ));
+  }
+
    if (mResetNotifyDepth <= MAX_RESET_NOTIFY_DEPTH) {
      if (!EfiAtRuntime ()) {
        //
--
2.17.1





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#114093): https://edk2.groups.io/g/devel/message/114093
Mute This Topic: https://groups.io/mt/103025596/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: 
https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to