lkml.org 
[lkml]   [2011]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: RFD: x32 ABI system call numbers
From
On Fri, Sep 2, 2011 at 10:16 PM, H. Peter Anvin <hpa@zytor.com> wrote:
> 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...
>

LONGWORD is long and QUAD is 64bit int.


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

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