Re: fixed memory bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 4, 2011 at 8:40 PM, mohit verma <mohit89mlnc@xxxxxxxxx> wrote:
>
> hi all,
> i have seen many places in  kernel where the variables specially the
> structures should be of  fixed size independent of the architecture. i went
> through the  definitions of them  but dint  get  clearly (or frankly  say
> ...dint get them even a bit) .

Linux (compiler actually) supports C99 fixed-width types such as 8,
16, 32, 64 bits.
Just look through the include/linux/types.h
and small example here:
http://lxr.linux.no/#linux+v2.6.36/arch/powerpc/boot/types.h#L8
>
> so ,can please someone  help me to understand this??
>
>
> thanks in advance for help........
> --
> ........................
> MOHIT VERMA
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



-- 
Regards,
Denis

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux