mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-31 19:35:28 +00:00
This patch implements the following x86_tee hypercalls, - HC_TEE_VCPU_BOOT_DONE - HC_SWITCH_EE Tracked-On: #6571 Signed-off-by: Jie Deng <jie.deng@intel.com> Reviewed-by: Wang, Yu1 <yu1.wang@intel.com> Acked-by: Eddie Dong <eddie.dong@Intel.com>
19 lines
428 B
C
19 lines
428 B
C
/*
|
|
* Copyright (C) 2021 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef TEE_H_
|
|
#define TEE_H_
|
|
|
|
#include <asm/guest/vm.h>
|
|
#include <asm/vm_config.h>
|
|
|
|
/* If the RDI equals to this value, then this is a RETURN after FIQ DONE */
|
|
#define OPTEE_RETURN_FIQ_DONE 0xBE000006UL
|
|
|
|
void prepare_tee_vm_memmap(struct acrn_vm *vm, const struct acrn_vm_config *vm_config);
|
|
|
|
#endif /* TEE_H_ */
|