Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 1998 21:35:32 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Peter Wemm <peter@FreeBSD.ORG>
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
Message-ID:  <Pine.BSF.4.01.9810142134030.389-100000@herring.nlsystems.com>
In-Reply-To: <199810140507.WAA12165@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9810142134030.389-100000>