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

types.h (665B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _UAPI_LINUX_TYPES_H
      3#define _UAPI_LINUX_TYPES_H
      4
      5#include <asm-generic/int-ll64.h>
      6
      7/* copied from linux:include/uapi/linux/types.h */
      8#define __bitwise
      9typedef __u16 __bitwise __le16;
     10typedef __u16 __bitwise __be16;
     11typedef __u32 __bitwise __le32;
     12typedef __u32 __bitwise __be32;
     13typedef __u64 __bitwise __le64;
     14typedef __u64 __bitwise __be64;
     15
     16typedef __u16 __bitwise __sum16;
     17typedef __u32 __bitwise __wsum;
     18
     19#define __aligned_u64 __u64 __attribute__((aligned(8)))
     20#define __aligned_be64 __be64 __attribute__((aligned(8)))
     21#define __aligned_le64 __le64 __attribute__((aligned(8)))
     22
     23#endif /* _UAPI_LINUX_TYPES_H */