Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
seL4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Panda
seL4
Commits
affebe29
Unverified
Commit
affebe29
authored
5 years ago
by
Jimmy Brush
Browse files
Options
Downloads
Patches
Plain Diff
manual: Correct CNode slot size in bytes
It is 16 bytes on 32-bit systems and 32 bytes on 64-bit systems
parent
82f2d1fc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manual/parts/cspace.tex
+4
-3
4 additions, 3 deletions
manual/parts/cspace.tex
manual/parts/objects.tex
+4
-1
4 additions, 1 deletion
manual/parts/objects.tex
with
8 additions
and
4 deletions
manual/parts/cspace.tex
+
4
−
3
View file @
affebe29
...
...
@@ -63,9 +63,10 @@ individual capabilities within their CSpaces when invoking methods.
CSpaces are created by creating and manipulating
\obj
{
CNode
}
objects.
When creating a
\obj
{
CNode
}
the user must specify the number of slots
that it will have, and this determines the amount of memory that it
will use. Each slot requires 16 bytes of physical memory and has the
capacity to hold exactly one capability. Like any other object, a
\obj
{
CNode
}
must be created by calling
will use. Each slot requires
$
2
^
\texttt
{
seL
4
\_
SlotBits
}$
bytes of physical
memory and has the capacity to hold exactly one capability. This is 16
bytes on 32-bit architectures and 32 bytes on 64-bit architectures.
Like any other object, a
\obj
{
CNode
}
must be created by calling
\apifunc
{
seL4
\_
Untyped
\_
Retype
}{
untyped
_
retype
}
on an appropriate
amount of untyped memory (see
\autoref
{
sec:object
_
sizes
}
). The caller
must therefore have a capability to enough untyped memory as well as
...
...
This diff is collapsed.
Click to expand it.
manual/parts/objects.tex
+
4
−
1
View file @
affebe29
...
...
@@ -401,7 +401,10 @@ argument to \apifunc{seL4\_Untyped\_Retype}{untyped_retype} is ignored.
\toprule
Type
&
Meaning of
\texttt
{
size
\_
bits
}
&
Size in Bytes
\\
\midrule
\obj
{
CNode
}
&
$
\log
_
2
$
number of slots
&
$
2
^
\texttt
{
size
\_
bits
}
\cdot
16
$
\\
\obj
{
CNode
}
&
$
\log
_
2
$
number of slots
&
$
2
^
\texttt
{
size
\_
bits
}
\cdot
2
^
\texttt
{
seL
4
\_
SlotBits
}$
\texttt
{
seL4
\_
SlotBits
}
is:
\newline
\emph
{
on 32-bit architectures:
}
4
\newline
\emph
{
on 64-bit architectures:
}
5
\\
\obj
{
Untyped
}
&
$
\log
_
2
$
size in bytes
&
$
2
^
\texttt
{
size
\_
bits
}$
\\
\bottomrule
\end{tabularx}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment