Standard type for code pointers?
Giorgos Keramidas
keramida at ceid.upatras.gr
Tue May 3 07:13:05 PDT 2005
On 2005-04-29 00:53, "M. Warner Losh" <imp at bsdimp.com> wrote:
> In message: <20050420162332.GB52948 at orion.daedalusnetworks.priv>
> Giorgos Keramidas <keramida at ceid.upatras.gr> writes:
> : > Is 'register_t' guaranteed to be wide enough?
> :
> : AFAIK, no. Portable C code cannot assume that a function pointer is
> : small enough to fit in a single machine register. Some obscure
> : architecture may choose to represent function entry points with as
> : many register as it needs.
>
> You mean like medium model (64k data, larger code) 8086 :-)
Bingo! Memory models was precicely the thing I had in mind :-)
More information about the freebsd-standards
mailing list