xref: /linux/drivers/gpu/drm/nouveau/include/nvrm/nvtypes.h (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVRM_NVTYPES_H__
3 #define __NVRM_NVTYPES_H__
4 
5 #define NV_ALIGN_BYTES(a) __attribute__ ((__aligned__(a)))
6 #define NV_DECLARE_ALIGNED(f,a) f __attribute__ ((__aligned__(a)))
7 
8 typedef u32 NvV32;
9 
10 typedef u8 NvU8;
11 typedef u16 NvU16;
12 typedef u32 NvU32;
13 typedef u64 NvU64;
14 
15 typedef void* NvP64;
16 
17 typedef NvU8 NvBool;
18 typedef NvU32 NvHandle;
19 typedef NvU64 NvLength;
20 
21 typedef NvU64 RmPhysAddr;
22 
23 typedef NvU32 NV_STATUS;
24 #endif
25