Home
last modified time | relevance | path

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

/xnu-12377.1.9/osfmk/arm/
H A Dmodel_dep.c720 …panic_info->eph_panic_log_len = PE_get_offset_into_panic_region(debug_buf_ptr) - panic_info->eph_p… in do_print_all_panic_info()
739 …bytes_remaining = debug_buf_size - (unsigned int)((uintptr_t)debug_buf_ptr - (uintptr_t)debug_buf_… in do_print_all_panic_info()
744 …initiator_offset = (panic_initiator_len != 0) ? PE_get_offset_into_panic_region(debug_buf_ptr) : 0; in do_print_all_panic_info()
746 memcpy(debug_buf_ptr, panic_initiator, panic_initiator_len); in do_print_all_panic_info()
747 debug_buf_ptr += panic_initiator_len; in do_print_all_panic_info()
752 panic_info->eph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in do_print_all_panic_info()
756 panic_info->eph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in do_print_all_panic_info()
760 debug_buf_ptr += (8 - ((uintptr_t)debug_buf_ptr % 8)); in do_print_all_panic_info()
761 stackshot_begin_loc = debug_buf_ptr; in do_print_all_panic_info()
764 err = kcdata_memory_static_init(&kc_panic_data, (mach_vm_address_t)debug_buf_ptr, in do_print_all_panic_info()
[all …]
/xnu-12377.1.9/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-12377.1.9/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
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()
1878 ((debug_buf_ptr - debug_buf_base) < (int)debug_buf_size) &&
1880 *debug_buf_ptr = c;
1881 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.h764 extern char *debug_buf_ptr;
/xnu-12377.1.9/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-12377.1.9/osfmk/kdp/
H A Dkdp_core.c1107 coredump_log_start = debug_buf_ptr; in do_kern_dump()
1175 size_t panic_len = (vm_offset_t)debug_buf_ptr - gPanicBase; in do_kern_dump()
1294 assert(debug_buf_ptr >= buf); in do_kern_dump()
1296 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-12377.1.9/pexpert/i386/
H A Dpe_init.c468 panic_info->mph_other_log_offset = PE_get_offset_into_panic_region(debug_buf_ptr); in PE_update_panicheader_nestedpanic()
/xnu-12377.1.9/tools/lldbmacros/
H A Dxnu.py946 cur_debug_buf_ptr_offset = (unsigned(kern.globals.debug_buf_ptr) - unsigned(panic_header))