mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-15 13:48:17 +00:00
base: enforce ram_quota donations to be consistent
For several basic sessions that core provides default ram quota values exist in the form of enum values. They are used e.g. by init to deduce session costs. Unfortunately they were not used when actually establishing the session, which lead to inconsistencies. Ref #1443
This commit is contained in:
committed by
Christian Helmuth
parent
a93266548f
commit
554146d39c
@ -32,8 +32,8 @@ struct Genode::Rm_connection : Connection<Rm_session>, Rm_session_client
|
||||
*/
|
||||
Rm_connection(addr_t start = ~0UL, size_t size = 0) :
|
||||
Connection<Rm_session>(
|
||||
session("ram_quota=64K, start=0x%p, size=0x%zx",
|
||||
start, size)),
|
||||
session("ram_quota=%u, start=0x%p, size=0x%zx",
|
||||
RAM_QUOTA, start, size)),
|
||||
Rm_session_client(cap()) { }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user