genode/repos/os/src/drivers
Norman Feske 4d442bca30 Streamline exception types
This patch reduces the number of exception types by facilitating
globally defined exceptions for common usage patterns shared by most
services. In particular, RPC functions that demand a session-resource
upgrade not longer reflect this condition via a session-specific
exception but via the 'Out_of_ram' or 'Out_of_caps' types.

Furthermore, the 'Parent::Service_denied', 'Parent::Unavailable',
'Root::Invalid_args', 'Root::Unavailable', 'Service::Invalid_args',
'Service::Unavailable', and 'Local_service::Factory::Denied' types have
been replaced by the single 'Service_denied' exception type defined in
'session/session.h'.

This consolidation eases the error handling (there are fewer exceptions
to handle), alleviates the need to convert exceptions along the
session-creation call chain, and avoids possible aliasing problems
(catching the wrong type with the same name but living in a different
scope).
2017-05-31 13:16:07 +02:00
..
acpi acpi: avoid warning about dangling allocations 2017-03-15 13:12:48 +01:00
ahci Streamline exception types 2017-05-31 13:16:07 +02:00
audio/spec/linux Streamline exception types 2017-05-31 13:16:07 +02:00
framebuffer/spec base: remove include/spec/* other than ISA 2017-05-31 13:16:01 +02:00
gpio/spec base: remove include/spec/* other than ISA 2017-05-31 13:16:01 +02:00
input Streamline exception types 2017-05-31 13:16:07 +02:00
nic/spec Replace Quota_exceeded by Insufficient_ram_quota 2017-05-31 13:16:05 +02:00
platform/spec Streamline exception types 2017-05-31 13:16:07 +02:00
rtc/spec/x86 Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
sd_card base: remove include/spec/* other than ISA 2017-05-31 13:16:01 +02:00
timer Replace Quota_exceeded by Insufficient_ram_quota 2017-05-31 13:16:05 +02:00
uart Streamline exception types 2017-05-31 13:16:07 +02:00
usb_block Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00