Subversion Repositories HelenOS-historic

Rev

Rev 534 | Rev 1298 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 534 Rev 1267
Line 49... Line 49...
49
 */
49
 */
50
static inline __native __native_le2host(__native n)
50
static inline __native __native_le2host(__native n)
51
{
51
{
52
    __address v;
52
    __address v;
53
   
53
   
-
 
54
    asm volatile (
54
    __asm__ volatile ("lwbrx %0, %1, %2\n" : "=r" (v) : "i" (0) , "r" (&n));
55
        "lwbrx %0, %1, %2\n"
-
 
56
        : "=r" (v)
-
 
57
        : "i" (0), "r" (&n)
55
   
58
    );
56
    return v;
59
    return v;
57
}
60
}
-
 
61
 
58
#endif
62
#endif