kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: mulyadi.santosa@gmail.com (Mulyadi Santosa)
To: kernelnewbies@lists.kernelnewbies.org
Subject: fixed memory bytes
Date: Wed, 5 Jan 2011 01:25:20 +0700	[thread overview]
Message-ID: <AANLkTin_iuv-RpdxVCEQhkbQ_fK7LZms2BceJKp4KKWt@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinK7NuXe=mxGrd2gtvCB3mFFDUd+GWM_2F4C-H8@mail.gmail.com>

Hi..

On Wed, Jan 5, 2011 at 01:22, mohit verma <mohit89mlnc@gmail.com> wrote:
> that is it mulyadi. but how the compiler or kernel forces the things to get
> initialized in that fixed size only independent of the architecture??


well, AFAIK by mapping that new type into native one...for example,
let's say I have "u_int", which in turn when this code is compiled for
x86 32 bit, it is a typedef of "int".

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

  reply	other threads:[~2011-01-04 18:25 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 [this message]
2011-01-04 19:17 ` Denis Kirjanov
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=AANLkTin_iuv-RpdxVCEQhkbQ_fK7LZms2BceJKp4KKWt@mail.gmail.com \
    --to=mulyadi.santosa@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).