mirror of
https://github.com/mborgerson/xemu.git
synced 2026-05-06 01:23:18 +00:00
Move elf_core_copy_regs to elfload.c. Move HAVE_ELF_CORE_DUMP, ELF_NREGS, target_elf_gregset_t to target_elf.h. For now, duplicate the definitions of target_elf_greg_t and tswapreg. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
22 lines
616 B
C
22 lines
616 B
C
/*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation, or (at your option) any
|
|
* later version. See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef XTENSA_TARGET_ELF_H
|
|
#define XTENSA_TARGET_ELF_H
|
|
|
|
#define HAVE_ELF_CORE_DUMP 1
|
|
|
|
typedef abi_ulong target_elf_greg_t;
|
|
|
|
/* See linux kernel: arch/xtensa/include/asm/elf.h. */
|
|
#define ELF_NREG 128
|
|
typedef struct target_elf_gregset_t {
|
|
target_elf_greg_t regs[ELF_NREG];
|
|
} target_elf_gregset_t;
|
|
|
|
#endif
|