Subversion Repositories HelenOS-historic

Rev

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

Rev 569 Rev 613
Line 129... Line 129...
129
 * @param va Virtual address within the ASI.
129
 * @param va Virtual address within the ASI.
130
 * @param v Value to be written.
130
 * @param v Value to be written.
131
 */
131
 */
132
static inline void asi_u64_write(asi_t asi, __address va, __u64 v)
132
static inline void asi_u64_write(asi_t asi, __address va, __u64 v)
133
{
133
{
134
    __asm__ volatile ("stxa %0, [%1] %2\n" : :  "r" (v), "r" (va), "i" (asi));
134
    __asm__ volatile ("stxa %0, [%1] %2\n" : :  "r" (v), "r" (va), "i" (asi) : "memory");
135
}
135
}
136
 
136
 
137
 
-
 
138
void cpu_halt(void);
137
void cpu_halt(void);
139
void cpu_sleep(void);
138
void cpu_sleep(void);
140
void asm_delay_loop(__u32 t);
139
void asm_delay_loop(__u32 t);
141
 
140
 
142
#endif
141
#endif