From owner-cvs-all Wed Oct 14 13:37:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21361 for cvs-all-outgoing; Wed, 14 Oct 1998 13:37:33 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21349; Wed, 14 Oct 1998 13:37:22 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id VAA03538; Wed, 14 Oct 1998 21:35:32 +0100 (BST) Date: Wed, 14 Oct 1998 21:35:32 +0100 (BST) From: Doug Rabson To: Peter Wemm cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/boot/i386/libi386 bootinfo.c src/sys/kern subr_module.c In-Reply-To: <199810140507.WAA12165@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Tue, 13 Oct 1998, Peter Wemm wrote: > peter 1998/10/13 22:07:23 PDT > > Modified files: > sys/boot/i386/libi386 bootinfo.c > sys/kern subr_module.c > Log: > Align to sizeof(long) rather than sizeof(int32_t). It needs to be > long because this code is shared with the alpha. I hope the alpha can > read 32 bit ints at 32 bit alignment (vs. 64 bit alignment). Yes it can. It can read all the data types at their natural alignments. The only problem (for device drivers) is that for sizes smaller than 32bits, it tends to read the 64bit word containing the data and extract the bits it needs. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message