Annotate irq session interface with RAM_QUOTA

Ref #3299
This commit is contained in:
Stefan Kalkowski 2020-05-14 15:30:31 +02:00 committed by Christian Helmuth
parent 6e6b671a66
commit b915b0adc4
2 changed files with 3 additions and 2 deletions

View File

@ -35,9 +35,10 @@ struct Genode::Irq_connection : Connection<Irq_session>, Irq_session_client
Genode::addr_t device_config_phys = 0)
:
Connection<Irq_session>(env, session(env.parent(),
"ram_quota=6K, cap_quota=4, "
"ram_quota=%u, cap_quota=%u, "
"irq_number=%u, irq_trigger=%u, "
"irq_polarity=%u, device_config_phys=0x%lx",
RAM_QUOTA, CAP_QUOTA,
irq, trigger, polarity, device_config_phys)),
Irq_session_client(cap())
{ }

View File

@ -78,7 +78,7 @@ struct Genode::Irq_session : Session
*/
static const char * service_name() { return "IRQ"; }
enum { CAP_QUOTA = 3 };
enum { CAP_QUOTA = 3, RAM_QUOTA = 6 * 1024 };
/*********************