genode/repos/base-hw
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
..
doc hw/doc: Update Muen tutorial 2017-05-02 15:28:53 +02:00
etc base: remove include/spec/* other than ISA 2017-05-31 13:16:01 +02:00
include Annotate session interfaces with CAP_QUOTA 2017-05-31 13:16:04 +02:00
lib/mk base: remove include/spec/* other than ISA 2017-05-31 13:16:01 +02:00
ports Update Muen port 2017-05-02 15:28:53 +02:00
recipes Depot-archive recipes 2017-05-31 13:15:56 +02:00
run hw: destroy active scheduling context (fix #1537) 2017-03-15 12:32:25 +01:00
src Streamline exception types 2017-05-31 13:16:07 +02:00