From owner-freebsd-standards@FreeBSD.ORG Fri Apr 29 06:54:55 2005 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECE3016A4CE for ; Fri, 29 Apr 2005 06:54:55 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F66843D2D for ; Fri, 29 Apr 2005 06:54:55 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j3T6qdd4016698; Fri, 29 Apr 2005 00:52:43 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 29 Apr 2005 00:53:17 -0600 (MDT) Message-Id: <20050429.005317.69580336.imp@bsdimp.com> To: keramida@ceid.upatras.gr From: "M. Warner Losh" In-Reply-To: <20050420162332.GB52948@orion.daedalusnetworks.priv> References: <20050420155407.GA844@falcon.midgard.homeip.net> <84dead720504200910441b9108@mail.gmail.com> <20050420162332.GB52948@orion.daedalusnetworks.priv> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-standards@freebsd.org Subject: Re: Standard type for code pointers? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 06:54:56 -0000 In message: <20050420162332.GB52948@orion.daedalusnetworks.priv> Giorgos Keramidas 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