doc/memory: cleanup
v3 cover doc/memory: cleanup
see each commit message
Cao jin (2):
doc/memory: fix typo
doc/memory: remove the stray extra '-'
docs/memory.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
Signature · 1 line
2.1.0
PATCH v3 1/2 doc/memory: fix typo
Fix typo while also modify its description, make the text parallel to the existing .impl.unaligned doc.
--- docs/memory.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
docs/memory.txt +3 -2
@@ -297,8 +297,9 @@ various constraints can be supplied to control how these callbacks are called: - .valid.min_access_size, .valid.max_access_size define the access sizes (in bytes) which the device accepts; accesses outside this range will have device and bus specific behaviour (ignored, or machine check) - - .valid.aligned specifies that the device only accepts naturally aligned - accesses. Unaligned accesses invoke device and bus specific behaviour. + - .valid.unaligned specifies that the *device being modelled* supports + unaligned accesses. if false, unaligned accesses will invoke the appropriate + bus or CPU specific behaviour. - .impl.min_access_size, .impl.max_access_size define the access sizes (in bytes) supported by the *implementation*; other access sizes will be emulated using the ones available. For example a 4-byte write will be
Signature · 1 line
2.1.0
Re: [Qemu-devel] [PATCH v3 1/2] doc/memory: fix typo
Quoted 2 lines · Cao jin
Fix typo while also modify its description, make the text parallel to the existing .impl.unaligned doc.
This still isn't a typo...
Quoted 10 lines
Signed-off-by Cao jin <[email protected]>--- docs/memory.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)docs/memory.txt +0
-0
docs/memory.txt various constraints can be supplied to control how these callbacks are called: · line 302
Quoted 8 lines
docs/memory.txt +3
-2@@ -297,8 +297,9 @@ various constraints can be supplied to control how these callbacks are called: - .valid.min_access_size, .valid.max_access_size define the access sizes (in bytes) which the device accepts; accesses outside this range will have device and bus specific behaviour (ignored, or machine check) - - .valid.aligned specifies that the device only accepts naturally aligned - accesses. Unaligned accesses invoke device and bus specific behaviour. + - .valid.unaligned specifies that the *device being modelled* supports + unaligned accesses. if false, unaligned accesses will invoke the appropriate + bus or CPU specific behaviour.
Needs to be a semicolon before the "if".
Either "something something. If foo" or "something something; if foo" are correct as punctuation. Since we're aiming to follow the same construction as the existing text for .impl.unaligned, we want the semicolon and lowercase.
Quoted 5 lines
docs/memory.txt +0
-1- .impl.min_access_size, .impl.max_access_size define the access sizes (in bytes) supported by the *implementation*; other access sizes will be emulated using the ones available. For example a 4-byte write will be --2.1.0
thanks
-- PMM
Re: [Qemu-devel] [PATCH v3 1/2] doc/memory: fix typo
Quoted 10 lines · Peter Maydell
On 26 February 2016 at 11:29, Cao jin <[email protected]> wrote:
Needs to be a semicolon before the "if".
Either "something something. If foo" or "something something; if foo" are correct as punctuation. Since we're aiming to follow the same construction as the existing text for .impl.unaligned, we want the semicolon and lowercase.
interesting punctuation knowledge to me(as a non-native speaker). Thanks for the comment:)
Signature · 3 lines
Yours Sincerely, Cao jin
PATCH v3 2/2 doc/memory: remove the stray extra '-'
In reply to Cao jin--- docs/memory.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
docs/memory.txt +2 -2
@@ -185,8 +185,8 @@ an MMIO region mapped at 0x0, size 0x6000, priority 2. B currently has two of its own subregions: D of size 0x1000 at offset 0 and E of size 0x1000 at offset 0x2000. As a diagram: - 0 1000 2000 3000 4000 5000 6000 7000 8000 - |------|------|------|------|------|------|------|-------| + 0 1000 2000 3000 4000 5000 6000 7000 8000 + |------|------|------|------|------|------|------|------| A: [ ] C: [CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC] B: [ ]
Signature · 1 line
2.1.0
Re: [Qemu-devel] [PATCH v3 2/2] doc/memory: remove the stray extra '-'
Quoted 11 lines · Cao jin
Signed-off-by Cao jin <[email protected]>--- docs/memory.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)docs/memory.txt +0
-0@@ -185,8 +185,8 @@ an MMIO region mapped at 0x0, size 0x6000, priority 2. B currently has two of its own subregions: D of size 0x1000 at offset 0 and E of size 0x1000 at
docs/memory.txt an MMIO region mapped at 0x0, size 0x6000, priority 2. B currently has two
Quoted 10 lines
docs/memory.txt +2
-3offset 0x2000. As a diagram: - 0 1000 2000 3000 4000 5000 6000 7000 8000 - |------|------|------|------|------|------|------|-------| + 0 1000 2000 3000 4000 5000 6000 7000 8000 + |------|------|------|------|------|------|------|------| A: [ ] C: [CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC] B: [ ] --
thanks
-- PMM