hw/intc/arm_gicv3: Implement ICV_ HPPIR, DIR and RPR registers
[qemu/ar7.git] / include / sysemu / dump-arch.h
blobe25b02e99013c75316c8b79da9a39803b816b554
1 /*
2 * QEMU dump
4 * Copyright Fujitsu, Corp. 2011, 2012
6 * Authors:
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.
14 #ifndef DUMP_ARCH_H
15 #define DUMP_ARCH_H
17 typedef struct ArchDumpInfo {
18 int d_machine; /* Architecture */
19 int d_endian; /* ELFDATA2LSB or ELFDATA2MSB */
20 int d_class; /* ELFCLASS32 or ELFCLASS64 */
21 uint32_t page_size; /* The target's page size. If it's variable and
22 * unknown, then this should be the maximum. */
23 uint64_t phys_base; /* The target's physmem base. */
24 } ArchDumpInfo;
26 struct GuestPhysBlockList; /* memory_mapping.h */
27 int cpu_get_dump_info(ArchDumpInfo *info,
28 const struct GuestPhysBlockList *guest_phys_blocks);
29 ssize_t cpu_get_note_size(int class, int machine, int nr_cpus);
31 #endif