Question regarding L4_err class usage in method commit_result.

Adam Lackorzynski adam at
Fri Mar 22 23:55:23 CET 2013


On Fri Mar 22, 2013 at 09:05:45 +0400, Sergey Grekhov wrote:
> Thanks for your reply! One thing I still can not understand is
> following. In the source code
> (contrib/kernel/fiasco.oc/src/abi/l4_types.cpp) there is a following
> comment:
> /**
>  * Constants for error codes returned by kernel objects.
>  */
> class L4_err
> {
> // definition follows
> }
> The comment says that L4_err defines error codes and this codes are
> returned by kernel objects. So, does it mean that these constants are
> used internally in F.OC? If not (if yes, as well) then where are they
> used?

They are used as return codes for calls of (kernel) objects. The
equivalent in user-land is l4/sys/err.h. Generally they do not have a
meaning in the kernel itself.

Adam                 adam at

More information about the l4-hackers mailing list