diff options
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/aarch64/bits')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h | 55 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h | 31 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/aarch64/bits/mman.h | 44 |
3 files changed, 0 insertions, 130 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h b/ports/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h deleted file mode 100644 index 78e13158bb..0000000000 --- a/ports/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h +++ /dev/null @@ -1,55 +0,0 @@ -/* O_*, F_*, FD_* bit values for the AArch64 Linux ABI. - Copyright (C) 2011-2014 Free Software Foundation, Inc. - - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see - <http://www.gnu.org/licenses/>. */ - -#ifndef _FCNTL_H -# error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." -#endif - -#define __O_DIRECTORY 040000 -#define __O_NOFOLLOW 0100000 -#define __O_DIRECT 0200000 - -#define __O_LARGEFILE 0 - -# define F_GETLK64 5 -# define F_SETLK64 6 -# define F_SETLKW64 7 - -struct flock - { - short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ - short int l_whence; /* Where `l_start' is relative to (like `lseek'). */ - __off_t l_start; /* Offset where the lock begins. */ - __off_t l_len; /* Size of the locked area; zero means until EOF. */ - __pid_t l_pid; /* Process holding the lock. */ - }; - -#ifdef __USE_LARGEFILE64 -struct flock64 - { - short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */ - short int l_whence; /* Where `l_start' is relative to (like `lseek'). */ - __off64_t l_start; /* Offset where the lock begins. */ - __off64_t l_len; /* Size of the locked area; zero means until EOF. */ - __pid_t l_pid; /* Process holding the lock. */ - }; -#endif - -/* Include generic Linux declarations. */ -#include <bits/fcntl-linux.h> diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h b/ports/sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h deleted file mode 100644 index 31732d4088..0000000000 --- a/ports/sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright (C) 2009-2014 Free Software Foundation, Inc. - - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see - <http://www.gnu.org/licenses/>. */ - -#ifndef _LIBC_VDSO_H -#define _LIBC_VDSO_H - -#ifdef SHARED - -extern void (*__vdso_gettimeofday) (struct timeval *, void *) - attribute_hidden; -extern void (*__vdso_clock_gettime) (clockid_t, struct timespec *); -extern void (*__vdso_clock_getres) (clockid_t, struct timespec *); - -#endif - -#endif /* _LIBC_VDSO_H */ diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/bits/mman.h b/ports/sysdeps/unix/sysv/linux/aarch64/bits/mman.h deleted file mode 100644 index d730247108..0000000000 --- a/ports/sysdeps/unix/sysv/linux/aarch64/bits/mman.h +++ /dev/null @@ -1,44 +0,0 @@ -/* Definitions for POSIX memory map interface. Linux/AArch64 version. - - Copyright (C) 1997-2014 Free Software Foundation, Inc. - - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see - <http://www.gnu.org/licenses/>. */ - -#ifndef _SYS_MMAN_H -# error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." -#endif - -/* The following definitions basically come from the kernel headers. - But the kernel header is not namespace clean. */ - -/* These are Linux-specific. */ -#ifdef __USE_MISC -# define MAP_GROWSDOWN 0x00100 /* Stack-like segment. */ -# define MAP_DENYWRITE 0x00800 /* ETXTBSY */ -# define MAP_EXECUTABLE 0x01000 /* Mark it as an executable. */ -# define MAP_LOCKED 0x02000 /* Lock the mapping. */ -# define MAP_NORESERVE 0x04000 /* Don't check for reservations. */ -# define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */ -# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */ -# define MAP_STACK 0x20000 /* Allocation is for a stack. */ -# define MAP_HUGETLB 0x40000 /* Create huge page mapping. */ -#endif - - - -/* Include generic Linux declarations. */ -#include <bits/mman-linux.h> |