cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

unistd.h (987B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * IA-64 Linux syscall numbers and inline-functions.
      4 *
      5 * Copyright (C) 1998-2005 Hewlett-Packard Co
      6 *	David Mosberger-Tang <davidm@hpl.hp.com>
      7 */
      8#ifndef _ASM_IA64_UNISTD_H
      9#define _ASM_IA64_UNISTD_H
     10
     11#include <uapi/asm/unistd.h>
     12
     13#define NR_syscalls		__NR_syscalls /* length of syscall table */
     14
     15#define __ARCH_WANT_NEW_STAT
     16#define __ARCH_WANT_SYS_UTIME
     17
     18#if !defined(__ASSEMBLY__) && !defined(ASSEMBLER)
     19
     20#include <linux/types.h>
     21#include <linux/linkage.h>
     22#include <linux/compiler.h>
     23
     24extern long __ia64_syscall (long a0, long a1, long a2, long a3, long a4, long nr);
     25
     26asmlinkage unsigned long sys_mmap(
     27				unsigned long addr, unsigned long len,
     28				int prot, int flags,
     29				int fd, long off);
     30asmlinkage unsigned long sys_mmap2(
     31				unsigned long addr, unsigned long len,
     32				int prot, int flags,
     33				int fd, long pgoff);
     34struct pt_regs;
     35asmlinkage long sys_ia64_pipe(void);
     36
     37#endif /* !__ASSEMBLY__ */
     38#endif /* _ASM_IA64_UNISTD_H */