Home
last modified time | relevance | path

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

/xnu-8020.101.4/pexpert/arm/
H A Dpe_init.c61 vm_offset_t gPanicBase = 0; variable
94 gPanicBase = ml_io_map_wcomb(PLATFORM_PANIC_LOG_PADDR, PLATFORM_PANIC_LOG_SIZE); in check_for_panic_log()
135 gPanicBase = ml_io_map_wcomb(reg_prop[0], panic_region_length[0]); in check_for_panic_log()
155 panic_info = (struct embedded_panic_header *)gPanicBase; in check_for_panic_log()
176 bzero((void *)gPanicBase, gPanicSize); in check_for_panic_log()
624 assert(gPanicBase != 0); in PE_get_offset_into_panic_region()
625 assert(location >= (char *) gPanicBase); in PE_get_offset_into_panic_region()
626 assert((unsigned int)(location - gPanicBase) < gPanicSize); in PE_get_offset_into_panic_region()
628 return (uint32_t)(uintptr_t)(location - gPanicBase); in PE_get_offset_into_panic_region()
731 if (gPanicBase) { in PE_sync_panic_buffers()
[all …]
/xnu-8020.101.4/osfmk/arm/
H A Dmodel_dep.c799 …if (PanicInfoSaved && (debug_buf_base >= (char*)gPanicBase) && (debug_buf_base < (char*)gPanicBase in SavePanicInfo()
800 unsigned int pi_size = (unsigned int)(debug_buf_ptr - gPanicBase); in SavePanicInfo()
801 PE_save_buffer_to_vram((unsigned char*)gPanicBase, &pi_size); in SavePanicInfo()
831 panicbuf_length = (unsigned int)(debug_buf_ptr - gPanicBase); in paniclog_flush()
845 PE_save_buffer_to_vram((unsigned char *)gPanicBase, &panicbuf_length); in paniclog_flush()
851 PESavePanicInfo((unsigned char *)gPanicBase, panicbuf_length); in paniclog_flush()
/xnu-8020.101.4/pexpert/pexpert/
H A Dpexpert.h61 extern vm_offset_t gPanicBase;
/xnu-8020.101.4/osfmk/kern/
H A Ddebug.c437 if (!gPanicBase) { in debug_log_init()
442 debug_buf_base = (char *)gPanicBase + sizeof(struct embedded_panic_header); in debug_log_init()
H A Dkern_stackshot.c3527 …if (panic_stackshot && ((vm_offset_t)dest >= gPanicBase) && ((vm_offset_t)dest < (gPanicBase + gPa… in kdp_copyin()
3528 if (((vm_offset_t)dest + size) > (gPanicBase + gPanicSize)) { in kdp_copyin()