Extend RAM/CPU session for base-hw context-areas.

This commit is contained in:
Martin Stein
2012-05-28 16:57:09 +02:00
committed by Norman Feske
parent 2e918da325
commit 9369057f90
38 changed files with 311 additions and 43 deletions

View File

@ -0,0 +1,28 @@
/*
* \brief Platform-specific parts of cores CPU-service
* \author Martin Stein
* \date 2012-04-17
*/
/*
* Copyright (C) 2009-2012 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.
*/
/* Genode includes */
#include <base/printf.h>
/* Core includes */
#include <cpu_session_component.h>
using namespace Genode;
Ram_dataspace_capability Cpu_session_component::utcb(Thread_capability thread_cap)
{
PERR("%s: Not implemented", __PRETTY_FUNCTION__);
return Ram_dataspace_capability();
}

View File

@ -34,7 +34,7 @@ namespace Genode {
/**
* Constructor
*/
Platform_thread(const char *name, unsigned priority);
Platform_thread(const char *name, unsigned priority, addr_t);
/**
* Cancel currently blocking operation

View File

@ -28,7 +28,7 @@ using namespace Genode;
typedef Token<Scanner_policy_identifier_with_underline> Tid_token;
Platform_thread::Platform_thread(const char *name, unsigned)
Platform_thread::Platform_thread(const char *name, unsigned, addr_t)
{
/* search for thread-id portion of thread name */
Tid_token tok(name);

View File

@ -11,6 +11,7 @@ SRC_CC = main.cc \
ram_session_support.cc \
rom_session_component.cc \
cpu_session_component.cc \
cpu_session_support.cc \
pd_session_component.cc \
io_mem_session_component.cc \
io_port_session_component.cc \