Files
BPI-CM9-Linux/aml-comp/kernel/aml-6.12/common_drivers/drivers/debug/debug_misc.c
T

31 lines
764 B
C
Raw Normal View History

2026-08-13 11:28:40 +08:00
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
#include <linux/mm.h>
#include <linux/reboot.h>
#include <linux/sysrq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <trace/hooks/gic_v3.h>
#include "lockup.h"
void notrace irq_trace_start_gki_builtin(unsigned long flags)
{
trace_android_rvh_gic_v3_set_affinity((void *)DEBUG_HOOK_MAGIC,
(void *)DEBUG_HOOK_IRQ_START,
(void *)flags,
0, 0, 0, 0);
}
void notrace irq_trace_stop_gki_builtin(unsigned long flags)
{
trace_android_rvh_gic_v3_set_affinity((void *)DEBUG_HOOK_MAGIC,
(void *)DEBUG_HOOK_IRQ_STOP,
(void *)flags,
0, 0, 0, 0);
}