GCC의 __attribute__(bitwise)
은 무엇을 의미합니까? 이 속성은 GCC-4.6의 정보 페이지에 언급되어 있지 않습니다. 나는 소스 파일 open-iscsi-2.0.871/include/iscsi_proto.h
에 따라 stubled 내가 바이트 순서 관련된 무언가를 의심하고있어하지만 난 어떤 의미가 없습니다 GCC 비트 단위 속성
...
/*
* If running svn modules we may need to define these.
* This should not go upstream since this is already properly defined there
*/
#ifdef __CHECKER__
#define __bitwise__ __attribute__((bitwise))
#else
#define __bitwise__
#endif
#ifdef __CHECK_ENDIAN__
#define __bitwise __bitwise__
#else
#define __bitwise
#endif
/*! initiator tags; opaque for target */
typedef uint32_t __bitwise__ itt_t;
/*! below makes sense only for initiator that created this tag */
#define build_itt(itt, age) ((__force itt_t)\
((itt) | ((age) << ISCSI_AGE_SHIFT)))
#define get_itt(itt) ((__force uint32_t)(itt_t)(itt) & ISCSI_ITT_MASK)
#define RESERVED_ITT ((__force itt_t)0xffffffff)
...
로 사용하는 프로젝트
오픈 ISCSI 위의 스 니펫.