\doxysubsection{SVM processor return stack}
\hypertarget{group__returnstackprocessors}{}\label{group__returnstackprocessors}\index{SVM processor return stack@{SVM processor return stack}}


This module contains API functions to handle SVM processor function return stack.  


\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gaab347fe7005c87722bd7d80cfe94333c}{SVM\+\_\+\+Size}} \mbox{\hyperlink{group__returnstackprocessors_ga14c51c775b99fd2c8dd5386df2c105d2}{svm\+\_\+processor\+\_\+returnstack\+\_\+get\+\_\+size}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel)
\begin{DoxyCompactList}\small\item\em This function retrieves the return stack size of a processor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__returnstackprocessors_ga4693a4fc44cae60868a7844c250bab35}{svm\+\_\+processor\+\_\+returnstack\+\_\+swap\+\_\+level}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} level)
\begin{DoxyCompactList}\small\item\em This function swaps a state in the return stack of a processor with the current state of this processor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} \mbox{\hyperlink{group__returnstackprocessors_ga2cd534fd46925dee2c69666756806433}{svm\+\_\+processor\+\_\+returnstack\+\_\+find\+\_\+flag}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} flag, const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} start)
\begin{DoxyCompactList}\small\item\em This function returns the level of the nearest frame having the flag raised within the return stack of a processor from a given level. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} \mbox{\hyperlink{group__returnstackprocessors_ga103776732eb26b4c071fe9a3d692ad24}{svm\+\_\+processor\+\_\+returnstack\+\_\+find\+\_\+flag\+\_\+\+\_\+string}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} flag, const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} start)
\begin{DoxyCompactList}\small\item\em This function returns the level of the nearest frame having the flag raised within the return stack of a processor from a given level. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} \mbox{\hyperlink{group__returnstackprocessors_ga71d5070bcf93322370b83046747f137a}{svm\+\_\+processor\+\_\+returnstack\+\_\+find\+\_\+flag\+\_\+\+\_\+raw}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const char \texorpdfstring{$\ast$}{*}flag, const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} start)
\begin{DoxyCompactList}\small\item\em This function returns the level of the nearest frame having the flag raised within the return stack of a processor from a given level. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void \mbox{\hyperlink{group__returnstackprocessors_ga005383674d7ae91d7ceca14b2ac23665}{svm\+\_\+processor\+\_\+returnstack\+\_\+move\+\_\+level}} (const void \texorpdfstring{$\ast$}{*}svm, const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}} kernel, const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} start, const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} end, const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} target)
\begin{DoxyCompactList}\small\item\em This function moves a portion of the return stack to another level. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
This module contains API functions to handle SVM processor function return stack. 



\doxysubsubsection{Function Documentation}
\Hypertarget{group__returnstackprocessors_ga2cd534fd46925dee2c69666756806433}\label{group__returnstackprocessors_ga2cd534fd46925dee2c69666756806433} 
\index{SVM processor return stack@{SVM processor return stack}!svm\_processor\_returnstack\_find\_flag@{svm\_processor\_returnstack\_find\_flag}}
\index{svm\_processor\_returnstack\_find\_flag@{svm\_processor\_returnstack\_find\_flag}!SVM processor return stack@{SVM processor return stack}}
\doxysubsubsubsection{\texorpdfstring{svm\_processor\_returnstack\_find\_flag()}{svm\_processor\_returnstack\_find\_flag()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} svm\+\_\+processor\+\_\+returnstack\+\_\+find\+\_\+flag (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}}}]{flag,  }\item[{const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}}}]{start }\end{DoxyParamCaption})}



This function returns the level of the nearest frame having the flag raised within the return stack of a processor from a given level. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel in which the targeted processor is. \\
\hline
\mbox{\texttt{ in}}  & {\em flag} & The flag name to find. \\
\hline
\mbox{\texttt{ in}}  & {\em start} & The level of the state to be swaped in the return stack.\\
\hline
\end{DoxyParams}
The start has to be set between 0 and the return stack size. When the return stack size is provided, no search is done and the return stack size is immediately returned.

