Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: kexec.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef LINUX_KEXEC_H
[1] Fix | Delete
#define LINUX_KEXEC_H
[2] Fix | Delete
[3] Fix | Delete
/* kexec system call - It loads the new kernel to boot into.
[4] Fix | Delete
* kexec does not sync, or unmount filesystems so if you need
[5] Fix | Delete
* that to happen you need to do that yourself.
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
#include <linux/types.h>
[9] Fix | Delete
[10] Fix | Delete
/* kexec flags for different usage scenarios */
[11] Fix | Delete
#define KEXEC_ON_CRASH 0x00000001
[12] Fix | Delete
#define KEXEC_PRESERVE_CONTEXT 0x00000002
[13] Fix | Delete
#define KEXEC_ARCH_MASK 0xffff0000
[14] Fix | Delete
[15] Fix | Delete
/*
[16] Fix | Delete
* Kexec file load interface flags.
[17] Fix | Delete
* KEXEC_FILE_UNLOAD : Unload already loaded kexec/kdump image.
[18] Fix | Delete
* KEXEC_FILE_ON_CRASH : Load/unload operation belongs to kdump image.
[19] Fix | Delete
* KEXEC_FILE_NO_INITRAMFS : No initramfs is being loaded. Ignore the initrd
[20] Fix | Delete
* fd field.
[21] Fix | Delete
*/
[22] Fix | Delete
#define KEXEC_FILE_UNLOAD 0x00000001
[23] Fix | Delete
#define KEXEC_FILE_ON_CRASH 0x00000002
[24] Fix | Delete
#define KEXEC_FILE_NO_INITRAMFS 0x00000004
[25] Fix | Delete
[26] Fix | Delete
/* These values match the ELF architecture values.
[27] Fix | Delete
* Unless there is a good reason that should continue to be the case.
[28] Fix | Delete
*/
[29] Fix | Delete
#define KEXEC_ARCH_DEFAULT ( 0 << 16)
[30] Fix | Delete
#define KEXEC_ARCH_386 ( 3 << 16)
[31] Fix | Delete
#define KEXEC_ARCH_68K ( 4 << 16)
[32] Fix | Delete
#define KEXEC_ARCH_X86_64 (62 << 16)
[33] Fix | Delete
#define KEXEC_ARCH_PPC (20 << 16)
[34] Fix | Delete
#define KEXEC_ARCH_PPC64 (21 << 16)
[35] Fix | Delete
#define KEXEC_ARCH_IA_64 (50 << 16)
[36] Fix | Delete
#define KEXEC_ARCH_ARM (40 << 16)
[37] Fix | Delete
#define KEXEC_ARCH_S390 (22 << 16)
[38] Fix | Delete
#define KEXEC_ARCH_SH (42 << 16)
[39] Fix | Delete
#define KEXEC_ARCH_MIPS_LE (10 << 16)
[40] Fix | Delete
#define KEXEC_ARCH_MIPS ( 8 << 16)
[41] Fix | Delete
#define KEXEC_ARCH_AARCH64 (183 << 16)
[42] Fix | Delete
[43] Fix | Delete
/* The artificial cap on the number of segments passed to kexec_load. */
[44] Fix | Delete
#define KEXEC_SEGMENT_MAX 16
[45] Fix | Delete
[46] Fix | Delete
/*
[47] Fix | Delete
* This structure is used to hold the arguments that are used when
[48] Fix | Delete
* loading kernel binaries.
[49] Fix | Delete
*/
[50] Fix | Delete
struct kexec_segment {
[51] Fix | Delete
const void *buf;
[52] Fix | Delete
size_t bufsz;
[53] Fix | Delete
const void *mem;
[54] Fix | Delete
size_t memsz;
[55] Fix | Delete
};
[56] Fix | Delete
[57] Fix | Delete
[58] Fix | Delete
#endif /* LINUX_KEXEC_H */
[59] Fix | Delete
[60] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function