Home
last modified time | relevance | path

Searched refs:gPanicBase (Results 1 – 7 of 7) sorted by relevance

/xnu-12377.41.6/pexpert/arm/
H A Dpe_init.c79 vm_offset_t gPanicBase = 0; variable
112 gPanicBase = ml_io_map_wcomb(PLATFORM_PANIC_LOG_PADDR, PLATFORM_PANIC_LOG_SIZE); in check_for_panic_log()
153 gPanicBase = ml_io_map_wcomb(reg_prop[0], panic_region_length[0]); in check_for_panic_log()
173 panic_info = (struct embedded_panic_header *)gPanicBase; in check_for_panic_log()
194 bzero((void *)gPanicBase, gPanicSize); in check_for_panic_log()
669 assert(gPanicBase != 0); in PE_get_offset_into_panic_region()
670 assert(location >= (char *) gPanicBase); in PE_get_offset_into_panic_region()
671 assert((unsigned int)(location - gPanicBase) < gPanicSize); in PE_get_offset_into_panic_region()
673 return (uint32_t)(uintptr_t)(location - gPanicBase); in PE_get_offset_into_panic_region()
790 if (gPanicBase) { in PE_sync_panic_buffers()
[all …]
/xnu-12377.41.6/osfmk/kdp/
H A Dkdp_common.c79 if (((vm_offset_t)dst >= gPanicBase) && ((vm_offset_t)dst < (gPanicBase + gPanicSize))) { in kdp_memcpy()
239 …if (!not_in_kdp && ((vm_offset_t)dest >= gPanicBase) && ((vm_offset_t)dest < (gPanicBase + gPanicS… in kdp_generic_copyin()
240 if (((vm_offset_t)dest + size) > (gPanicBase + gPanicSize)) { in kdp_generic_copyin()
H A Dkdp_core.c1237 char *panic_buf = (char *)gPanicBase; in do_kern_dump()
1238 size_t panic_len = (vm_offset_t)debug_buf_ptr - gPanicBase; in do_kern_dump()
/xnu-12377.41.6/osfmk/arm/
H A Dmodel_dep.c966 …if (PanicInfoSaved && (debug_buf_base >= (char*)gPanicBase) && (debug_buf_base < (char*)gPanicBase in SavePanicInfo()
967 unsigned int pi_size = (unsigned int)(debug_buf_ptr - gPanicBase); in SavePanicInfo()
968 PE_update_panic_crc((unsigned char*)gPanicBase, &pi_size); in SavePanicInfo()
999 panicbuf_length = (unsigned int)(debug_buf_ptr - gPanicBase); in paniclog_flush()
1013 PE_update_panic_crc((unsigned char *)gPanicBase, &panicbuf_length); in paniclog_flush()
1019 PESavePanicInfo((unsigned char *)gPanicBase, panicbuf_length); in paniclog_flush()
/xnu-12377.41.6/pexpert/pexpert/
H A Dpexpert.h61 extern vm_offset_t gPanicBase;
/xnu-12377.41.6/osfmk/kern/
H A Ddebug.c509 if (!gPanicBase) { in debug_log_init()
514 debug_buf_base = (char *)gPanicBase + sizeof(struct embedded_panic_header); in debug_log_init()
H A Dext_paniclog.c322 ((uint32_t)(debug_buf_ptr - gPanicBase) >= panic_info->eph_ext_paniclog_offset) : in is_debug_ptr_in_ext_paniclog()