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

@ -52,7 +52,7 @@ namespace Genode {
* Constructor
*/
Platform_thread(const char *name = 0, unsigned priority = 0,
int thread_id = THREAD_INVALID);
addr_t utcb = 0, int thread_id = THREAD_INVALID);
/**
* Destructor

View File

@ -91,7 +91,8 @@ void Platform_thread::cancel_blocking()
}
Platform_thread::Platform_thread(const char *name, unsigned, int thread_id)
Platform_thread::Platform_thread(const char *name, unsigned, addr_t,
int thread_id)
: _tid(-1)
{
strncpy(_name, name, sizeof(_name));

View File

@ -10,6 +10,7 @@ SRC_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_mem_session_support.cc \