mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdump: add guarded storage support for ELF input and output format
Add guarded storage registers support for the ELF input and the ELF output format. See `man 2 s390_guarded_storage` for details about guarded storage. Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
dc87aef335
commit
029a3f8f52
@@ -74,6 +74,13 @@
|
||||
#define NT_S390_VXRS_HIGH 0x30a
|
||||
#endif
|
||||
|
||||
/*
|
||||
* S390 guarded-storage registers note (4 * u64)
|
||||
*/
|
||||
#ifndef NT_S390_GS_CB
|
||||
#define NT_S390_GS_CB 0x30b
|
||||
#endif
|
||||
|
||||
#define NOTE_NAME_CORE "CORE"
|
||||
#define NOTE_NAME_LINUX "LINUX"
|
||||
#define NOTE_NAME_VMCOREINFO "VMCOREINFO"
|
||||
@@ -259,6 +266,11 @@ void *nt_s390_vxrs_low(void *ptr, const struct dfi_cpu *cpu);
|
||||
*/
|
||||
void *nt_s390_vxrs_high(void *ptr, const struct dfi_cpu *cpu);
|
||||
|
||||
/*
|
||||
* Initialize guarded-storage registers note
|
||||
*/
|
||||
void *nt_s390_gs_cb(void *ptr, const struct dfi_cpu *cpu);
|
||||
|
||||
/*
|
||||
* Initialize prpsinfo note
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user