print nvram values into log

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2021-02-21 09:57:43 +03:00
parent 3b1f57ba86
commit f17e66cf8b

View File

@ -1106,10 +1106,10 @@ PutNvramPlistToRtVars ()
Size = valueTag->getData()->dataLenValue(); Size = valueTag->getData()->dataLenValue();
Value = valueTag->getData()->dataValue(); Value = valueTag->getData()->dataValue();
// if (gSettings.Boot.DebugLog) { // if (gSettings.Boot.DebugLog) {
// DBG("Size = %llu, Data: ", Size); DBG("Size = %llu, Data: ", Size);
// for ( i = 0; i < Size; i++) { for (INTN i = 0; i < Size; i++) {
// DBG("%02hhX ", *(((UINT8*)Value) + i)); DBG("%02hhX ", *(((UINT8*)Value) + i));
// } }
// } // }
// if (!gSettings.Boot.DebugLog) { // if (!gSettings.Boot.DebugLog) {
DBG("\n"); DBG("\n");