Home
last modified time | relevance | path

Searched refs:debug_buf_base (Results 1 – 9 of 9) sorted by relevance

/xnu-10002.41.9/osfmk/kern/
H A Ddebug.c276 char *debug_buf_base = NULL; variable
288 char *debug_buf_base = (debug_buf + offsetof(struct macos_panic_header, mph_data)); variable
461 debug_buf_ptr = debug_buf_base = (new_debug_buf + offsetof(struct macos_panic_header, mph_data)); in extended_debug_log_init()
486 debug_buf_base = (char *)gPanicBase + sizeof(struct embedded_panic_header); in debug_log_init()
487 debug_buf_ptr = debug_buf_base; in debug_log_init()
497 assert(debug_buf_base != NULL); in debug_log_init()
1710 ((debug_buf_ptr - debug_buf_base) < (int)debug_buf_size) &&
H A Dext_paniclog.c341 char *end = (char *)(debug_buf_base + debug_buf_size); in ext_paniclog_write_panicdata()
466 buf_ptr = (debug_buf_base + debug_buf_size) - bytes_copied; in ext_paniclog_multiple_handles_test()
568 buf_ptr = (debug_buf_base + debug_buf_size) - bytes_copied; in ext_paniclog_write_panicdata_test()
H A Ddebug.h691 extern char *debug_buf_base;
/xnu-10002.41.9/osfmk/arm/
H A Dmodel_dep.c688 …ning = debug_buf_size - (unsigned int)((uintptr_t)stackshot_begin_loc - (uintptr_t)debug_buf_base); in do_print_all_backtraces()
753 PE_get_offset_into_panic_region((debug_buf_base + debug_buf_size) - ext_paniclog_bytes) : in do_print_all_backtraces()
868 …if (PanicInfoSaved && (debug_buf_base >= (char*)gPanicBase) && (debug_buf_base < (char*)gPanicBase… in SavePanicInfo()
/xnu-10002.41.9/osfmk/i386/AT386/
H A Dmodel_dep.c715 …ning = debug_buf_size - (unsigned int)((uintptr_t)stackshot_begin_loc - (uintptr_t)debug_buf_base); in RecordPanicStackshot()
1020 bufpos = packA(debug_buf_base, (unsigned int) (debug_buf_ptr - debug_buf_base), in paniclog_flush_internal()
1025 pi_size = bufpos ? bufpos : (unsigned) (debug_buf_ptr - debug_buf_base); in paniclog_flush_internal()
1044 pi_size = PESavePanicInfo((unsigned char *)debug_buf_base, in paniclog_flush_internal()
1053 unpackA(debug_buf_base, bufpos); in paniclog_flush_internal()
/xnu-10002.41.9/pexpert/arm/
H A Dpe_init.c667 …panic_info->eph_panic_log_offset = debug_buf_base ? PE_get_offset_into_panic_region(debug_buf_base in PE_init_panicheader()
/xnu-10002.41.9/pexpert/i386/
H A Dpe_init.c415 panic_info->mph_panic_log_offset = PE_get_offset_into_panic_region(debug_buf_base); in PE_init_panicheader()
/xnu-10002.41.9/osfmk/kdp/
H A Dkdp_core.c430 vm_map_offset_t debug_start = trunc_page((vm_map_offset_t) debug_buf_base); in pmap_traverse_present_mappings()
431 vm_map_offset_t debug_end = round_page((vm_map_offset_t) (debug_buf_base + debug_buf_size)); in pmap_traverse_present_mappings()
1238 buf = debug_buf_base; in do_kern_dump()
H A Dkdp_udp.c2090 debug_buf_ptr - debug_buf_base, in kdp_panic_dump()
2091 debug_buf_base); in kdp_panic_dump()