Home
last modified time | relevance | path

Searched refs:debug_buf_ptr (Results 1 – 10 of 10) sorted by relevance

/xnu-11417.121.6/osfmk/arm/
H A Dmodel_dep.c689 …panic_info->eph_panic_log_len = PE_get_offset_into_panic_region(debug_buf_ptr) - panic_info->eph_p… in do_print_all_backtraces()
708 …bytes_remaining = debug_buf_size - (unsigned int)((uintptr_t)debug_buf_ptr - (uintptr_t)debug_buf_… in do_print_all_backtraces()
713 …initiator_offset = (panic_initiator_len != 0) ? PE_get_offset_into_panic_region(debug_buf_ptr) : 0; in do_print_all_backtraces()
715 memcpy(debug_buf_ptr, panic_initiator, panic_initiator_len); in do_print_all_backtraces()
716 debug_buf_ptr += panic_initiator_len; in do_print_all_backtraces()
721 panic_info->eph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in do_print_all_backtraces()
725 panic_info->eph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in do_print_all_backtraces()
729 debug_buf_ptr += (8 - ((uintptr_t)debug_buf_ptr % 8)); in do_print_all_backtraces()
730 stackshot_begin_loc = debug_buf_ptr; in do_print_all_backtraces()
733 err = kcdata_memory_static_init(&kc_panic_data, (mach_vm_address_t)debug_buf_ptr, in do_print_all_backtraces()
[all …]
/xnu-11417.121.6/osfmk/i386/AT386/
H A Dmodel_dep.c682 panic_info->mph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in RecordPanicStackshot()
692 panic_info->mph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in RecordPanicStackshot()
699 panic_info->mph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in RecordPanicStackshot()
707 stackshot_begin_loc = debug_buf_ptr; in RecordPanicStackshot()
714 panic_info->mph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in RecordPanicStackshot()
723 panic_info->mph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in RecordPanicStackshot()
768 panic_info->mph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in RecordPanicStackshot()
792 debug_buf_ptr += bytes_traced; in RecordPanicStackshot()
804 panic_info->mph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in RecordPanicStackshot()
826 panic_info->mph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in RecordPanicStackshot()
[all …]
/xnu-11417.121.6/osfmk/kern/
H A Ddebug.c298 char *debug_buf_ptr = NULL; variable
310 char *debug_buf_ptr = (debug_buf + offsetof(struct macos_panic_header, mph_data)); variable
493 debug_buf_ptr = debug_buf_base = (new_debug_buf + offsetof(struct macos_panic_header, mph_data)); in extended_debug_log_init()
519 debug_buf_ptr = debug_buf_base; in debug_log_init()
530 assert(debug_buf_ptr != NULL); in debug_log_init()
1853 ((debug_buf_ptr - debug_buf_base) < (int)debug_buf_size) &&
1855 *debug_buf_ptr = c;
1856 debug_buf_ptr++;
H A Dext_paniclog.c322 ((uint32_t)(debug_buf_ptr - gPanicBase) >= panic_info->eph_ext_paniclog_offset) : in is_debug_ptr_in_ext_paniclog()
343 uint32_t paniclog_buf_size = (uint32_t)(end - debug_buf_ptr); in ext_paniclog_write_panicdata()
H A Ddebug.h775 extern char *debug_buf_ptr;
/xnu-11417.121.6/pexpert/arm/
H A Dpe_init.c734 panic_info->eph_panic_log_len = PE_get_offset_into_panic_region(debug_buf_ptr); in PE_update_panicheader_nestedpanic()
753 panic_info->eph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in PE_update_panicheader_nestedpanic()
/xnu-11417.121.6/osfmk/kdp/
H A Dkdp_core.c1092 coredump_log_start = debug_buf_ptr; in do_kern_dump()
1160 size_t panic_len = (vm_offset_t)debug_buf_ptr - gPanicBase; in do_kern_dump()
1271 assert(debug_buf_ptr >= buf); in do_kern_dump()
1273 size_t other_log_length = debug_buf_ptr - buf; in do_kern_dump()
H A Dkdp_udp.c2092 debug_buf_ptr - debug_buf_base, in kdp_panic_dump()
/xnu-11417.121.6/pexpert/i386/
H A Dpe_init.c467 panic_info->mph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in PE_update_panicheader_nestedpanic()
/xnu-11417.121.6/tools/lldbmacros/
H A Dxnu.py946 cur_debug_buf_ptr_offset = (unsigned(kern.globals.debug_buf_ptr) - unsigned(panic_header))