vmcore.h 446 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _UAPI_VMCORE_H
  3. #define _UAPI_VMCORE_H
  4. #include <linux/types.h>
  5. #define VMCOREDD_NOTE_NAME "LINUX"
  6. #define VMCOREDD_MAX_NAME_BYTES 44
  7. struct vmcoredd_header {
  8. __u32 n_namesz; /* Name size */
  9. __u32 n_descsz; /* Content size */
  10. __u32 n_type; /* NT_VMCOREDD */
  11. __u8 name[8]; /* LINUX\0\0\0 */
  12. __u8 dump_name[VMCOREDD_MAX_NAME_BYTES]; /* Device dump's name */
  13. };
  14. #endif /* _UAPI_VMCORE_H */