Panic codes: Difference between revisions
Red and blue are swapped in display |
|||
Line 11: | Line 11: | ||
! Bits || Field | ! Bits || Field | ||
|- | |- | ||
| 31-28 || | | 31-28 || Blue value | ||
|- | |- | ||
| 27-24 || Green value | | 27-24 || Green value | ||
|- | |- | ||
| 23-20 || | | 23-20 || Red value | ||
|- | |- | ||
| 19-0 || Description | | 19-0 || Description | ||
|} | |} | ||
The | The blue, green and red values are nibbles which represent the color that will fill the panic screen. | ||
Each nibble is duplicated to form a full byte before writing the final color to the display's MMIO. | Each nibble is duplicated to form a full byte before writing the final color to the display's MMIO. | ||
Line 27: | Line 27: | ||
{| class=wikitable | {| class=wikitable | ||
! Color || Level | ! Color || Value || Level | ||
|- | |- | ||
| | | <div style="width: 60px; height: 20px; background:#0000FF;"></div> || 0x0000FF || Kernel | ||
|- | |- | ||
| | | <div style="width: 60px; height: 20px; background:#00FFFF;"></div> || 0x00FFFF || Secure Monitor (general errors) | ||
|- | |- | ||
| | | <div style="width: 60px; height: 20px; background:#00AAFF;"></div> || 0x00AAFF || Secure Monitor (deep sleep) | ||
|- | |- | ||
| | | <div style="width: 60px; height: 20px; background:#AA00FF;"></div> || 0xAA00FF || Bootloader (general errors) | ||
|- | |- | ||
| | | <div style="width: 60px; height: 20px; background:#FFFFAA;"></div> || 0xFFFFAA || Bootloader (wrong bootloader) | ||
|} | |} | ||