NOVA: delegate EC cap solely with recall right

Vancouver recalls the vCPU in the vCPU dispatcher code. Enable the right bit
in the mapped native cap so that Vancouver actually is able to perform this
operation.
This commit is contained in:
Alexander Boettcher 2012-07-30 11:00:43 +02:00 committed by Norman Feske
parent 4155585267
commit 9c57fd7229
1 changed files with 4 additions and 1 deletions

View File

@ -125,7 +125,10 @@ namespace Genode {
Native_capability native_cap()
{
return Native_capability(_sel_ec(), 0);
using namespace Nova;
return Native_capability(
_sel_ec(), Obj_crd::RIGHT_EC_RECALL);
}
};