Date: Fri, 29 Apr 2005 00:53:17 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: keramida@ceid.upatras.gr Cc: freebsd-standards@freebsd.org Subject: Re: Standard type for code pointers? Message-ID: <20050429.005317.69580336.imp@bsdimp.com> In-Reply-To: <20050420162332.GB52948@orion.daedalusnetworks.priv> References: <20050420155407.GA844@falcon.midgard.homeip.net> <84dead720504200910441b9108@mail.gmail.com> <20050420162332.GB52948@orion.daedalusnetworks.priv>
index | next in thread | previous in thread | raw e-mail
In message: <20050420162332.GB52948@orion.daedalusnetworks.priv>
Giorgos Keramidas <keramida@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 :-)
Warner
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050429.005317.69580336.imp>
