Blame vmcore.h

Packit Service 501009
/*
Packit Service 501009
 * vmcore.h
Packit Service 501009
 *
Packit Service 501009
 * Copyright (C) 2019 Chelsio Communications. All rights reserved.
Packit Service 501009
 *
Packit Service 501009
 * This program is free software; you can redistribute it and/or modify
Packit Service 501009
 * it under the terms of the GNU General Public License as published by
Packit Service 501009
 * the Free Software Foundation; either version 2 of the License, or
Packit Service 501009
 * (at your option) any later version.
Packit Service 501009
 *
Packit Service 501009
 * This program is distributed in the hope that it will be useful,
Packit Service 501009
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 501009
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 501009
 * GNU General Public License for more details.
Packit Service 501009
 */
Packit Service 501009
#ifndef _VMCORE_H
Packit Service 501009
#define _VMCORE_H
Packit Service 501009
Packit Service 501009
#include <linux/types.h>
Packit Service 501009
Packit Service 501009
#ifndef NT_VMCOREDD
Packit Service 501009
#define NT_VMCOREDD 0x700
Packit Service 501009
#endif
Packit Service 501009
Packit Service 501009
#define VMCOREDD_NOTE_NAME "LINUX"
Packit Service 501009
#define VMCOREDD_MAX_NAME_BYTES 44
Packit Service 501009
Packit Service 501009
struct vmcoredd_header {
Packit Service 501009
	__u32 n_namesz; /* Name size */
Packit Service 501009
	__u32 n_descsz; /* Content size */
Packit Service 501009
	__u32 n_type;   /* NT_VMCOREDD */
Packit Service 501009
	__u8 name[8];   /* LINUX\0\0\0 */
Packit Service 501009
	__u8 dump_name[VMCOREDD_MAX_NAME_BYTES]; /* Device dump's name */
Packit Service 501009
};
Packit Service 501009
Packit Service 501009
#endif /* _VMCORE_H */