summaryrefslogtreecommitdiff
path: root/content.tex
diff options
context:
space:
mode:
authorhornet <hornet@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-02-26 16:04:48 +0000
committerhornet <hornet@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-02-26 16:04:48 +0000
commit3745a61c4fd3e13099d1fd0668063d347d4cc0db (patch)
treef2128070ae2483c2c54a3a64871c2497dfb91afe /content.tex
parent490ccb611248ca4067a8a8b19336f05196d7a976 (diff)
mmio: Fix Device Tree example
Minor fix: the size of 0x100 was obviously wrong, as it didn't allow for configuration space. Signed-off-by: Pawel Moll <pawel.moll@arm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@283 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'content.tex')
-rw-r--r--content.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/content.tex b/content.tex
index c4cbe81..240bafa 100644
--- a/content.tex
+++ b/content.tex
@@ -1681,10 +1681,10 @@ and interrupt(s) used. The suggested binding for systems using
flattened device trees is shown in this example:
\begin{lstlisting}
-// EXAMPLE: virtio_block device taking 256 bytes at 0x1e000, interrupt 42.
+// EXAMPLE: virtio_block device taking 512 bytes at 0x1e000, interrupt 42.
virtio_block@1e000 {
compatible = "virtio,mmio";
- reg = <0x1e000 0x100>;
+ reg = <0x1e000 0x200>;
interrupts = <42>;
}
\end{lstlisting}