2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
7 #ifndef PPAPI_NACL_IRT_PUBLIC_IRT_NONSFI_H_
8 #define PPAPI_NACL_IRT_PUBLIC_IRT_NONSFI_H_
13 * This interface is only available on ARM, only for Non-SFI.
15 #define NACL_IRT_ICACHE_v0_1 "nacl-irt-icache-0.1"
16 struct nacl_irt_icache
{
18 * clear_cache() makes instruction cache and data cache for the address
19 * range from |addr| to |(intptr_t)addr + size| (exclusive) coherent.
21 int (*clear_cache
)(void* addr
, size_t size
);
24 #endif // PPAPI_NACL_IRT_PUBLIC_IRT_NONSFI_H_