\begin{DoxyReturn}{Returns}
Returns the first level when the flag is found. Returns the return stack size when not found.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours. \\
\hline
{\em PROCESSOR} & interruption when the return stack does not contain enough levels.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__returnstackprocessors_ga71d5070bcf93322370b83046747f137a}\label{group__returnstackprocessors_ga71d5070bcf93322370b83046747f137a} 
\index{SVM processor return stack@{SVM processor return stack}!svm\_processor\_returnstack\_find\_flag\_\_raw@{svm\_processor\_returnstack\_find\_flag\_\_raw}}
\index{svm\_processor\_returnstack\_find\_flag\_\_raw@{svm\_processor\_returnstack\_find\_flag\_\_raw}!SVM processor return stack@{SVM processor return stack}}
\doxysubsubsubsection{\texorpdfstring{svm\_processor\_returnstack\_find\_flag\_\_raw()}{svm\_processor\_returnstack\_find\_flag\_\_raw()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} svm\+\_\+processor\+\_\+returnstack\+\_\+find\+\_\+flag\+\_\+\+\_\+raw (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{flag,  }\item[{const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}}}]{start }\end{DoxyParamCaption})}



This function returns the level of the nearest frame having the flag raised within the return stack of a processor from a given level. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel in which the targeted processor is. \\
\hline
\mbox{\texttt{ in}}  & {\em flag} & The flag name to find. \\
\hline
\mbox{\texttt{ in}}  & {\em start} & The level of the state to be swaped in the return stack.\\
\hline
\end{DoxyParams}
The start has to be set between 0 and the return stack size. When the return stack size is provided, no search is done and the return stack size is immediately returned.

\begin{DoxyReturn}{Returns}
Returns the first level when the flag is found. Returns the return stack size when not found.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours. \\
\hline
{\em PROCESSOR} & interruption when the return stack does not contain enough levels.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__returnstackprocessors_ga103776732eb26b4c071fe9a3d692ad24}\label{group__returnstackprocessors_ga103776732eb26b4c071fe9a3d692ad24} 
\index{SVM processor return stack@{SVM processor return stack}!svm\_processor\_returnstack\_find\_flag\_\_string@{svm\_processor\_returnstack\_find\_flag\_\_string}}
\index{svm\_processor\_returnstack\_find\_flag\_\_string@{svm\_processor\_returnstack\_find\_flag\_\_string}!SVM processor return stack@{SVM processor return stack}}
\doxysubsubsubsection{\texorpdfstring{svm\_processor\_returnstack\_find\_flag\_\_string()}{svm\_processor\_returnstack\_find\_flag\_\_string()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}} svm\+\_\+processor\+\_\+returnstack\+\_\+find\+\_\+flag\+\_\+\+\_\+string (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}}]{flag,  }\item[{const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}}}]{start }\end{DoxyParamCaption})}



This function returns the level of the nearest frame having the flag raised within the return stack of a processor from a given level. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel in which the targeted processor is. \\
\hline
\mbox{\texttt{ in}}  & {\em flag} & The flag name to find. \\
\hline
\mbox{\texttt{ in}}  & {\em start} & The level of the state to be swaped in the return stack.\\
\hline
\end{DoxyParams}
The start has to be set between 0 and the return stack size. When the return stack size is provided, no search is done and the return stack size is immediately returned.

\begin{DoxyReturn}{Returns}
Returns the first level when the flag is found. Returns the return stack size when not found.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours. \\
\hline
{\em PROCESSOR} & interruption when the return stack does not contain enough levels.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__returnstackprocessors_ga14c51c775b99fd2c8dd5386df2c105d2}\label{group__returnstackprocessors_ga14c51c775b99fd2c8dd5386df2c105d2} 
\index{SVM processor return stack@{SVM processor return stack}!svm\_processor\_returnstack\_get\_size@{svm\_processor\_returnstack\_get\_size}}
\index{svm\_processor\_returnstack\_get\_size@{svm\_processor\_returnstack\_get\_size}!SVM processor return stack@{SVM processor return stack}}
\doxysubsubsubsection{\texorpdfstring{svm\_processor\_returnstack\_get\_size()}{svm\_processor\_returnstack\_get\_size()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gaab347fe7005c87722bd7d80cfe94333c}{SVM\+\_\+\+Size}} svm\+\_\+processor\+\_\+returnstack\+\_\+get\+\_\+size (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel }\end{DoxyParamCaption})}



