2014-02-20 10:27:26 +00:00
|
|
|
/*
|
|
|
|
* \brief Constants definitions for the ARM architecture.
|
|
|
|
* \author Sebastian Sumpf
|
|
|
|
* \date 2014-02-20
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2011-2013 Genode Labs GmbH
|
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU General Public License version 2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INCLUDE__ARM__CPU__CONSTS_H_
|
|
|
|
#define _INCLUDE__ARM__CPU__CONSTS_H_
|
|
|
|
|
|
|
|
#include <base/stdint.h>
|
|
|
|
|
|
|
|
namespace Abi {
|
2014-02-21 09:59:39 +00:00
|
|
|
|
2014-02-20 10:27:26 +00:00
|
|
|
/**
|
|
|
|
* On ARM a call (or branch) will not change the stack pointer, so we do not
|
|
|
|
* need stack adjustment
|
|
|
|
*/
|
|
|
|
static constexpr Genode::size_t stack_adjustment() { return 0; }
|
2014-02-21 09:59:39 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Do ABI specific initialization to a freshly created stack
|
|
|
|
*/
|
|
|
|
inline void init_stack(Genode::addr_t) { }
|
2014-02-20 10:27:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _INCLUDE__ARM__CPU__CONSTS_H_ */
|