| 79 | } |
| 80 | |
| 81 | VOID DebugDumpEDID(CONST CHAR8 *Message, INTN N) |
| 82 | { |
| 83 | INTN i,j; |
| 84 | // Don't dump in the case of debug logging because of too slow output |
| 85 | if (GlobalConfig.DebugLog) { |
| 86 | return; |
| 87 | } |
| 88 | DBG("%s size:%lld\n", Message, N); |
| 89 | for (i=0; i<N; i+=10) { |
| 90 | DBG("%03lld |", i); |
| 91 | for (j=0; j<10; j++) { |
| 92 | if (i+j > N-1) break; |
| 93 | DBG(" %02hhX", gSettings.CustomEDID[i+j]); |
| 94 | } |
| 95 | DBG("\n"); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | //Used at OS start |
| 100 | // if EFI_SUCCESS then result in gSettings.CustomEDID != NULL |