mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 07:08:18 +00:00
base: make stack area base specifiable for core
When running core as the kernel inside every component, a separate stack area for core is needed that is different from the user-land component's one. Ref #2091
This commit is contained in:
committed by
Christian Helmuth
parent
3906568908
commit
ea46c462a4
17
repos/base/src/lib/base/stack_area_addr.cc
Normal file
17
repos/base/src/lib/base/stack_area_addr.cc
Normal file
@ -0,0 +1,17 @@
|
||||
/*
|
||||
* \brief Component-local stack area base address
|
||||
* \author Stefan Kalkowski
|
||||
* \date 2017-06-02
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2017 Genode Labs GmbH
|
||||
*
|
||||
* This file is part of the Genode OS framework, which is distributed
|
||||
* under the terms of the GNU Affero General Public License version 3.
|
||||
*/
|
||||
|
||||
/* base-internal includes */
|
||||
#include <base/internal/stack_area.h>
|
||||
|
||||
Genode::addr_t Genode::stack_area_virtual_base() { return 0x40000000UL; }
|
Reference in New Issue
Block a user