diff options
author | Jens Freimann <jfrei@linux.vnet.ibm.com> | 2013-04-19 16:45:06 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-05-01 13:04:19 +0200 |
commit | c72bf468259935a80ea185f2cbe807c3da9c1bbd (patch) | |
tree | 4136a113a72e28781e1044619be635a3f7212a47 /include/sysemu | |
parent | 5f8df3ce6e0a057ec23cea74b6e629e59e085ac4 (diff) | |
download | qemu-c72bf468259935a80ea185f2cbe807c3da9c1bbd.zip |
cpu: Move cpu_write_elfXX_note() functions to CPUState
Convert cpu_write_elfXX_note() functions to CPUClass methods and pass
CPUState as argument. Update target-i386 accordingly.
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
[AF: Retain stubs as CPUClass' default method implementation; style changes]
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/sysemu')
-rw-r--r-- | include/sysemu/dump.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/sysemu/dump.h b/include/sysemu/dump.h index e25b7cfb73..b8c770f8d9 100644 --- a/include/sysemu/dump.h +++ b/include/sysemu/dump.h @@ -20,15 +20,6 @@ typedef struct ArchDumpInfo { int d_class; /* ELFCLASS32 or ELFCLASS64 */ } ArchDumpInfo; -typedef int (*write_core_dump_function)(void *buf, size_t size, void *opaque); -int cpu_write_elf64_note(write_core_dump_function f, CPUArchState *env, - int cpuid, void *opaque); -int cpu_write_elf32_note(write_core_dump_function f, CPUArchState *env, - int cpuid, void *opaque); -int cpu_write_elf64_qemunote(write_core_dump_function f, CPUArchState *env, - void *opaque); -int cpu_write_elf32_qemunote(write_core_dump_function f, CPUArchState *env, - void *opaque); int cpu_get_dump_info(ArchDumpInfo *info); ssize_t cpu_get_note_size(int class, int machine, int nr_cpus); |