public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@sunsite.dk>
To: ecos-devel@ecos.sourceware.org
Subject: CYG_HAL_TABLE_END alignment
Date: Thu, 28 Apr 2005 17:43:00 -0000	[thread overview]
Message-ID: <87zmvig5k6.fsf@p4.48ers.dk> (raw)

Hi,

Why is CYG_HAL_TABLE_END aligned? It seems to be a conscious decission
according to hal/common/current/ChangeLog:

2000-09-04  Jonathan Larmour  <jlarmour@redhat.com>

        * include/hal_tables.h (CYG_HAL_TABLE_END): Use CYGARC_P2ALIGNMENT
        to align label

But this gives errors if the size of the table elements aren't a
multiple of the alignment (8 bytes).

I had an issue with that today using the I2C infrastructure, since the
cyg_i2c_bus structure is 44 bytes big with assertions enabled -
causing an never ending loop in cyg_i2c_init::cyg_i2c_init.

-- 
Bye, Peter Korsgaard

             reply	other threads:[~2005-04-28 17:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28 17:43 Peter Korsgaard [this message]
2005-04-28 19:28 ` Bart Veer
2005-04-29  6:31   ` Peter Korsgaard
2005-04-29  8:03     ` Bart Veer

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=87zmvig5k6.fsf@p4.48ers.dk \
    --to=jacmet@sunsite.dk \
    --cc=ecos-devel@ecos.sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).