194e8a4fcSJens Wiklander /* 294e8a4fcSJens Wiklander * Copyright (c) 2014, STMicroelectronics International N.V. 394e8a4fcSJens Wiklander * All rights reserved. 494e8a4fcSJens Wiklander * 594e8a4fcSJens Wiklander * Redistribution and use in source and binary forms, with or without 694e8a4fcSJens Wiklander * modification, are permitted provided that the following conditions are met: 794e8a4fcSJens Wiklander * 894e8a4fcSJens Wiklander * 1. Redistributions of source code must retain the above copyright notice, 994e8a4fcSJens Wiklander * this list of conditions and the following disclaimer. 1094e8a4fcSJens Wiklander * 1194e8a4fcSJens Wiklander * 2. Redistributions in binary form must reproduce the above copyright notice, 1294e8a4fcSJens Wiklander * this list of conditions and the following disclaimer in the documentation 1394e8a4fcSJens Wiklander * and/or other materials provided with the distribution. 1494e8a4fcSJens Wiklander * 1594e8a4fcSJens Wiklander * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 1694e8a4fcSJens Wiklander * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1794e8a4fcSJens Wiklander * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1894e8a4fcSJens Wiklander * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 1994e8a4fcSJens Wiklander * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2094e8a4fcSJens Wiklander * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2194e8a4fcSJens Wiklander * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2294e8a4fcSJens Wiklander * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2394e8a4fcSJens Wiklander * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2494e8a4fcSJens Wiklander * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2594e8a4fcSJens Wiklander * POSSIBILITY OF SUCH DAMAGE. 2694e8a4fcSJens Wiklander */ 2794e8a4fcSJens Wiklander #include <tee_api.h> 2894e8a4fcSJens Wiklander #include <utee_syscalls.h> 2994e8a4fcSJens Wiklander 3094e8a4fcSJens Wiklander /* System API - Misc */ 3194e8a4fcSJens Wiklander 32*0e1c6e8eSJerome Forissier void TEE_Panic(TEE_Result panicCode) 3394e8a4fcSJens Wiklander { 3494e8a4fcSJens Wiklander utee_panic(panicCode); 3594e8a4fcSJens Wiklander } 36