From: Keir Fraser Subject: Re: RFC: 32 bits as smallest atomic size. Date: Sun, 27 Mar 2005 11:56:07 +0100 Message-ID: References: <16964.33214.921809.324278@kitch0.watson.ibm.com> <74f362598b4e1a0d46aacb1a514706ac@cl.cam.ac.uk> <16964.41853.43756.836319@kitch0.watson.ibm.com> <16965.40068.388024.929154@kitch0.watson.ibm.com> <21eeeb49a66395420f0c47c7d5327630@cl.cam.ac.uk> <2330d67d198017769ff97ec4a548dcf2@cl.cam.ac.uk> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Ronald G. Minnich" Cc: xen-devel@lists.sourceforge.net, Jimi Xenidis List-Id: xen-devel@lists.xenproject.org On 27 Mar 2005, at 04:34, Ronald G. Minnich wrote: > My issues with the Plan 9 port have all revolved around portability > from > x86 to x86, due to the gcc-isms in the headers. I don't think there are that many gcc-isms, apart from use of PACKED (please correct me if I'm wrong). You can always define that to nothing if you need to - I'd hope that no compiler adds padding since all fields should be naturally aligned. I don't see us moving to a model where we define macros on char arrays anytime soon. :-) But perhaps we could include a script to generate such macros from our structure definitions.... I know Kip Macy iss including our public headers into FreeBSD with -ansi, so we can't be that far from ISO code. -- Keir ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click