RFC: Changing daddr_t to 64 bits

Joel Sherrill joel@rtems.org
Sun Oct 25 21:43:03 GMT 2020


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


More information about the Newlib mailing list