blob: a7e4e6d969785783f271fdcc7ba7a4c06d5c71ad [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Chenga6b53f02013-11-06 15:51:05 -08007#ifndef _UAPI__ASM_ARM_UNISTD_H
8#define _UAPI__ASM_ARM_UNISTD_H
9#define __NR_OABI_SYSCALL_BASE 0x900000
Christopher Ferris2abfa9e2021-11-01 16:26:06 -070010#define __NR_SYSCALL_MASK 0x0fffff
Ben Chenga6b53f02013-11-06 15:51:05 -080011#define __NR_SYSCALL_BASE 0
Christopher Ferris48af7cb2017-02-21 12:35:09 -080012#include <asm/unistd-eabi.h>
Ben Chenga6b53f02013-11-06 15:51:05 -080013#define __NR_sync_file_range2 __NR_arm_sync_file_range
Christopher Ferris106b3a82016-08-24 12:15:38 -070014#define __ARM_NR_BASE (__NR_SYSCALL_BASE + 0x0f0000)
Tao Baod7db5942015-01-28 10:07:51 -080015#define __ARM_NR_breakpoint (__ARM_NR_BASE + 1)
16#define __ARM_NR_cacheflush (__ARM_NR_BASE + 2)
17#define __ARM_NR_usr26 (__ARM_NR_BASE + 3)
18#define __ARM_NR_usr32 (__ARM_NR_BASE + 4)
Tao Baod7db5942015-01-28 10:07:51 -080019#define __ARM_NR_set_tls (__ARM_NR_BASE + 5)
Christopher Ferris934ec942018-01-31 15:29:16 -080020#define __ARM_NR_get_tls (__ARM_NR_BASE + 6)
Ben Chenga6b53f02013-11-06 15:51:05 -080021#endif