mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Added syscall to create a new cell kernel object and a dummy syscall to test core allocation.
This commit is contained in:
@@ -296,6 +296,18 @@ namespace Tukija {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ALWAYS_INLINE
|
||||||
|
inline uint8_t create_cell(mword_t pd, uint8_t prio, mword_t &cip, mword_t &dst)
|
||||||
|
{
|
||||||
|
return syscall_5(TUKIJA_CREATE_CELL, prio, pd, dst, cip);
|
||||||
|
}
|
||||||
|
|
||||||
|
ALWAYS_INLINE
|
||||||
|
inline uint8_t alloc()
|
||||||
|
{
|
||||||
|
return syscall_0(TUKIJA_ALLOCATE, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Revoke memory, capabilities or i/o ports from a PD
|
* Revoke memory, capabilities or i/o ports from a PD
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user