%
% Copyright 2014, General Dynamics C4 Systems
%
% This software may be distributed and modified according to the terms of
% the GNU General Public License version 2. Note that NO WARRANTY is provided.
% See "LICENSE_GPLv2.txt" for details.
%
% @TAG(GD_GPL)
%

\apidoc
{cnode_mint}
{CNode - Mint}
{Copy a capability, setting its access rights and badge whilst doing so}
{static inline int seL4\_CNode\_Mint}
{
\param{seL4\_CNode}{\_service}{\destcspacedesc}
\param{seL4\_Word}{dest\_index}{\destindexdesc}
\param{uint8\_t}{dest\_depth}{\destdepthdesc}
\param{seL4\_CNode}{src\_root}{\srccspacedesc}
\param{seL4\_Word}{src\_index}{\srcindexdesc}
\param{uint8\_t}{src\_depth}{\srcdepthdesc}
\param{seL4\_CapRights}{rights}{\rightsdesc}
\param{seL4\_CapData\_t}{badge}{\badgedesc}
}
{\errorenumdesc}
{See \autoref{sec:cnode-ops}.}

