imon vfd driver complexity question
Jim Bryant
kc5vdj.freebsd at gmail.com
Fri Aug 27 08:10:46 UTC 2010
will do, thanks.
as far as alignment, i'll try to align on 64 for more efficient intel/amd.
and there shall be no holy wars, all values are broken down to bytes or
nybbles, peace shall prevail. buffer lengths are fixed at 8 bytes.
Hans Petter Selasky wrote:
> On Friday 27 August 2010 09:17:24 Jim Bryant wrote:
>
>> unsigned char
>>
>
> Try to use the:
>
> uint8_t
> uint16_t
> uint32_t
>
> int8_t
> int16_t
> int32_t
>
> types when describing data types. Also think about endianness and that 32-bit
> reads/writes must be 32-bit aligned. Else use UGETDW() and similar functions.
>
> --HPS
>
>
More information about the freebsd-usb
mailing list