Home
last modified time | relevance | path

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

/xnu-11215/osfmk/arm/
H A Dmodel_dep.c715 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()
756 debug_buf_ptr += bytes_traced; in do_print_all_backtraces()
927 unsigned int pi_size = (unsigned int)(debug_buf_ptr - gPanicBase); in SavePanicInfo()
959 panicbuf_length = (unsigned int)(debug_buf_ptr - gPanicBase); in paniclog_flush()
[all …]
/xnu-11215/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()
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()
923 debug_buf_ptr, panic_info, panic_info->mph_panic_log_offset); in SavePanicInfo()
1021 bufpos = packA(debug_buf_base, (unsigned int) (debug_buf_ptr - debug_buf_base), in paniclog_flush_internal()
[all …]
/xnu-11215/osfmk/kern/
H A Ddebug.c294 char *debug_buf_ptr = NULL; variable
306 char *debug_buf_ptr = (debug_buf + offsetof(struct macos_panic_header, mph_data)); variable
489 debug_buf_ptr = debug_buf_base = (new_debug_buf + offsetof(struct macos_panic_header, mph_data)); in extended_debug_log_init()
515 debug_buf_ptr = debug_buf_base; in debug_log_init()
526 assert(debug_buf_ptr != NULL); in debug_log_init()
1812 ((debug_buf_ptr - debug_buf_base) < (int)debug_buf_size) &&
1814 *debug_buf_ptr = c;
1815 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.h762 extern char *debug_buf_ptr;
/xnu-11215/pexpert/arm/
H A Dpe_init.c735 panic_info->eph_panic_log_len = PE_get_offset_into_panic_region(debug_buf_ptr); in PE_update_panicheader_nestedpanic()
754 panic_info->eph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in PE_update_panicheader_nestedpanic()
/xnu-11215/osfmk/kdp/
H A Dkdp_core.c1088 coredump_log_start = debug_buf_ptr; in do_kern_dump()
1156 size_t panic_len = (vm_offset_t)debug_buf_ptr - gPanicBase; in do_kern_dump()
1267 assert(debug_buf_ptr >= buf); in do_kern_dump()
1269 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-11215/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-11215/tools/lldbmacros/
H A Dxnu.py932 cur_debug_buf_ptr_offset = (unsigned(kern.globals.debug_buf_ptr) - unsigned(panic_header))