gencore: finish reintegration into arch-independent code

Change-Id: Ic2fc935aeec17c54931817bf43f67ef6da78adc8
Fujitsu: POSTK_DEBUG_ARCH_DEP_18
This commit is contained in:
Dominique Martinet
2019-02-05 15:01:16 +09:00
parent 112ade484a
commit 6fc9ec1c92
18 changed files with 133 additions and 1083 deletions

View File

@@ -1,5 +1,4 @@
/* elfcore.h COPYRIGHT FUJITSU LIMITED 2015-2016 */
#ifdef POSTK_DEBUG_ARCH_DEP_18 /* coredump arch separation. */
#ifndef __HEADER_ELFCORE_H
#define __HEADER_ELFCORE_H
@@ -101,11 +100,7 @@ struct note {
};
#define NT_PRSTATUS 1
#ifdef POSTK_DEBUG_ARCH_DEP_18 /* coredump arch separation. */
#define NT_PRFPREG 2
#else /* POSTK_DEBUG_ARCH_DEP_18 */
#define NT_PRFRPREG 2
#endif /* POSTK_DEBUG_ARCH_DEP_18 */
#define NT_PRPSINFO 3
#define NT_AUXV 6
@@ -116,10 +111,3 @@ struct thread;
extern void arch_fill_prstatus(struct elf_prstatus64 *prstatus, struct thread *thread, void *regs0);
#endif /* __HEADER_ELFCORE_H */
#else /* POSTK_DEBUG_ARCH_DEP_18 */
#ifdef __x86_64
#include "../../arch/x86_64/kernel/include/elfcore.h"
#elif __aarch64__
#include "../../arch/arm64/kernel/include/elfcore.h"
#endif
#endif /* POSTK_DEBUG_ARCH_DEP_18 */