base-tukija: Properly implemented resource allocation syscall.

This commit is contained in:
Michael Mueller
2025-02-27 16:22:40 +01:00
parent 229d395b73
commit 9d0b5493f4

View File

@@ -303,9 +303,9 @@ namespace Tukija {
}
ALWAYS_INLINE
inline uint8_t alloc()
inline uint8_t alloc(Tukija::Resource_type type, Genode::size_t quantity)
{
return syscall_0(TUKIJA_ALLOCATE, 0, 0);
return syscall_0(TUKIJA_ALLOCATE, type, quantity);
}
/**