Changed MsgLog(...) it now calls this function with DebugMode == 0. - apianti DebugMode==0 Prints to msg log, only output to log on SaveBooterLog DebugMode==1 Prints to msg log and DEBUG_LOG DebugMode==2 Prints to msg log, DEBUG_LOG and display console
| 166 | // DebugMode==1 Prints to msg log and DEBUG_LOG |
| 167 | // DebugMode==2 Prints to msg log, DEBUG_LOG and display console |
| 168 | VOID EFIAPI DebugLog(IN INTN DebugMode, IN CONST CHAR8 *FormatString, ...) |
| 169 | { |
| 170 | VA_LIST Marker; |
| 171 | //UINTN offset = 0; |
| 172 | |
| 173 | // Make sure the buffer is intact for writing |
| 174 | if (FormatString == NULL || DebugMode < 0) { |
| 175 | return; |
| 176 | } |
| 177 | |
| 178 | // Print message to log buffer |
| 179 | VA_START(Marker, FormatString); |
| 180 | MemLogfVA(TRUE, DebugMode, FormatString, Marker); |
| 181 | VA_END(Marker); |
| 182 | } |
| 183 | |
| 184 | VOID InitBooterLog(VOID) |
| 185 | { |
no test coverage detected