Index: sandbox/linux/services/arm_linux_syscalls.h |
diff --git a/sandbox/linux/services/arm_linux_syscalls.h b/sandbox/linux/services/arm_linux_syscalls.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..37a741e3aa64d3c0eb582f23317d1173f3ab4eec |
--- /dev/null |
+++ b/sandbox/linux/services/arm_linux_syscalls.h |
@@ -0,0 +1,28 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Generated from the Linux kernel's calls.S. |
+#ifndef SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ |
+#define SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ |
+ |
+// This file doesn't yet list all syscalls. |
+// TODO(jorgelo): define all ARM syscalls. |
+ |
+#if !defined(__arm__) |
+#error "Including header on wrong architecture" |
+#endif |
+ |
+// __NR_SYSCALL_BASE is defined in <asm/unistd.h>. |
+#include <asm/unistd.h> |
+ |
+#ifndef __NR_process_vm_readv |
+#define __NR_process_vm_readv (__NR_SYSCALL_BASE+376) |
+#endif |
+ |
+#ifndef __NR_process_vm_writev |
+#define __NR_process_vm_writev (__NR_SYSCALL_BASE+377) |
+#endif |
+ |
+#endif // SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ |
+ |