public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Joel Sherrill <joel@rtems.org>
To: Newlib <newlib@sourceware.org>
Subject: RFC: Changing daddr_t to 64 bits
Date: Sun, 25 Oct 2020 16:43:03 -0500	[thread overview]
Message-ID: <CAF9ehCWFnOuroehJcyMpA83v4+zXOZY0_ujcPpdds1MBKrVwJQ@mail.gmail.com> (raw)

Hi

The type daddr_t is defined to be long but per some IBM documentation, it
is "used for disk addresses, except in i-nodes on disk. The
*/usr/include/sys/filsys.h* file format describes the format of disk
addresses used in i-nodes."

RTEMS has this in our BSD derived code and 32-bits is too small for disk
addresses. We need it to be 64-bits at least for us.

Can I change it to be 64-bits for all targets?

Thanks.

--joel

             reply	other threads:[~2020-10-25 21:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-25 21:43 Joel Sherrill [this message]
2020-10-26  9:57 ` Corinna Vinschen
2020-10-26 10:53   ` Corinna Vinschen

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=CAF9ehCWFnOuroehJcyMpA83v4+zXOZY0_ujcPpdds1MBKrVwJQ@mail.gmail.com \
    --to=joel@rtems.org \
    --cc=newlib@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).