aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-11-27 16:26:12 -0500
committerMichael S. Tsirkin <mst@redhat.com>2020-01-20 11:57:25 -0500
commit50049af040d4af1eb69d6a2e6becf57ff52ebc7a (patch)
tree5fe35a342d65c562518f9aa5702eef8d463be6e7
parent356aeeb40d7aae2d534450d79bfb70b5e73f4cef (diff)
downloadvirtio-text-50049af040d4af1eb69d6a2e6becf57ff52ebc7a.tar.gz
virtio_pci_cap64: bar/BAR cleanups
When we mean PCI register we should say BAR. When we mean a virtio config register we should say \field{cap.bar}. Finally, offset_hi/length_hi are not within the cap structure. Tweak wording slightly: "A,B,C" are fields, there's no need to say that. Reported-by: Christophe de Dinechin <cdupontd@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
-rw-r--r--content.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/content.tex b/content.tex
index b2ebbe2..f2aea42 100644
--- a/content.tex
+++ b/content.tex
@@ -765,7 +765,7 @@ struct virtio_pci_cap64 {
Given that the \field{cap.length} and \field{cap.offset} fields
are only 32 bit, the additional \field{offset_hi} and \field {length_hi}
fields provide the most significant 32 bits of a total 64 bit offset and
-length within the bar specified by \field{cap.bar}.
+length within the BAR specified by \field{cap.bar}.
\drivernormative{\subsubsection}{Virtio Structure PCI Capabilities}{Virtio Transport Options / Virtio Over PCI Bus / Virtio Structure PCI Capabilities}
@@ -1095,9 +1095,9 @@ preference; it is only used to uniquely identify a region.
\devicenormative{\paragraph}{Device-specific configuration}{Virtio Transport Options / Virtio Over PCI Bus / PCI Device Layout / Shared memory capability}
-The region defined by the combination of the \field {cap.offset},
-\field {cap.offset_hi}, and \field {cap.length}, \field
-{cap.length_hi} fields MUST be contained within the declared bar.
+The region defined by the combination of \field{cap.offset},
+\field{offset_hi}, and \field {cap.length}, \field{length_hi}
+MUST be contained within the BAR specified by \field{cap.bar}.
The \field{cap.id} MUST be unique for any one device instance.