Added syscall to create a new cell kernel object and a dummy syscall to test core allocation.

This commit is contained in:
Michael Mueller
2025-02-21 15:26:59 +01:00
parent 4338d503c3
commit 775f92d1a9

View File

@@ -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
*