Searched refs:panic_info (Results 1 – 10 of 10) sorted by relevance
| /xnu-11215/pexpert/i386/ |
| H A D | pe_init.c | 405 assert(panic_info != NULL); in PE_get_offset_into_panic_region() 406 assert(location > (char *) panic_info); in PE_get_offset_into_panic_region() 417 panic_info->mph_magic = MACOS_PANIC_MAGIC; in PE_init_panicheader() 438 if (!panic_info) { in PE_update_panicheader_nestedpanic() 440 assert(panic_info); in PE_update_panicheader_nestedpanic() 454 if (!(((panic_info->mph_stackshot_offset == 0) && (panic_info->mph_stackshot_len == 0)) || in PE_update_panicheader_nestedpanic() 455 ((panic_info->mph_stackshot_offset != 0) && (panic_info->mph_stackshot_len != 0)))) { in PE_update_panicheader_nestedpanic() 457 panic_info->mph_stackshot_offset, panic_info->mph_stackshot_len); in PE_update_panicheader_nestedpanic() 466 if ((panic_info->mph_panic_log_len != 0) && (panic_info->mph_other_log_offset == 0)) { in PE_update_panicheader_nestedpanic() 472 panic_info->mph_other_log_len); in PE_update_panicheader_nestedpanic() [all …]
|
| /xnu-11215/pexpert/arm/ |
| H A D | pe_init.c | 81 struct embedded_panic_header *panic_info = NULL; variable 176 if (panic_info->eph_magic == 'SHMC') { in check_for_panic_log() 182 if (panic_info->eph_magic == 'BTRC') { in check_for_panic_log() 643 if (!panic_info || !size) { in PE_update_panic_crc() 663 panic_info->eph_crc = crc32(0L, &panic_info->eph_version, (panic_text_len + in PE_update_panic_crc() 680 if (!panic_info) { in PE_init_panicheader() 710 if (!panic_info) { in PE_update_panicheader_nestedpanic() 712 assert(panic_info); in PE_update_panicheader_nestedpanic() 734 if (panic_info->eph_panic_log_len == 0) { in PE_update_panicheader_nestedpanic() 745 …if (((panic_info->eph_stackshot_offset == 0) && (panic_info->eph_stackshot_len == 0)) || ((panic_i… in PE_update_panicheader_nestedpanic() [all …]
|
| /xnu-11215/osfmk/arm/ |
| H A D | model_dep.c | 689 …panic_info->eph_panic_log_len = PE_get_offset_into_panic_region(debug_buf_ptr) - panic_info->eph_p… in do_print_all_backtraces() 692 …snprintf((char *)&panic_info->eph_os_version, sizeof(panic_info->eph_os_version), PANIC_HEADER_VER… in do_print_all_backtraces() 697 …snprintf((char *)&panic_info->eph_macos_version, sizeof(panic_info->eph_macos_version), PANIC_HEAD… in do_print_all_backtraces() 703 sizeof(panic_info->eph_bootsessionuuid_string)); in do_print_all_backtraces() 705 panic_info->eph_roots_installed = roots_installed; in do_print_all_backtraces() 759 panic_info->eph_stackshot_len = bytes_traced; in do_print_all_backtraces() 808 assert(panic_info->eph_other_log_offset != 0); in do_print_all_backtraces() 893 while (!panic_info || panic_info->eph_panic_log_offset == 0) { in SavePanicInfo() 941 assert(panic_info->eph_panic_log_len != 0); in SavePanicInfo() 942 …panic_info->eph_other_log_len = PE_get_offset_into_panic_region(debug_buf_ptr) - panic_info->eph_o… in SavePanicInfo() [all …]
|
| /xnu-11215/osfmk/i386/AT386/ |
| H A D | model_dep.c | 681 if (panic_info->mph_other_log_offset == 0) { in RecordPanicStackshot() 689 if (panic_info->mph_panic_log_len == 0) { in RecordPanicStackshot() 691 if (panic_info->mph_other_log_offset == 0) { in RecordPanicStackshot() 801 panic_info->mph_stackshot_offset = panic_info->mph_stackshot_len = 0; in RecordPanicStackshot() 923 debug_buf_ptr, panic_info, panic_info->mph_panic_log_offset); in SavePanicInfo() 924 panic_info->mph_panic_log_len = 0; in SavePanicInfo() 926 …panic_info->mph_panic_log_len = PE_get_offset_into_panic_region(debug_buf_ptr) - panic_info->mph_p… in SavePanicInfo() 948 if (panic_info->mph_other_log_offset != 0) { in paniclog_flush_internal() 949 …panic_info->mph_other_log_len = PE_get_offset_into_panic_region(debug_buf_ptr) - panic_info->mph_o… in paniclog_flush_internal() 975 …size_to_flush = ROUNDUP((panic_info->mph_panic_log_offset + panic_info->mph_panic_log_len), PANIC_… in paniclog_flush_internal() [all …]
|
| /xnu-11215/osfmk/kdp/ |
| H A D | kdp_core.c | 1091 assert(panic_info->eph_panic_log_len != 0); in do_kern_dump() 1094 panic_info->eph_panic_log_len + panic_info->eph_other_log_len; in do_kern_dump() 1096 if (panic_info->mph_panic_log_offset != 0) { in do_kern_dump() 1098 panic_info->mph_panic_log_len + panic_info->mph_other_log_len; in do_kern_dump() 1234 panic_info->eph_panic_log_len; in do_kern_dump() 1236 if (panic_info->mph_panic_log_offset != 0) { in do_kern_dump() 1238 panic_info->mph_panic_log_len; in do_kern_dump() 1254 buf = (char *)(((char *)panic_info) + (uintptr_t) panic_info->eph_other_log_offset); in do_kern_dump() 1261 if (panic_info->mph_other_log_offset != 0) { in do_kern_dump() 1262 buf = (char *)(((char *)panic_info) + (uintptr_t) panic_info->mph_other_log_offset); in do_kern_dump() [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | debug.c | 304 struct macos_panic_header *panic_info = (struct macos_panic_header *)debug_buf; variable 488 panic_info = (struct macos_panic_header *)new_debug_buf; in extended_debug_log_init() 523 bzero(panic_info, DEBUG_BUF_SIZE); in debug_log_init() 1480 panic_info->eph_panic_flags |= EMBEDDED_PANIC_HEADER_FLAG_COREFILE_UNLINKED; 1482 panic_info->eph_panic_flags |= EMBEDDED_PANIC_HEADER_FLAG_COREDUMP_FAILED; 1485 if (panic_info->mph_panic_log_offset != 0) { 1487 panic_info->mph_panic_flags |= MACOS_PANIC_HEADER_FLAG_COREFILE_UNLINKED; 1489 panic_info->mph_panic_flags |= MACOS_PANIC_HEADER_FLAG_COREDUMP_FAILED; 1498 panic_info->eph_panic_flags |= EMBEDDED_PANIC_HEADER_FLAG_COREDUMP_FAILED; 1504 panic_info->eph_panic_flags |= EMBEDDED_PANIC_HEADER_FLAG_COREDUMP_FAILED; [all …]
|
| H A D | exclaves_panic.c | 308 panic_info->eph_panic_flags |= EMBEDDED_PANIC_HEADER_FLAG_EXCLAVE_PANIC; in exclaves_panic_append_info()
|
| H A D | ext_paniclog.c | 321 bool ext_paniclog_exceeds = ((panic_info->eph_ext_paniclog_offset != 0) ? in is_debug_ptr_in_ext_paniclog() 322 ((uint32_t)(debug_buf_ptr - gPanicBase) >= panic_info->eph_ext_paniclog_offset) : in is_debug_ptr_in_ext_paniclog()
|
| /xnu-11215/pexpert/pexpert/ |
| H A D | pexpert.h | 60 extern struct embedded_panic_header *panic_info; 73 extern struct macos_panic_header *panic_info;
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | xnu.py | 1100 panic_header = kern.globals.panic_info 1139 panic_header = kern.globals.panic_info
|