Files
foc/l4/pkg/l4util/include/ARCH-sparc/stack_impl.h
2013-01-11 17:00:47 +01:00

32 lines
773 B
C

/**
* \file
* \brief Stack utilities, SPARC version
*/
/*
* (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
* economic rights: Technische Universität Dresden (Germany)
* This file is part of TUD:OS and distributed under the terms of the
* GNU Lesser General Public License 2.1.
* Please see the COPYING-LGPL-2.1 file for details.
*/
#ifndef __L4UTIL__INCLUDE__ARCH_ARM__STACK_IMPL_H__
#define __L4UTIL__INCLUDE__ARCH_ARM__STACK_IMPL_H__
#include <l4/sys/compiler.h>
EXTERN_C_BEGIN
#ifndef _L4UTIL_STACK_H
#error Do not include stack_impl.h directly, use stack.h instead
#endif
L4_INLINE l4_addr_t l4util_stack_get_sp(void)
{
register l4_addr_t sp = 0;
return sp;
}
EXTERN_C_END
#endif /* ! __L4UTIL__INCLUDE__ARCH_ARM__STACK_IMPL_H__ */