diff options
author | hornet <hornet@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-02-26 16:04:48 +0000 |
---|---|---|
committer | hornet <hornet@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-02-26 16:04:48 +0000 |
commit | 3745a61c4fd3e13099d1fd0668063d347d4cc0db (patch) | |
tree | f2128070ae2483c2c54a3a64871c2497dfb91afe | |
parent | 490ccb611248ca4067a8a8b19336f05196d7a976 (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
-rw-r--r-- | content.tex | 4 |
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} |