OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Generated from the Linux kernel's calls.S. | |
6 #ifndef SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ | |
7 #define SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ | |
8 | |
9 #if !defined(__arm__) | |
10 #error "Including header on wrong architecture" | |
11 #endif | |
12 | |
13 #include <asm/unistd.h> | |
jln (very slow on Chromium)
2012/08/14 19:10:35
Please, add a comment stating that this is a diff
Jorge Lucangeli Obes
2012/08/14 21:58:06
The reason we need unistd is that NR_SYSCALL_BASE
| |
14 | |
15 #ifndef __NR_process_vm_readv | |
16 #define __NR_process_vm_readv (__NR_SYSCALL_BASE+376) | |
17 #endif | |
18 | |
19 #ifndef __NR_process_vm_writev | |
20 #define __NR_process_vm_writev (__NR_SYSCALL_BASE+377) | |
21 #endif | |
22 | |
23 #endif // SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ | |
OLD | NEW |