4 * Copyright Fujitsu, Corp. 2011, 2012
7 * Wen Congyang <wency@cn.fujitsu.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
17 typedef struct ArchDumpInfo
{
18 int d_machine
; /* Architecture */
19 int d_endian
; /* ELFDATA2LSB or ELFDATA2MSB */
20 int d_class
; /* ELFCLASS32 or ELFCLASS64 */
23 struct GuestPhysBlockList
; /* memory_mapping.h */
24 int cpu_get_dump_info(ArchDumpInfo
*info
,
25 const struct GuestPhysBlockList
*guest_phys_blocks
);
26 ssize_t
cpu_get_note_size(int class, int machine
, int nr_cpus
);