base: retire 'Native_config'

This commit moves the parameters of the stack area to the base-internal
header 'stack_area.h'.

Issue #1832
This commit is contained in:
Norman Feske
2016-03-03 17:57:29 +01:00
parent 2490e399dc
commit 76db3b9c06
48 changed files with 292 additions and 303 deletions

View File

@ -11,12 +11,15 @@
* under the terms of the GNU General Public License version 2.
*/
/* Genode includes */
#include <base/env.h>
#include <base/printf.h>
#include <os/config.h>
#include <util/list.h>
#include <util/string.h>
#include <base/thread.h>
/* local includes */
#include <dynamic.h>
#include <init.h>
@ -578,9 +581,10 @@ int main()
/* print loaded object information */
try {
if (Genode::config()->xml_node().attribute("ld_verbose").has_value("yes")) {
PINF(" %lx .. %lx: stack area", Genode::Native_config::stack_area_virtual_base(),
Genode::Native_config::stack_area_virtual_base() +
Genode::Native_config::stack_area_virtual_size() - 1);
PINF(" %lx .. %lx: stack area",
Genode::Thread_base::stack_area_virtual_base(),
Genode::Thread_base::stack_area_virtual_base() +
Genode::Thread_base::stack_area_virtual_size() - 1);
dump_loaded();
}
} catch (...) { }