Skip to content

Commit

Permalink
base-foc: retire Native_task type
Browse files Browse the repository at this point in the history
  • Loading branch information
nfeske committed Jan 25, 2016
1 parent 029783d commit ae0fbeb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 0 additions & 3 deletions repos/base-foc/include/base/native_types.h
Expand Up @@ -93,9 +93,6 @@ namespace Genode {
};


typedef Fiasco::l4_cap_idx_t Native_task;


struct Native_utcb
{
/*
Expand Down
7 changes: 6 additions & 1 deletion repos/base-foc/src/core/include/cap_mapping.h
Expand Up @@ -18,6 +18,11 @@
#include <cap_index.h>
#include <util/noncopyable.h>

/* Fiasco.OC includes */
namespace Fiasco {
#include <l4/sys/types.h>
}

namespace Genode {

/**
Expand Down Expand Up @@ -53,7 +58,7 @@ namespace Genode {
*
* \param task capability of task to map to
*/
void map(Native_task task);
void map(Fiasco::l4_cap_idx_t task);
};
}

Expand Down
2 changes: 1 addition & 1 deletion repos/base-foc/src/core/rpc_cap_factory.cc
Expand Up @@ -58,7 +58,7 @@ Core_cap_index* Cap_mapping::_get_cap()
}


void Cap_mapping::map(Native_thread_id task)
void Cap_mapping::map(Fiasco::l4_cap_idx_t task)
{
using namespace Fiasco;

Expand Down

0 comments on commit ae0fbeb

Please sign in to comment.