forked from seL4/seL4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanual.tex
159 lines (128 loc) · 4.04 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
%
% Copyright 2014, General Dynamics C4 Systems
%
% SPDX-License-Identifier: GPL-2.0-only
%
\documentclass[a4paper,11pt,twoside]{report}
\usepackage[colour,nictaonly]{disy}
% Setting this to true turns on the `draft' watermark
\newif \ifDraft \Draftfalse
%\Drafttrue
\newif \ifxeightsix \xeightsixtrue
\usepackage[margin=33mm]{geometry}
\usepackage{graphicx}
\usepackage{cite,url,fancyhdr}
% Draft support
\ifDraft
\usepackage{draftcopy}
\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{}{\sl\thepage}]{\fancyplain{}{\sl\rightmark}}
\chead{}
\rhead[\fancyplain{}{\sl\leftmark}]{\fancyplain{}{\sl\thepage}}
\lfoot[\fancyplain{\sl\thepage}{}]{}
\cfoot{\ifDraft\textsf{Data61 Confidential}\fi}
\rfoot[]{\fancyplain{\sl\thepage}{}}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{listings}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{verbatim}
\usepackage[small,bf,up,width=0.75\textwidth]{caption}
\usepackage[htt]{hyphenat}
\renewcommand{\captionfont}{\small}
% Hyperlinks and Colors
\usepackage{color}
%\definecolor{linkcolor}{rgb}{.000,.348,.508}
\definecolor{linkcolor}{rgb}{0, 0, 0}
\usepackage[colorlinks=true,linkcolor=linkcolor,citecolor=linkcolor,
filecolor=linkcolor,pagecolor=linkcolor,urlcolor=linkcolor]{hyperref}
\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}
% If statements
\usepackage{ifthen}
% Numbered subsubsections
\setcounter{secnumdepth}{5}
% Subsubsections it 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}}
% Read information about the repository.
\input{env}
% Don't indent paragraphs; instead, just leave some vertical space.
\parindent 0pt\parskip 6pt
\begin{document}
\title{seL4 Reference Manual\\Version \version}
\author{Trustworthy~Systems~Team, Data61}
\AuthorEmail{https://sel4.systems/contact/}
\date{\commitdate}
\maketitle
\urlstyle{sf}
\thispagestyle{empty}
\vfill
\copyright~{\commityear} General Dynamics C4 Systems.\\
\textsc{All rights reserved}.
% 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, David Greenaway, Etienne
Le Sueur, Gernot Heiser, Gerwin Klein, Godfrey van der Linden, Kevin
Elphinstone, Matthew Fernandez, Matthias Daum, Michael von Tessin, Peter Chubb,
Simon Winwood, Thomas Sewell, Timothy Bourke and Toby Murray. All authors
and contributors can be contacted at [email protected].
\end{abstract}
\thispagestyle{empty}
\cleardoublepage
\setcounter{page}{1}
\tableofcontents
\listoftables
\listoffigures
\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}
% Bibliography
\cleardoublepage
\bibliographystyle{alpha}
\bibliography{references}
\end{document}