• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
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.
5  */
6 
7 #ifndef PPAPI_NACL_IRT_PUBLIC_IRT_NONSFI_H_
8 #define PPAPI_NACL_IRT_PUBLIC_IRT_NONSFI_H_
9 
10 #include <stddef.h>
11 
12 /*
13  * This interface is only available on ARM, only for Non-SFI.
14  */
15 #define NACL_IRT_ICACHE_v0_1 "nacl-irt-icache-0.1"
16 struct nacl_irt_icache {
17   /*
18    * clear_cache() makes instruction cache and data cache for the address
19    * range from |addr| to |(intptr_t)addr + size| (exclusive) coherent.
20    */
21   int (*clear_cache)(void* addr, size_t size);
22 };
23 
24 #endif  // PPAPI_NACL_IRT_PUBLIC_IRT_NONSFI_H_
25