Permalink
Browse files

OIL QRDC

  • Loading branch information...
jlbirccyn committed Oct 1, 2018
1 parent f20f3ec commit d1c70c8ca536c68ed344c2aafe269750a5c45891
View
BIN +587 Bytes (100%) documentation/qrdc/oil_qrdc.pdf
Binary file not shown.
@@ -10,7 +10,7 @@
\usepackage{underscore}
\usepackage{longtable}
\title{\sc{Basic Oil} QRDC\vspace{-.5em}}
\title{\vspace{-2em}\sc{Basic Oil} QRDC\vspace{-.5em}}
\author{\scriptsize Jean-Luc B\'echennec -- LS2N\\\scriptsize v1.0 -- September 2018}
\date{} % Activate to display a given date or no date
@@ -22,12 +22,13 @@
\newcommand\ext[1]{\footnotesize #1$\dagger$}
\newcommand\attrval[1]{\footnotesize #1}
\newcommand\defattrval[1]{\footnotesize \hspace{-.3em}\fbox{#1}}
\newcommand\sect[1]{\vspace{-1em}\section{\hrulefill\\#1}\vspace{-1.5em}\hrulefill}
\newcommand\sect[1]{\vspace{-1.5em}\section{\hrulefill\\#1}\vspace{-1.5em}\hrulefill}
\newcommand\code[1]{\texttt{\small #1}}
\newcommand\attr[1]{\vspace{-.8em}\subsection{#1}}
\newcommand\attr[1]{\vspace{-.8em}\subsection{#1}\vspace{-.3em}}
\newcommand\subattr[2]{\vspace{-.3em}\subsection{{\footnotesize #1} $\triangleright$ #2}}
\newcommand\optattr[1]{\vspace{-.8em}\subsection{#1\,$\dagger$}}
\newcommand\schedservice[1]{\vspace{-.8em}\subsection{#1 $\Join$}}
\newcommand\many{\raisebox{.075em}{$\otimes$}}
%\lipsum[2-56]
\thispagestyle{empty}
@@ -41,8 +42,6 @@
The OIL standard defines standard attributes but allows implementation-specific attributes. The latter are suffixed by a $\dagger$. Attribute values in a \fbox{\footnotesize box} are the default values. If none of the attribute values are boxed no default value exists.
Attributes suffixed by a $\otimes$ may appear 0, 1 or many times.
\vspace{-1em}
\sect{OS object attributes}
\attr{STATUS}
@@ -135,11 +134,11 @@
\attrval{TRUE} & a build script is generated\\
\end{longtable}
\subattr{TRUE}{APP_SRC $\otimes$}
\subattr{TRUE}{APP_SRC \many}
Gives as a string a C source file name where the application code is located.
\subattr{TRUE}{APP_CPPSRC $\otimes$}
\subattr{TRUE}{APP_CPPSRC \many}
Gives as a string a C++ source file name where the application code is located.
@@ -151,6 +150,26 @@
The path to the trampoline directory.
\subattr{TRUE}{CFLAGS \many}
Gives as a string the flags passed to the C compiler
\subattr{TRUE}{CPPFLAGS \many}
Gives as a string the flags passed to the C++ compiler
\subattr{TRUE}{COMMONFLAGS \many}
Gives as a string the flags passed to both the C and the C++ compiler
\subattr{TRUE}{ASFLAGS \many}
Gives as a string the flags passed to the assembler.
\subattr{TRUE}{LDFLAGS \many}
Gives as a string the flags passed to the linker.
\sect{APPMODE objects attribute}
\attr{DEFAULT}
@@ -162,6 +181,34 @@
\attrval{TRUE} & the APPMODE is the default one\\
\end{longtable}
\sect{ISR objects attributes}
\attr{CATEGORY}
Set the category of the ISR.
\begin{longtable}{lp{5.8cm}}
\attrval{1} & the ISR is an ISR 1\\
\attrval{2} & the ISR is an ISR 2\\
\end{longtable}
\attr{PRIORITY}
Specifies the priority of the ISR. PRIORITY range from 0 (the lowest) to $2^{32}-1$ (the highest). Even a priority lower than the highest priority task is given, the OIL compiler compute an actual priority greater than the highest priority task.
\attr{SOURCE}
Specifies the hardware interrupt source. Possible values depend on the hardware platform.
\attr{RESOURCE \many}
Gives the resources used by the ISR, usable only for ISR 2.
\attr{MESSAGE \many}
Gives the messages used by the ISR, usable only for ISR 2.
\sect{TASK objects attributes}
\attr{AUTOSTART}
@@ -173,7 +220,7 @@
\attrval{TRUE} & the task is in the \code{READY} state\\
\end{longtable}
\subattr{TRUE}{APPMODE $\otimes$}
\subattr{TRUE}{APPMODE \many}
$\geq 1$ APPMODE sub-attribute shall be set. The task is AUTOSTART if the OS is started in one of these APPMODE.
@@ -195,46 +242,18 @@
\attrval{NONE} & the task is not preemptable\\
\end{longtable}
\attr{EVENT $\otimes$}
\attr{EVENT \many}
Gives the events used by the task. A task having no EVENT attribute is a basic task. A task having $\geq 1$ EVENT attribut is an extended task.
\attr{RESOURCE $\otimes$}
\attr{RESOURCE \many}
Gives the resources used by the task.
\attr{MESSAGE $\otimes$}
\attr{MESSAGE \many}
Gives the messages used by the task.
\sect{ISR objects attributes}
\attr{CATEGORY}
Set the category of the ISR.
\begin{longtable}{lp{5.8cm}}
\attrval{1} & the ISR is an ISR 1\\
\attrval{2} & the ISR is an ISR 2\\
\end{longtable}
\attr{PRIORITY}
Specifies the priority of the ISR. PRIORITY range from 0 (the lowest) to $2^{32}-1$ (the highest). Even a priority lower than the highest priority task is given, the OIL compiler compute an actual priority greater than the highest priority task.
\attr{SOURCE}
Specifies the hardware interrupt source. Possible values depend on the hardware platform.
\attr{RESOURCE $\otimes$}
Gives the resources used by the ISR, usable only for ISR 2.
\attr{MESSAGE $\otimes$}
Gives the messages used by the ISR, usable only for ISR 2.
\sect{COUNTER objects attributes}
\attr{MINCYCLE}
@@ -264,7 +283,7 @@
\attrval{TRUE} & the alarm is started\\
\end{longtable}
\subattr{TRUE}{APPMODE $\otimes$}
\subattr{TRUE}{APPMODE \many}
$\geq 1$ APPMODE sub-attribute shall be set. The alarm is AUTOSTART if the OS is started in one of these APPMODE.
View
BIN -209 Bytes (100%) documentation/qrdc/osek_qrdc.pdf
Binary file not shown.
Oops, something went wrong.

0 comments on commit d1c70c8

Please sign in to comment.