| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Generated from the Linux kernel's calls.S. | 5 // Generated from the Linux kernel's calls.S. |
| 6 #ifndef SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ | 6 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_ARM_LINUX_SYSCALLS_H_ |
| 7 #define SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ | 7 #define SANDBOX_LINUX_SYSTEM_HEADERS_ARM_LINUX_SYSCALLS_H_ |
| 8 | 8 |
| 9 #if !defined(__arm__) || !defined(__ARM_EABI__) | 9 #if !defined(__arm__) || !defined(__ARM_EABI__) |
| 10 #error "Including header on wrong architecture" | 10 #error "Including header on wrong architecture" |
| 11 #endif | 11 #endif |
| 12 | 12 |
| 13 // __NR_SYSCALL_BASE, __ARM_NR_BASE are defined in <asm/unistd.h>. | 13 // __NR_SYSCALL_BASE, __ARM_NR_BASE are defined in <asm/unistd.h>. |
| 14 #include <asm/unistd.h> | 14 #include <asm/unistd.h> |
| 15 | 15 |
| 16 // This syscall list has holes, because ARM EABI makes some syscalls obsolete. | 16 // This syscall list has holes, because ARM EABI makes some syscalls obsolete. |
| 17 | 17 |
| (...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1398 | 1398 |
| 1399 #if !defined(__ARM_NR_set_tls) | 1399 #if !defined(__ARM_NR_set_tls) |
| 1400 #define __ARM_NR_set_tls (__ARM_NR_BASE+5) | 1400 #define __ARM_NR_set_tls (__ARM_NR_BASE+5) |
| 1401 #endif | 1401 #endif |
| 1402 | 1402 |
| 1403 // ARM kernel private syscall. | 1403 // ARM kernel private syscall. |
| 1404 #if !defined(__ARM_NR_cmpxchg) | 1404 #if !defined(__ARM_NR_cmpxchg) |
| 1405 #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0) | 1405 #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0) |
| 1406 #endif | 1406 #endif |
| 1407 | 1407 |
| 1408 #endif // SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ | 1408 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_ARM_LINUX_SYSCALLS_H_ |
| 1409 | 1409 |
| OLD | NEW |