mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
hw: fix CPU-quota bug in Platform_thread
Since the HW-kern-caps commit, there was a bug in the Platform_thread constructor. When called for a user thread, the constructor stated 0 as CPU quota at the Kernel_object instead of its quota input-paramater. Fixes #1620
This commit is contained in:
parent
af5c03edaf
commit
bc8a5cbb2a
@ -78,7 +78,7 @@ Platform_thread::Platform_thread(size_t const quota,
|
||||
const char * const label,
|
||||
unsigned const virt_prio,
|
||||
addr_t const utcb)
|
||||
: Kernel_object<Kernel::Thread>(true, _priority(virt_prio), 0, _label),
|
||||
: Kernel_object<Kernel::Thread>(true, _priority(virt_prio), quota, _label),
|
||||
_pd(nullptr),
|
||||
_pager(nullptr),
|
||||
_utcb_pd_addr((Native_utcb *)utcb),
|
||||
|
Loading…
Reference in New Issue
Block a user