12 #ifndef __L4UTIL__INCLUDE__ARCH_X86__STACK_IMPL_H__ 13 #define __L4UTIL__INCLUDE__ARCH_X86__STACK_IMPL_H__ 15 #ifndef _L4UTIL_STACK_H 16 #error Do not include stack_impl.h directly, use stack.h instead 25 asm(
"movl %%esp, %0\n\t" :
"=r" (esp) : );
#define EXTERN_C_END
End section with C types and functions.
l4_addr_t l4util_stack_get_sp(void)
Get current stack pointer.
#define EXTERN_C_BEGIN
Start section with C types and functions.
unsigned long l4_addr_t
Address type.