This function retrieves the return stack size of a processor. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel in which the targeted processor is.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of function returns the processor can do.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__returnstackprocessors_ga005383674d7ae91d7ceca14b2ac23665}\label{group__returnstackprocessors_ga005383674d7ae91d7ceca14b2ac23665} 
\index{SVM processor return stack@{SVM processor return stack}!svm\_processor\_returnstack\_move\_level@{svm\_processor\_returnstack\_move\_level}}
\index{svm\_processor\_returnstack\_move\_level@{svm\_processor\_returnstack\_move\_level}!SVM processor return stack@{SVM processor return stack}}
\doxysubsubsubsection{\texorpdfstring{svm\_processor\_returnstack\_move\_level()}{svm\_processor\_returnstack\_move\_level()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+processor\+\_\+returnstack\+\_\+move\+\_\+level (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}}}]{start,  }\item[{const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}}}]{end,  }\item[{const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}}}]{target }\end{DoxyParamCaption})}



This function moves a portion of the return stack to another level. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel in which the targeted processor is. \\
\hline
\mbox{\texttt{ in}}  & {\em start} & The first return stack level to move. \\
\hline
\mbox{\texttt{ in}}  & {\em end} & The first return stack level after the portion to move. \\
\hline
\mbox{\texttt{ in}}  & {\em target} & The level where to move the portion of the return stack.\\
\hline
\end{DoxyParams}
After the move, the first level of the moved is placed at the target.

\begin{DoxyNote}{Note}
The start and end levels can be between 0 and the return stack size included, and the start shall be inferior to the end. 

The target can be between 0 and the size of the stack minus the portion size, included.
\end{DoxyNote}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours. \\
\hline
{\em FAILURE} & interruption when the start and end levels are inconsistent. \\
\hline
{\em PROCESSOR} & interruption when the return stack does not contain enough levels. \\
\hline
{\em PROCESSOR} & interruption when the move targets a level outside the return stack.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
\Hypertarget{group__returnstackprocessors_ga4693a4fc44cae60868a7844c250bab35}\label{group__returnstackprocessors_ga4693a4fc44cae60868a7844c250bab35} 
\index{SVM processor return stack@{SVM processor return stack}!svm\_processor\_returnstack\_swap\_level@{svm\_processor\_returnstack\_swap\_level}}
\index{svm\_processor\_returnstack\_swap\_level@{svm\_processor\_returnstack\_swap\_level}!SVM processor return stack@{SVM processor return stack}}
\doxysubsubsubsection{\texorpdfstring{svm\_processor\_returnstack\_swap\_level()}{svm\_processor\_returnstack\_swap\_level()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} void svm\+\_\+processor\+\_\+returnstack\+\_\+swap\+\_\+level (\begin{DoxyParamCaption}\item[{const void \texorpdfstring{$\ast$}{*}}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga19af2c6060f3ae282ea4e73121fac69c}{SVM\+\_\+\+Kernel}}}]{kernel,  }\item[{const \mbox{\hyperlink{group__api__types_gac43cfaba700ac777f51008bdd29970a0}{SVM\+\_\+\+Index}}}]{level }\end{DoxyParamCaption})}



This function swaps a state in the return stack of a processor with the current state of this processor. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em kernel} & The kernel in which the targeted processor is. \\
\hline
\mbox{\texttt{ in}}  & {\em level} & The level of the state to be swaped in the return stack.\\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the kernel is not owned by our process or is not in a process locked by ours. \\
\hline
{\em PROCESSOR} & interruption when the return stack does not contain enough levels.\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\doxylink{group__ownershipprocesses_ga535796c3203a2baa8095c951b9b2c205}{svm\+\_\+process\+\_\+ownership\+\_\+lock} 

\doxylink{group__getkernels_gad6a03dbf0dd283278cdc4bbc2266efa5}{svm\+\_\+kernel\+\_\+get\+\_\+current} 
\end{DoxySeeAlso}
