From: kirjanov@gmail.com (Denis Kirjanov)
To: kernelnewbies@lists.kernelnewbies.org
Subject: fixed memory bytes
Date: Tue, 4 Jan 2011 22:17:43 +0300 [thread overview]
Message-ID: <AANLkTi=stgn0W4G_LTCBsoDAKTgozOSAhT8BYFboUPUk@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=sU53Ka560Z7OEwp7zoUY=br61FoOC1edQ46so@mail.gmail.com>
On Tue, Jan 4, 2011 at 8:40 PM, mohit verma <mohit89mlnc@gmail.com> 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 at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
--
Regards,
Denis
next prev parent reply other threads:[~2011-01-04 19:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-04 17:40 fixed memory bytes mohit verma
2011-01-04 17:58 ` Mulyadi Santosa
2011-01-04 18:07 ` Rajesh S R
2011-01-04 18:24 ` John Mahoney
[not found] ` <AANLkTi=jsycWuiG0GdnNjMDz8LJ2amaS6YJsgKPYD3cU@mail.gmail.com>
2011-01-04 21:15 ` John Mahoney
2011-01-04 18:22 ` mohit verma
2011-01-04 18:25 ` Mulyadi Santosa
2011-01-04 19:17 ` Denis Kirjanov [this message]
2011-01-04 22:20 ` sk.syed2
2011-01-04 22:59 ` julie Sullivan
2011-01-05 6:13 ` Rajat Sharma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=stgn0W4G_LTCBsoDAKTgozOSAhT8BYFboUPUk@mail.gmail.com' \
--to=kirjanov@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).