mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
base-tukija: Properly implemented resource allocation syscall.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user