Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2081 → Rev 2082

/trunk/uspace/libc/arch/sparc64/include/thread.h
45,7 → 45,7
 
static inline void __tcb_set(tcb_t *tcb)
{
__asm__ volatile ("mov %0, %%g7\n" : : "r" (tcb) : "g7");
asm volatile ("mov %0, %%g7\n" : : "r" (tcb) : "g7");
}
 
static inline tcb_t * __tcb_get(void)
52,7 → 52,7
{
void *retval;
 
__asm__ volatile ("mov %%g7, %0\n" : "=r" (retval));
asm volatile ("mov %%g7, %0\n" : "=r" (retval));
 
return retval;
}