gencore: finish reintegration into arch-independent code
Change-Id: Ic2fc935aeec17c54931817bf43f67ef6da78adc8 Fujitsu: POSTK_DEBUG_ARCH_DEP_18
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* elfcoregpl.h COPYRIGHT FUJITSU LIMITED 2015-2016 */
|
||||
#ifdef POSTK_DEBUG_ARCH_DEP_18 /* coredump arch separation. */
|
||||
#ifndef __HEADER_ELFCOREGPL_H
|
||||
#define __HEADER_ELFCOREGPL_H
|
||||
|
||||
@@ -64,10 +63,3 @@ struct elf_prpsinfo64
|
||||
};
|
||||
|
||||
#endif /* __HEADER_ELFCOREGPL_H */
|
||||
#else /* POSTK_DEBUG_ARCH_DEP_18 */
|
||||
#ifdef __x86_64
|
||||
#include "../../arch/x86/kernel/include/elfcoregpl.h"
|
||||
#elif __aarch64__
|
||||
#include "../../arch/arm64/kernel/include/elfcoregpl.h"
|
||||
#endif
|
||||
#endif /* POSTK_DEBUG_ARCH_DEP_18 */
|
||||
|
||||
@@ -21,17 +21,6 @@
|
||||
#include <list.h>
|
||||
#include <pager.h>
|
||||
|
||||
#ifdef POSTK_DEBUG_ARCH_DEP_18 /* coredump arch separation. */
|
||||
#else /* POSTK_DEBUG_ARCH_DEP_18 */
|
||||
/* begin types.h */
|
||||
typedef int32_t key_t;
|
||||
typedef uint32_t uid_t;
|
||||
typedef uint32_t gid_t;
|
||||
typedef int64_t time_t;
|
||||
typedef int32_t pid_t;
|
||||
/* end types.h */
|
||||
#endif /* POSTK_DEBUG_ARCH_DEP_18 */
|
||||
|
||||
enum {
|
||||
/* for memobj.flags */
|
||||
MF_HAS_PAGER = 0x0001,
|
||||
|
||||
Reference in New Issue
Block a user