-
Notifications
You must be signed in to change notification settings - Fork 0
/
manual.tex
201 lines (164 loc) · 4.52 KB
/
manual.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
%
% Copyright 2014, General Dynamics C4 Systems
%
% SPDX-License-Identifier: GPL-2.0-only
%
\documentclass[english,a4paper,11pt,twoside]{report}
\usepackage{sel4}
\usepackage[authoryear]{natbib}
\def\cite{\citep}
\newif \ifxeightsix \xeightsixtrue
\usepackage{url}
% Glossary
\usepackage[acronym,toc]{glossaries}
\input{parts/glossary}
\makeglossaries
% Setting this to true turns on the `draft' watermark
\newif \ifDraft \Draftfalse
%\Drafttrue
\ifDraft
\usepackage{draftwatermark}
\SetWatermarkLightness{0.9}
\newcommand{\Comment}[1]{\textbf{\textsl{#1}}}
\newcommand{\FIXME}[1]{\textbf{\textsl{FIXME: #1}}}
\date{}
\else
\newcommand{\Comment}[1]{\relax}
\newcommand{\FIXME}[1]{\relax}
\date{}
\fi
\pagestyle{fancyplain}
\lhead[\fancyplain{}{\thepage}]{\fancyplain{}{\rightmark}}
\chead{}
\rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{\thepage}}
\lfoot[\fancyplain{\thepage}{}]{}
\cfoot{}
\rfoot[]{\fancyplain{\thepage}{}}
\usepackage{listings}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{verbatim}
\usepackage[small,bf,up,width=0.75\textwidth]{caption}
\usepackage[htt]{hyphenat}
\usepackage[nottoc]{tocbibind}
\renewcommand{\captionfont}{\small}
\renewcommand{\chapterautorefname}{Chapter}
\renewcommand{\sectionautorefname}{Section}
\renewcommand{\subsectionautorefname}{Section}
\renewcommand{\subsubsectionautorefname}{Section}
\renewcommand{\appendixautorefname}{Appendix}
\renewcommand{\Hfootnoteautorefname}{Footnote}
\newcommand{\Htextbf}[1]{\textbf{\hyperpage{#1}}}
\urlstyle{rm}
% fancyhdr complains about the default (12pt) being too low
\setlength{\headheight}{14pt}
% If statements
\usepackage{ifthen}
% Numbered subsubsections
\setcounter{secnumdepth}{5}
% Subsubsections in table of contents
\setcounter{tocdepth}{5}
% API functions / Kernel Objects
\newcommand{\obj}[1]{\textsf{\small #1}}
\newcommand{\apifunc}[2]{\hyperref[api:#2]{\texttt{#1()}}}
\newcommand{\enummem}[1]{\texttt{#1}}
\newcommand{\ipcbloc}[1]{\texttt{#1}}
\newcommand{\reg}[1]{\texttt{#1}}
\newcommand{\version}{\input{VERSION}}
\newcommand{\rtm}{\textsuperscript{\textregistered}}
% Read information about the repository.
\input{env}
\begin{document}
\title{seL4\\ Reference Manual}
\subtitle{Version \version}
\author{seL4 Foundation}
\email{https://sel4.systems}
\date{\commitdate}
\maketitle
\urlstyle{sf}
\thispagestyle{empty}
\vfill
% Don't indent paragraphs; instead, just leave some vertical space.
\parindent 0pt\parskip 6pt plus 2pt
\copyright\ the seL4 authors and contributors.\\
\textsc{All rights reserved}.
\vspace{2ex}
% SPDX statement on its own line silences license checker warnings
\texttt{%
SPDX-License-Identifier: GPL-2.0-only
}\\
You may use this manual and its sources under the terms of the GPL license, version 2.
\vspace{2ex}
seL4\rtm\ is a trademark of LF Projects, LLC.\\
Arm\rtm\ is a registered trademark of Arm Limited.\\
RISC-V\rtm\ is a registered trademark of RISC-V International.
% Acknowledgements
\thispagestyle{empty}
\vfill
\renewcommand{\abstractname}{Acknowledgements}
\begin{abstract}
% This list of contributors is based on the hg log. If you make commits please
% add your name in alphabetical order.
The primary authors of this document are Matthew Grosvenor and Adam Walker,
with contributions from
Adrian Danis,
Andrew Boyton,
Anna Lyons,
Axel Heider,
Branden Robinson,
David Greenaway,
Etienne Le~Sueur,
Gernot Heiser,
Gerwin Klein,
Godfrey van der Linden,
Jimmy Brush,
Kevin Elphinstone,
Matthew Fernandez,
Matthias Daum,
Michael von Tessin,
Nick Spinale,
Peter Chubb,
Simon Winwood,
Thomas Sewell,
Timothy Bourke, and
Toby Murray.
The authors and contributors can be contacted via the seL4 Developer Mailing
List or the seL4 Discourse Forums. See \url{https://sel4.systems/contact.html}
for details.
\end{abstract}
\thispagestyle{empty}
\cleardoublepage
\setcounter{page}{1}
\sloppy
\tableofcontents
\listoftables
\listoffigures
\fussy
\cleardoublepage
\setcounter{page}{1}
\pagenumbering{arabic}
% Introduction
\input{parts/intro}
% Chapters
\input{parts/objects}
\input{parts/cspace}
\input{parts/ipc}
\input{parts/notifications}
\input{parts/threads}
\input{parts/vspace}
\input{parts/io}
\input{parts/bootup}
% API Reference
\chapter{seL4 API Reference}
\label{sec:api_reference}
\input{parts/api}
% glossary
\printglossaries
\glsaddallunused
% Bibliography
\cleardoublepage
\bibliographystyle{plainnat}
\bibliography{references}
\end{document}