mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
ca971bbfd8
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
34 lines
768 B
C++
34 lines
768 B
C++
/*
|
|
* \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 {
|
|
|
|
/**
|
|
* 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; }
|
|
|
|
/**
|
|
* Do ABI specific initialization to a freshly created stack
|
|
*/
|
|
inline void init_stack(Genode::addr_t) { }
|
|
}
|
|
|
|
#endif /* _INCLUDE__ARM__CPU__CONSTS_H_ */
|