Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\apei.c Create Date:2022-07-28 08:04:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:apei_write_mce

Proto:int apei_write_mce(struct mce *m)

Type:int

Parameter:

TypeParameterName
struct mce *m
75  memset( & rcd, 0, size of rcd )
76  memcpy(must be CPER_SIG_RECORD , CPER record signature and the size , CPER_SIG_SIZE)
77  must be CPER_RECORD_REV = CPER record header revision, used in revision field in struct* cper_record_header
78  must be CPER_SIG_END = Used in signature_end field in struct cper_record_header
79  section_count = 1
80  error_severity = CPER_SEV_FATAL
82  validation_bits = 0
83  record_length = size of rcd
84  creator_id = CPER_CREATOR_MCE
85  notification_type = Machine Check Exception
86  record_id = cper_next_record_id()
87  flags = If set, the error is for previous boot
89  Offset in bytes of the* section body from the base* of the record header = (void * ) & mce - (void * ) & rcd
90  section_length = size of mce
91  must be CPER_RECORD_REV = CPER section header revision, used in revision field in struct* cper_section_descriptor
93  validation_bits = 0
94  flags = Flags bits definitions for flags in struct cper_section_descriptor* If set, the section is associated with the error condition* directly, and should be focused on
95  section_type = CPER_SECTION_TYPE_MCE
96  section_severity = CPER_SEV_FATAL
98  memcpy( & mce, m, size of m )
100  Return erst_write( & hdr)
Caller
NameDescribe
mce_panic