lkml.org 
[lkml]   [2008]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: MMIO and gcc re-ordering issue
    From
    Date

    > I do -- in all the drivers for on-chip peripherals that are shared
    > between AT91 ARM (LE) and AVR32 (BE). Since everything goes on inside
    > the chip, we must use LE accesses on ARM and BE accesses on AVR32.
    >
    > Currently, this is the only interface I know that can do native-endian
    > accesses, so if you take it away, I'm gonna need an alternative
    > interface that doesn't do byteswapping.

    Are you aware that these also don't provide any ordering guarantee ?

    Ben.




    \
     
     \ /
      Last update: 2008-05-30 03:17    [W:2.750 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site