| Index: src/trusted/validator_x86/nccopycode.h
|
| ===================================================================
|
| --- src/trusted/validator_x86/nccopycode.h (revision 3931)
|
| +++ src/trusted/validator_x86/nccopycode.h (working copy)
|
| @@ -9,9 +9,17 @@
|
|
|
| #include "native_client/src/trusted/validator_x86/types_memory_model.h"
|
|
|
| +#if NACL_TARGET_SUBARCH == 32
|
| /* copies code from src to dest in a thread safe way, returns 0 on success */
|
| int NCCopyCode(uint8_t *dst, uint8_t *src, NaClPcAddress vbase,
|
| size_t sz, int bundle_size);
|
|
|
| +#elif NACL_TARGET_SUBARCH == 64
|
| +int NaClCopyCodeIter(uint8_t *dst, uint8_t *src,
|
| + NaClPcAddress vbase, size_t size);
|
| +#else
|
| +#error "Unknown Platform"
|
| +#endif
|
| +
|
| #endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_COPYCODE_H_ */
|
|
|
|
|