Home
last modified time | relevance | path

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

/openbmc/qemu/contrib/elf2dmp/
H A Dmain.c74 DBGKD_DEBUG_DATA_HEADER64 kdbg_hdr; in get_kdbg() local
80 &kdbg_hdr, sizeof(kdbg_hdr), 0)) { in get_kdbg()
85 if (memcmp(&kdbg_hdr.OwnerTag, OwnerTag, sizeof(OwnerTag))) { in get_kdbg()
109 kdbg_decode((uint64_t *)&kdbg_hdr, (uint64_t *)&kdbg_hdr, in get_kdbg()
110 sizeof(kdbg_hdr), kwn, kwa, KdpDataBlockEncoded); in get_kdbg()
112 printf("Owner tag is \'%.4s\'\n", (char *)&kdbg_hdr.OwnerTag); in get_kdbg()
113 if (memcmp(&kdbg_hdr.OwnerTag, OwnerTag, sizeof(OwnerTag))) { in get_kdbg()
119 kdbg = g_malloc(kdbg_hdr.Size); in get_kdbg()
121 if (!va_space_rw(vs, KdDebuggerDataBlock, kdbg, kdbg_hdr.Size, 0)) { in get_kdbg()
132 kdbg_decode((uint64_t *)kdbg, (uint64_t *)kdbg, kdbg_hdr.Size, in get_kdbg()
[all …]