Re: RFD: x32 ABI system call numbers

From: H. Peter Anvin
Date: Sat Sep 03 2011 - 01:18:06 EST


On 09/02/2011 09:44 PM, H.J. Lu wrote:
>>
>> What is the definition of these macros?
>>
>
> I have
>
> #if defined __x86_64__ && __WORDSIZE == 32
> #define __INO_T_TYPE __UQUAD_TYPE
> #define __NLINK_T_TYPE __UQUAD_TYPE
> #define __OFF_T_TYPE __SQUAD_TYPE
> #define __RLIM_T_TYPE __UQUAD_TYPE
> #define __BLKCNT_T_TYPE __SQUAD_TYPE
> #define __FSFILCNT_T_TYPE __UQUAD_TYPE
> #define __FSBLKCNT_T_TYPE __UQUAD_TYPE
> #define __TIME_T_TYPE __SQUAD_TYPE
> #define __BLKSIZE_T_TYPE __SQUAD_TYPE
> #define __SUSECONDS_T_TYPE __SQUAD_TYPE
> #define __SNATIVE_LONG_TYPE __SQUAD_TYPE
> #define __UNATIVE_LONG_TYPE __UQUAD_TYPE
> #else
> #define __INO_T_TYPE __ULONGWORD_TYPE
> #define __NLINK_T_TYPE __UWORD_TYPE
> #define __OFF_T_TYPE __SLONGWORD_TYPE
> #define __RLIM_T_TYPE __ULONGWORD_TYPE
> #define __BLKCNT_T_TYPE __SLONGWORD_TYPE
> #define __FSFILCNT_T_TYPE __ULONGWORD_TYPE
> #define __FSBLKCNT_T_TYPE __ULONGWORD_TYPE
> #define __TIME_T_TYPE __SLONGWORD_TYPE
> #define __BLKSIZE_T_TYPE __SLONGWORD_TYPE
> #define __SUSECONDS_T_TYPE __SLONGWORD_TYPE
> #define __SNATIVE_LONG_TYPE __SLONGWORD_TYPE
> #define __UNATIVE_LONG_TYPE __ULONGWORD_TYPE
> #endif
>

I don't understand the types on the right side...

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/