mirror of https://github.com/acidanthera/audk.git
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 <ashishsingha@nvidia.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
This commit is contained in:
parent
7f72c2829f
commit
1063665fa5
|
@ -252,6 +252,14 @@ RuntimeServiceResetSystem (
|
||||||
mResetNotifyDepth
|
mResetNotifyDepth
|
||||||
));
|
));
|
||||||
|
|
||||||
|
if ((ResetData != NULL) && (DataSize != 0)) {
|
||||||
|
DEBUG ((
|
||||||
|
DEBUG_INFO,
|
||||||
|
"DXE ResetSystem2: ResetData: %s\n",
|
||||||
|
ResetData
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
if (mResetNotifyDepth <= MAX_RESET_NOTIFY_DEPTH) {
|
if (mResetNotifyDepth <= MAX_RESET_NOTIFY_DEPTH) {
|
||||||
if (!EfiAtRuntime ()) {
|
if (!EfiAtRuntime ()) {
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue