linux/drivers/edac/mce_amd.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _EDAC_MCE_AMD_H
#define _EDAC_MCE_AMD_H

#include <linux/notifier.h>

#include <asm/mce.h>

#define EC(x)

#define LOW_SYNDROME(x)
#define HIGH_SYNDROME(x)

#define TLB_ERROR(x)
#define MEM_ERROR(x)
#define BUS_ERROR(x)
#define INT_ERROR(x)

#define TT(x)
#define TT_MSG(x)
#define II(x)
#define II_MSG(x)
#define LL(x)
#define LL_MSG(x)
#define TO(x)
#define TO_MSG(x)
#define PP(x)
#define PP_MSG(x)
#define UU(x)
#define UU_MSG(x)

#define R4(x)
#define R4_MSG(x)

extern const char * const pp_msgs[];

enum tt_ids {};

enum ll_ids {};

enum ii_ids {};

enum rrrr_ids {};

/*
 * per-family decoder ops
 */
struct amd_decoder_ops {};

void amd_register_ecc_decoder(void (*f)(int, struct mce *));
void amd_unregister_ecc_decoder(void (*f)(int, struct mce *));

#endif /* _EDAC_MCE_AMD_H */