1*2221cb56SEtienne Carriere /* 2*2221cb56SEtienne Carriere * Copyright (c) 2015, Linaro Limited 3*2221cb56SEtienne Carriere * All rights reserved. 4*2221cb56SEtienne Carriere * 5*2221cb56SEtienne Carriere * Redistribution and use in source and binary forms, with or without 6*2221cb56SEtienne Carriere * modification, are permitted provided that the following conditions are met: 7*2221cb56SEtienne Carriere * 8*2221cb56SEtienne Carriere * 1. Redistributions of source code must retain the above copyright notice, 9*2221cb56SEtienne Carriere * this list of conditions and the following disclaimer. 10*2221cb56SEtienne Carriere * 11*2221cb56SEtienne Carriere * 2. Redistributions in binary form must reproduce the above copyright notice, 12*2221cb56SEtienne Carriere * this list of conditions and the following disclaimer in the documentation 13*2221cb56SEtienne Carriere * and/or other materials provided with the distribution. 14*2221cb56SEtienne Carriere * 15*2221cb56SEtienne Carriere * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 16*2221cb56SEtienne Carriere * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17*2221cb56SEtienne Carriere * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18*2221cb56SEtienne Carriere * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 19*2221cb56SEtienne Carriere * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 20*2221cb56SEtienne Carriere * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 21*2221cb56SEtienne Carriere * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 22*2221cb56SEtienne Carriere * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 23*2221cb56SEtienne Carriere * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24*2221cb56SEtienne Carriere * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25*2221cb56SEtienne Carriere * POSSIBILITY OF SUCH DAMAGE. 26*2221cb56SEtienne Carriere */ 27*2221cb56SEtienne Carriere #ifndef TEE_CACHE_H 28*2221cb56SEtienne Carriere #define TEE_CACHE_H 29*2221cb56SEtienne Carriere 30*2221cb56SEtienne Carriere #include <utee_types.h> 31*2221cb56SEtienne Carriere 32*2221cb56SEtienne Carriere TEE_Result cache_operation(enum utee_cache_operation op, void *va, size_t len); 33*2221cb56SEtienne Carriere 34*2221cb56SEtienne Carriere #endif /* TEE_CACHE_H */ 35