1*1bb92983SJerome Forissier /* SPDX-License-Identifier: BSD-2-Clause */ 22221cb56SEtienne Carriere /* 32221cb56SEtienne Carriere * Copyright (c) 2015, Linaro Limited 42221cb56SEtienne Carriere * All rights reserved. 52221cb56SEtienne Carriere * 62221cb56SEtienne Carriere * Redistribution and use in source and binary forms, with or without 72221cb56SEtienne Carriere * modification, are permitted provided that the following conditions are met: 82221cb56SEtienne Carriere * 92221cb56SEtienne Carriere * 1. Redistributions of source code must retain the above copyright notice, 102221cb56SEtienne Carriere * this list of conditions and the following disclaimer. 112221cb56SEtienne Carriere * 122221cb56SEtienne Carriere * 2. Redistributions in binary form must reproduce the above copyright notice, 132221cb56SEtienne Carriere * this list of conditions and the following disclaimer in the documentation 142221cb56SEtienne Carriere * and/or other materials provided with the distribution. 152221cb56SEtienne Carriere * 162221cb56SEtienne Carriere * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 172221cb56SEtienne Carriere * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 182221cb56SEtienne Carriere * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 192221cb56SEtienne Carriere * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 202221cb56SEtienne Carriere * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 212221cb56SEtienne Carriere * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 222221cb56SEtienne Carriere * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 232221cb56SEtienne Carriere * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 242221cb56SEtienne Carriere * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 252221cb56SEtienne Carriere * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 262221cb56SEtienne Carriere * POSSIBILITY OF SUCH DAMAGE. 272221cb56SEtienne Carriere */ 282221cb56SEtienne Carriere #ifndef TEE_CACHE_H 292221cb56SEtienne Carriere #define TEE_CACHE_H 302221cb56SEtienne Carriere 312221cb56SEtienne Carriere #include <utee_types.h> 322221cb56SEtienne Carriere 332221cb56SEtienne Carriere TEE_Result cache_operation(enum utee_cache_operation op, void *va, size_t len); 342221cb56SEtienne Carriere 352221cb56SEtienne Carriere #endif /* TEE_CACHE_H */ 36