|
|
| zxfoundation::sys::syschk::assert_size (zx_crash_record, 256) |
|
template<usize N> |
| consteval | fmt_loc (const char(&f)[N], std::source_location l=std::source_location::current()) noexcept |
| | Construct from a NUL-terminated string literal.
|
|
consteval | fmt_loc (std::string_view sv, std::source_location l=std::source_location::current()) noexcept |
| | Construct from a lib::string_view (for programmatic use).
|
|
constexpr auto | zxfoundation::sys::syschk::severity_name (syschk_severity s) noexcept -> const char * |
| | Return a short ASCII label for a severity level.
|
|
|
u16 | cpu_id {} |
| | 0x0A..0x0B: Logical CPU ID (2 bytes)
|
|
u8 | err_category {} |
| | 0x09: lib::error_category value (1 byte)
|
|
u32 | err_code {} |
| | 0x0C..0x0F: Per-category error code (4 bytes)
|
|
std::string_view | fmt |
| | The format string.
|
|
std::source_location | loc |
| | Call-site source location.
|
|
u64 | magic {} |
| | 0x00..0x07: ZX_CRASH_RECORD_MAGIC (8 bytes)
|
|
char | msg [ZX_CRASH_MSG_LEN] {} |
| | 0x20..0xFF: Reason string (224 bytes)
|
|
u64 | psw_addr {} |
| | 0x18..0x1F: PSW instruction address (8 bytes)
|
|
u64 | psw_mask {} |
| | 0x10..0x17: PSW mask word at crash (8 bytes)
|
|
u8 | severity {} |
| | 0x08: Raw syschk_severity value (1 byte)
|
|
constexpr usize | zxfoundation::sys::syschk::ZX_CRASH_MSG_LEN = 224 |
| | Maximum length (bytes) of the crash message field, NUL included.
|
|
constexpr u64 | zxfoundation::sys::syschk::ZX_CRASH_RECORD_MAGIC = 0x5A584352554E4348ULL |
| | Magic value that marks an initialized zx_crash_record. ASCII: "ZXCRUNCH".
|
|
constexpr u32 | zxfoundation::sys::syschk::ZX_CRASH_RECORD_OFFSET = 0x1400U |
| | Byte offset of the crash record within the lowcore prefix page.
|