mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 22:45:23 +07:00
19 lines
446 B
C
19 lines
446 B
C
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
#ifndef _UAPI_VMCORE_H
|
||
|
#define _UAPI_VMCORE_H
|
||
|
|
||
|
#include <linux/types.h>
|
||
|
|
||
|
#define VMCOREDD_NOTE_NAME "LINUX"
|
||
|
#define VMCOREDD_MAX_NAME_BYTES 44
|
||
|
|
||
|
struct vmcoredd_header {
|
||
|
__u32 n_namesz; /* Name size */
|
||
|
__u32 n_descsz; /* Content size */
|
||
|
__u32 n_type; /* NT_VMCOREDD */
|
||
|
__u8 name[8]; /* LINUX\0\0\0 */
|
||
|
__u8 dump_name[VMCOREDD_MAX_NAME_BYTES]; /* Device dump's name */
|
||
|
};
|
||
|
|
||
|
#endif /* _UAPI_VMCORE_H */
|