kernel_samsung_a34x-permissive/drivers/misc/mediatek/aee/mrdump/mrdump_mini.h
2024-04-28 15:49:01 +02:00

28 lines
860 B
C
Executable file

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2016 MediaTek Inc.
*/
#if !defined(__MRDUMP_MINI_H__)
struct mrdump_mini_extra_misc {
void (*dump_func)(unsigned long *vaddr, unsigned long *size);
const char *dump_name;
unsigned long max_size;
};
#ifdef CONFIG_STACKTRACE
extern unsigned long *stack_trace;
#endif
extern void get_hang_detect_buffer(unsigned long *addr, unsigned long *size,
unsigned long *start);
#if IS_ENABLED(CONFIG_HAVE_MTK_GZ_LOG)
extern void get_gz_log_buffer(unsigned long *addr, unsigned long *paddr,
unsigned long *size, unsigned long *start);
#endif
extern void get_mbootlog_buffer(unsigned long *addr, unsigned long *size,
unsigned long *start);
extern struct mboot_params_buffer *mboot_params_buffer;
extern void aee_rr_get_desc_info(unsigned long *addr, unsigned long *size,
unsigned long *start);
#endif