Logo Search packages:      
Sourcecode: fio version File versions

arch-arm.h

#ifndef ARCH_ARM_H
#define ARCH_ARM_H

#define ARCH      (arch_arm)

#ifndef __NR_ioprio_set
#define __NR_ioprio_set       314
#define __NR_ioprio_get       315
#endif

#ifndef __NR_fadvise64
#define __NR_fadvise64        270
#endif

#ifndef __NR_sys_splice
#define __NR_sys_splice       340
#define __NR_sys_tee          342
#define __NR_sys_vmsplice     343
#endif

#if defined (__ARM_ARCH_4__) || defined (__ARM_ARCH_4T__) || defined (__ARM_ARCH_5__) || defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__)
#define nop             __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t")
#define read_barrier()  __asm__ __volatile__ ("" : : : "memory")
#define write_barrier() __asm__ __volatile__ ("" : : : "memory")
#endif

#endif

Generated by  Doxygen 1.6.0   Back to index