mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
base-tukija: Mark CPU used for main thread in CIP's current CPUs field.
This commit is contained in:
@@ -135,6 +135,7 @@ class Ealan::Cell_component : public Genode::Rpc_object<Cell>,
|
||||
/* TODO: implement */
|
||||
Genode::log("Changing cell's affinity to ", affinity);
|
||||
_calculate_mask_for_location(&_cip->cores_reserved, affinity.location());
|
||||
_cip->cores_current.set(Core::platform_specific().kernel_cpu_id(affinity.location()));
|
||||
Tukija::cell_ctrl(_native_pd.sel(), Tukija::Cell_control::UPDATE_AFFINITY);
|
||||
_map_location_to_kernel(affinity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user