-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathras-arm-handler.h
More file actions
39 lines (32 loc) · 832 Bytes
/
ras-arm-handler.h
File metadata and controls
39 lines (32 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
*/
#ifndef __RAS_ARM_HANDLER_H
#define __RAS_ARM_HANDLER_H
#include <traceevent/event-parse.h>
#include "ras-events.h"
/*
* ARM Processor Error Information Structure, According to
* UEFI_2_9 specification chapter N2.4.4.
*/
#pragma pack(1)
struct ras_arm_err_info {
uint8_t version;
uint8_t length;
uint16_t validation_bits;
uint8_t type;
uint16_t multiple_error;
uint8_t flags;
uint64_t error_info;
uint64_t virt_fault_addr;
uint64_t physical_fault_addr;
};
#pragma pack()
int ras_arm_event_handler(struct trace_seq *s,
struct tep_record *record,
struct tep_event *event, void *context);
void display_raw_data(struct trace_seq *s,
const uint8_t *buf,
uint32_t datalen);
#endif