From 6d98c367d70727ab558ceaa34cc92fbbb98e9065 Mon Sep 17 00:00:00 2001 From: "cornelia.huck" Date: Thu, 12 Dec 2013 10:08:57 +0000 Subject: 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 git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@173 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- content.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content.tex') 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} -- cgit v1.2.3