Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2463 → Rev 2464

/branches/arm/kernel/arch/arm32/include/asm.h
46,7 → 46,6
{
}
 
 
/** Return base address of current stack.
*
* Return the base address of the current stack.
59,17 → 58,16
asm volatile (
"and %0, sp, %1\n"
: "=r" (v)
: "r" (~(STACK_SIZE-1))
: "r" (~(STACK_SIZE - 1))
);
return v;
}
 
 
extern void cpu_halt(void);
extern void asm_delay_loop(uint32_t t);
extern void userspace_asm(uintptr_t ustack, uintptr_t uspace_uarg, uintptr_t entry);
extern void userspace_asm(uintptr_t ustack, uintptr_t uspace_uarg,
uintptr_t entry);
 
 
#endif
 
/** @}