diff options
-rw-r--r-- | content.tex | 22 | ||||
-rw-r--r-- | virtio-v1.0-csd01.tex | 1 |
2 files changed, 12 insertions, 11 deletions
diff --git a/content.tex b/content.tex index 39ef074..b371651 100644 --- a/content.tex +++ b/content.tex @@ -912,17 +912,17 @@ applicable). When used through the legacy interface, the virtio header looks as follows: -\begin{verbatim} -+------------++---------------------+---------------------+----------+--------+---------+---------+---------+--------+ -| Bits || 32 | 32 | 32 | 16 | 16 | 16 | 8 | 8 | -+------------++---------------------+---------------------+----------+--------+---------+---------+---------+--------+ -| Read/Write || R | R+W | R+W | R | R+W | R+W | R+W | R | -+------------++---------------------+---------------------+----------+--------+---------+---------+---------+--------+ -| Purpose || Device | Guest | Queue | Queue | Queue | Queue | Device | ISR | -| || Features bits 0:31 | Features bits 0:31 | Address | Size | Select | Notify | Status | Status | -+------------++---------------------+---------------------+----------+--------+---------+---------+---------+--------+ -\end{verbatim} - +\begin{tabularx}{\textwidth}{ |X||X|X|X|X|X|X|X|X| } +\hline + Bits & 32 & 32 & 32 & 16 & 16 & 16 & 8 & 8 \\ +\hline + Read / Write & R & R+W & R+W & R & R+W & R+W & R+W & R \\ +\hline + Purpose & Device Features bits 0:31 & Guest Features bits 0:31 & + Queue Size & Queue Select & Queue Notify & Queue Address & + Device Status & ISR \newline Status \\ +\hline +\end{tabularx} If MSI-X is enabled for the device, two additional fields immediately follow this header: diff --git a/virtio-v1.0-csd01.tex b/virtio-v1.0-csd01.tex index 84337af..39a2c06 100644 --- a/virtio-v1.0-csd01.tex +++ b/virtio-v1.0-csd01.tex @@ -34,6 +34,7 @@ \usepackage[no-math]{fontspec} \usepackage{xltxtra} \usepackage{etoolbox} +\usepackage{tabularx} \usepackage{underscore} % This is an alternative to package underscore above % It makes it possible to disable hyphenation of upper-case |