mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
caa8b668c5
PD#SWPL-99365 Problem: gki optimize Solution: 1, code optimize 2, watchdog_hld to ko Verify: sc2_ah212 Change-Id: Ibb1b16bd61d794defb39d53f17ad86179ba4a661 Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
26 lines
518 B
C
26 lines
518 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __DEBUG_LOCKUP_H_
|
|
#define __DEBUG_LOCKUP_H_
|
|
|
|
#define DEBUG_HOOK_MAGIC 0x64656280 //'d', 'e', 'b', '\x80'
|
|
|
|
enum debug_hook_type {
|
|
DEBUG_HOOK_IRQ_START,
|
|
DEBUG_HOOK_IRQ_STOP,
|
|
DEBUG_HOOK_PSTORE_ATTACH,
|
|
DEBUG_HOOK_MAX_CNT,
|
|
};
|
|
|
|
void pr_lockup_info(int lock_cpu);
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_DEBUG_TEST)
|
|
extern int smc_long_debug;
|
|
extern int idle_long_debug;
|
|
#endif
|
|
|
|
#endif /*_DEBUG_LOCKUP_H__*/
|