Subject: Re: PPS diffs, round #4
To: Jonathan Stone <jonathan@dsg.stanford.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 04/22/1998 15:05:26
On Wed, 22 Apr 1998 15:10:34 -0700 (PDT)
Jonathan Stone <jonathan@DSG.Stanford.EDU> wrote:
> I fixed this in the diff on ftp.netbsd.org. Chris Torek asked about
> using ints rather than u_chars for the msr masks; i used ints because
> the timestamp needs to be aligned regardless, and the ints might be
> easier for some CPUs (alphas). Jason? Any comments on this?
Well, the compiler is going to pad it out regardless, and just treat it
as an int...
I would say - "Use whatever type the COM registers are"... that would
mean u_int8_t, not u_char :-)
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939