mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-20 05:56:32 +00:00
new: 增加一些编译器相关的宏
This commit is contained in:
@ -87,4 +87,11 @@ typedef struct __pthread_condattr_t
|
||||
int clockid; // clockid_t
|
||||
} pthread_condattr_t;
|
||||
|
||||
typedef uint64_t gfp_t;
|
||||
typedef uint64_t gfp_t;
|
||||
|
||||
// 定义8字节对齐变量属性
|
||||
#ifndef __aligned_u64
|
||||
#define __aligned_u64 uint64_t __attribute__((aligned(8)))
|
||||
#endif
|
||||
|
||||
#define aligned_u64 __aligned_u64
|
Reference in New Issue
Block a user