From 4601066a4c295a4d1b8b5ce9a24c6cf43ec3f12b Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Mon, 25 Nov 2013 12:28:07 +0000 Subject: content.tex: manual legacy pci device layout rewrite legacy pci device layout using tabularx. it was too wide for verbatim to lay out reasonably. Signed-off-by: Michael S. Tsirkin git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@121 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- content.tex | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'content.tex') 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: -- cgit v1.2.3