lkml.org 
[lkml]   [2011]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFD: x32 ABI system call numbers
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


\
 
 \ /
  Last update: 2011-09-03 07:21    [W:0.355 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site