summaryrefslogtreecommitdiff
path: root/core/arch/arm/include/kernel/ldelf_loader.h
blob: 68e48ea8b2ceb30875c70330d23c4d8843fc1b9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2020, Arm Limited
 */

#include <kernel/user_mode_ctx_struct.h>
#include <tee_api_types.h>

#ifndef KERNEL_LDELF_LOADER_H
#define KERNEL_LDELF_LOADER_H

TEE_Result ldelf_load_ldelf(struct user_mode_ctx *uctx);
TEE_Result ldelf_init_with_ldelf(struct ts_session *sess,
				 struct user_mode_ctx *uctx);
TEE_Result ldelf_dump_state(struct user_mode_ctx *uctx);
TEE_Result ldelf_dump_ftrace(struct user_mode_ctx *uctx,
			     void *buf, size_t *blen);

#endif /* KERNEL_LDELF_LOADER_H */