3 * \brief Stack utilities, ppc32 version
6 * (c) 2008-2009 Technische Universität Dresden
7 * This file is part of TUD:OS and distributed under the terms of the
8 * GNU Lesser General Public License 2.1.
9 * Please see the COPYING-LGPL-2.1 file for details.
11 #ifndef __L4UTIL__INCLUDE__ARCH_PPC32__STACK_IMPL_H__
12 #define __L4UTIL__INCLUDE__ARCH_PPC32__STACK_IMPL_H__
14 #include <l4/sys/compiler.h>
18 #ifndef _L4UTIL_STACK_H
19 #error Do not include stack_impl.h directly, use stack.h instead
22 L4_INLINE l4_addr_t l4util_stack_get_sp(void)
24 register l4_addr_t sp asm ("sp");
30 #endif /* ! __L4UTIL__INCLUDE__ARCH_PPC32__STACK_IMPL_H__ */