Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev/pci
In article <d6b24e90-7fea-6783-a733-e9d95ed44a77%gmx.co.uk@localhost>,
Nick Hudson <nick.hudson%gmx.co.uk@localhost> wrote:
>On 22/01/2021 04:48, Christos Zoulas wrote:
>> +#if _QUAD_HIGHWORD
>> + bus_space_write_4(iot, ioh, offset, (uint32_t)(value & 0xffffffff));
>> + bus_space_write_4(iot, ioh, offset + 4, (uint32_t)(value >> 32));
>> +#else
>> + bus_space_write_4(iot, ioh, offset, (uint32_t)(value >> 32));
>> + bus_space_write_4(iot, ioh, offset + 4, (uint32_t)(value & 0xffffffff));
>> +#endif
>> +}
>> +#endif /* !_LP64 */
>
>
>BUS_ADDR_{HI,LO}32 are also available for your convenience.
Will use those thanks!
christos
Home |
Main Index |
Thread Index |
Old Index