Searched refs:gPanicBase (Results 1 – 5 of 5) sorted by relevance
61 vm_offset_t gPanicBase = 0; variable94 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 …]
799 …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()
61 extern vm_offset_t gPanicBase;
437 if (!gPanicBase) { in debug_log_init()442 debug_buf_base = (char *)gPanicBase + sizeof(struct embedded_panic_header); in debug_log_init()
3527 …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()