summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcornelia.huck <cornelia.huck@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-12 10:08:57 +0000
committercornelia.huck <cornelia.huck@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2013-12-12 10:08:57 +0000
commit6d98c367d70727ab558ceaa34cc92fbbb98e9065 (patch)
treedc9d9dd3a8bf00e5c5136436e469c874aae82956
parentadc597e5068d28dfc24093c310678188d859ea5f (diff)
ccw: feature bit endianness
In contrast to the other values transmitted in ccw payload, feature bits are little endian. Fix it in the structure definition. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@173 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
-rw-r--r--content.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/content.tex b/content.tex
index b6092b6..01f87e4 100644
--- a/content.tex
+++ b/content.tex
@@ -2060,7 +2060,7 @@ communication block:
\begin{lstlisting}
struct virtio_feature_desc {
- be32 features;
+ le32 features;
u8 index;
} __attribute__ ((packed));
\end{lstlisting}