Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: native_client_sdk/src/doc/reference/sandbox_internals/arm-32-bit-sandbox.rst

Issue 173343004: NaCl documentation: nits on ARM sandbox documentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « native_client_sdk/doc_generated/reference/sandbox_internals/arm-32-bit-sandbox.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/doc/reference/sandbox_internals/arm-32-bit-sandbox.rst
diff --git a/native_client_sdk/src/doc/reference/sandbox_internals/arm-32-bit-sandbox.rst b/native_client_sdk/src/doc/reference/sandbox_internals/arm-32-bit-sandbox.rst
index 77ff417ff8e08432538057ff31219b328252cd6e..7ccf4bb9796a7a27e606e55c3d912793bb0bc988 100644
--- a/native_client_sdk/src/doc/reference/sandbox_internals/arm-32-bit-sandbox.rst
+++ b/native_client_sdk/src/doc/reference/sandbox_internals/arm-32-bit-sandbox.rst
@@ -462,9 +462,9 @@ the possible places that any *indirect branch* can land. On Native
Client for ARM, *indirect branch* can target any address that has its
bottom four bits clear---any address that's ``0 mod 16``. We call these
16-byte chunks of code "bundles". The validator makes sure that no
-pseudo-instruction straddles a bundle boundary. Compilers must pad with`
-`nop``\ s to ensure that every pseudo-instruction fits entirely inside
-one bundle.
+pseudo-instruction straddles a bundle boundary. Compilers must pad with
+``nop`` to ensure that every pseudo-instruction fits entirely inside one
+bundle.
Here is the *indirect branch* pseudo-instruction. As you can see, it
clears the top two and bottom four bits of the address:
@@ -667,6 +667,7 @@ the program). For example:
.. naclcode::
:prettyprint: 0
+ .p2align 4
bkpt #0x5BE0 ; Must be aligned 0 mod 16!
.word 0xDEADBEEF ; Arbitrary constants are A-OK.
svc #30 ; Trying to make a syscall? OK!
« no previous file with comments | « native_client_sdk/doc_generated/reference/sandbox_internals/arm-32-bit-sandbox.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698