]> git.proxmox.com Git - qemu.git/blame - include/sysemu/dump.h
Merge remote-tracking branch 'bonzini/scsi-next' into staging
[qemu.git] / include / sysemu / dump.h
CommitLineData
25ae9c1d
WC
1/*
2 * QEMU dump
3 *
4 * Copyright Fujitsu, Corp. 2011, 2012
5 *
6 * Authors:
7 * Wen Congyang <wency@cn.fujitsu.com>
8 *
352666e2
SW
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.
25ae9c1d
WC
11 *
12 */
13
14#ifndef DUMP_H
15#define DUMP_H
16
17typedef struct ArchDumpInfo {
18 int d_machine; /* Architecture */
19 int d_endian; /* ELFDATA2LSB or ELFDATA2MSB */
20 int d_class; /* ELFCLASS32 or ELFCLASS64 */
21} ArchDumpInfo;
22
56c4bfb3
LE
23struct GuestPhysBlockList; /* memory_mapping.h */
24int cpu_get_dump_info(ArchDumpInfo *info,
25 const struct GuestPhysBlockList *guest_phys_blocks);
5f86146f
PB
26ssize_t cpu_get_note_size(int class, int machine, int nr_cpus);
27
25ae9c1d 28#endif