summaryrefslogtreecommitdiff
path: root/core/arch/arm/tee/svc_dummy.c
blob: b9b56e69b27f9708dcfd88b6635825bd47da5445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: BSD-2-Clause
/*
 * Copyright (c) 2015, Linaro Limited
 */
#include <kernel/thread.h>
#include <kernel/panic.h>
#include <tee/arch_svc.h>

/*
 * Note: this function is weak just to make it possible to exclude it from
 * the unpaged area.
 *
 * Not strictly needed in this case, but we need to be compatible with the
 * one in core/arch/arm/tee/arch_svc.c
 */
void __weak __noreturn tee_svc_handler(struct thread_svc_regs *regs __unused)
{
	/* "Can't happen" as we have no user space TAs */
	panic();
}