Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/asm
File: mce.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef _ASM_X86_MCE_H
[1] Fix | Delete
#define _ASM_X86_MCE_H
[2] Fix | Delete
[3] Fix | Delete
#include <linux/types.h>
[4] Fix | Delete
#include <linux/ioctl.h>
[5] Fix | Delete
[6] Fix | Delete
/*
[7] Fix | Delete
* Fields are zero when not available. Also, this struct is shared with
[8] Fix | Delete
* userspace mcelog and thus must keep existing fields at current offsets.
[9] Fix | Delete
* Only add new fields to the end of the structure
[10] Fix | Delete
*/
[11] Fix | Delete
struct mce {
[12] Fix | Delete
__u64 status; /* Bank's MCi_STATUS MSR */
[13] Fix | Delete
__u64 misc; /* Bank's MCi_MISC MSR */
[14] Fix | Delete
__u64 addr; /* Bank's MCi_ADDR MSR */
[15] Fix | Delete
__u64 mcgstatus; /* Machine Check Global Status MSR */
[16] Fix | Delete
__u64 ip; /* Instruction Pointer when the error happened */
[17] Fix | Delete
__u64 tsc; /* CPU time stamp counter */
[18] Fix | Delete
__u64 time; /* Wall time_t when error was detected */
[19] Fix | Delete
__u8 cpuvendor; /* Kernel's X86_VENDOR enum */
[20] Fix | Delete
__u8 inject_flags; /* Software inject flags */
[21] Fix | Delete
__u8 severity; /* Error severity */
[22] Fix | Delete
__u8 pad;
[23] Fix | Delete
__u32 cpuid; /* CPUID 1 EAX */
[24] Fix | Delete
__u8 cs; /* Code segment */
[25] Fix | Delete
__u8 bank; /* Machine check bank reporting the error */
[26] Fix | Delete
__u8 cpu; /* CPU number; obsoleted by extcpu */
[27] Fix | Delete
__u8 finished; /* Entry is valid */
[28] Fix | Delete
__u32 extcpu; /* Linux CPU number that detected the error */
[29] Fix | Delete
__u32 socketid; /* CPU socket ID */
[30] Fix | Delete
__u32 apicid; /* CPU initial APIC ID */
[31] Fix | Delete
__u64 mcgcap; /* MCGCAP MSR: machine check capabilities of CPU */
[32] Fix | Delete
__u64 synd; /* MCA_SYND MSR: only valid on SMCA systems */
[33] Fix | Delete
__u64 ipid; /* MCA_IPID MSR: only valid on SMCA systems */
[34] Fix | Delete
__u64 ppin; /* Protected Processor Inventory Number */
[35] Fix | Delete
__u32 microcode; /* Microcode revision */
[36] Fix | Delete
};
[37] Fix | Delete
[38] Fix | Delete
#define MCE_GET_RECORD_LEN _IOR('M', 1, int)
[39] Fix | Delete
#define MCE_GET_LOG_LEN _IOR('M', 2, int)
[40] Fix | Delete
#define MCE_GETCLEAR_FLAGS _IOR('M', 3, int)
[41] Fix | Delete
[42] Fix | Delete
#endif /* _ASM_X86_MCE_H */
[43] Fix | Delete
[44] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function