Chromium Code Reviews| Index: tests/thread_capture/arch/mips/thread_capture_test_injection.c |
| diff --git a/tests/thread_capture/arch/x86_64/thread_capture_test_injection.c b/tests/thread_capture/arch/mips/thread_capture_test_injection.c |
| similarity index 84% |
| copy from tests/thread_capture/arch/x86_64/thread_capture_test_injection.c |
| copy to tests/thread_capture/arch/mips/thread_capture_test_injection.c |
| index 76c13e09acf59f5368dec2b54a31adb08c693736..8169a9d7c46042104c1c6060a0ee2a268abc770f 100644 |
| --- a/tests/thread_capture/arch/x86_64/thread_capture_test_injection.c |
| +++ b/tests/thread_capture/arch/mips/thread_capture_test_injection.c |
| @@ -1,12 +1,11 @@ |
| /* |
| - * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| + * Copyright (c) 2013 The Native Client Authors. All rights reserved. |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| */ |
| #include "native_client/tests/thread_capture/thread_capture_test_injection.h" |
| -#include "native_client/src/include/portability.h" |
| #include "native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h" |
| #include "native_client/src/trusted/service_runtime/nacl_app_thread.h" |
| #include "native_client/src/trusted/service_runtime/nacl_copy.h" |
| @@ -17,9 +16,9 @@ static int32_t TestSyscall(struct NaClAppThread *natp) { |
| g_nacl_syscall_thread_capture_fault_addr = |
| (uintptr_t) &NaClSyscallThreadCaptureFault; |
| - NaClCopyDropLock(natp->nap); |
| + NaClCopyInDropLock(natp->nap); |
|
Mark Seaborn
2013/02/13 22:14:09
This needs updating in order to compile
petarj
2013/03/05 17:50:04
Done.
|
| - NaClTlsSetIdx(0); |
| + NaClTlsSetIdx(NACL_TLS_INDEX_INVALID); |
| return 0; |
| } |