summaryrefslogtreecommitdiff
path: root/bsd-core/drm.h
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-11-05 02:20:35 +1100
committerBen Skeggs <skeggsb@gmail.com>2007-11-05 02:20:35 +1100
commit173a5be28f4ed59e27d7a719f62bc275959b5b70 (patch)
tree6f0732e540f1027762fb352590c50817f455fc83 /bsd-core/drm.h
parent9a999e57af4a3f5a863c21154dd3b9618888c1f7 (diff)
nouveau: hook up an inital fence irq handler
Diffstat (limited to 'bsd-core/drm.h')
0 files changed, 0 insertions, 0 deletions
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% HTML specfic commands
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\virtiographics}[3]
{
\HCode{<div><img src="images/#1.png" alt="#3"/></div>}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO title sections
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\oasistitle}[1]
{
\begin{spacing}{2}
\HCode{<div style="color: \#552681; font-size: 24pt;">}
\textbf{#1}
\HCode{</div>}
\end{spacing}
}

\newcommand{\oasisstagelabel}[1]
{
\begin{spacing}{2}
\HCode{<div style="color: \#552681; font-size: 18pt;">}
\textbf{#1}
\HCode{</div>}
\end{spacing}
}

\newcommand{\oasisdate}[1]
{
\begin{spacing}{2}
\HCode{<div style="color: \#552681;  font-size: 18pt;">}
\textbf{#1}
\HCode{</div>}
\end{spacing}
}

\newcommand{\oasisnoticelabel}[1]
{
\hrule
\begin{spacing}{2}
\HCode{<div style="color: \#552681;  font-size: 18pt;">}
\textbf{#1}
\HCode{</div>}
\end{spacing}
}

\newcommand{\oasisspecificationuris}[1]
{
\HCode{<div style="color: \#552681; font-size: 12pt;">}
\textbf{#1}
\HCode{</div>}
}

\newenvironment{oasistitlesection}[1]
{
\HCode{<div style="color: \#552681;  font-size: 10pt;">}
\textbf{#1:}
\HCode{</div>}
\HCode{<div style="margin-left: 20px;">}
}
{
\HCode{</div>}
}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO type attributes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% new environment: VIRTIO type attribute
\newenvironment{virtioattribute}[2]
{
\HCode{<div style="width: 200px; float: left;">}\texttt{\textbf{#1}}\HCode{</div>}
\HCode{<span>}#2\HCode{</span>}\\
\begin{tabular}{p{20px}p{200px}}
&}
{\\
\end{tabular}\\
\vspace{0.05in}
}

% new command: VIRTIO type attribute value
\newcommand{\virtioattributevalue}[2]
{
\texttt{\textbf{#1}}\\
\indent
Value: #2\\
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO properties
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% new environment: VIRTIO propery
\newenvironment{virtioproperty}[2]
{
\vspace{0.05in}
\begin{tabular}{p{20px}p{200px}p{200px}}
\multicolumn{2}{p{20px}}{\textbf{\texttt{#1}}} & #2\vspace{0.05in}\\
}
{
\end{tabular}\\
\vspace{0.05in}\\
}

% new command: VIRTIO property detail
\newcommand{\virtiopropertydetail}[2]{& #1: & #2\\}

% new command: VIRTIO property comment
\newcommand{\virtiopropertycomment}[1]{\\&\multicolumn{2}{p{20px}}{#1}\\}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO allowable actions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% new environment: VIRTIO allowable action
\newenvironment{virtioallowableaction}[1]
{
\textbf{#1}
\vspace{0.05in}\\
\begin{tabular}{p{0.1in}p{1in}p{4.8in}}
}
{
\end{tabular}\\
\vspace{0.05in}\\
}

% new command: VIRTIO allowable action detail
\newcommand{\virtioallowableactiondetail}[2]{& #1: & #2\\}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO version properties
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% new environment: VIRTIO version property
\newenvironment{virtioversionproperty}[2]
{
\begin{tabular}{p{3in}l}
\texttt{\textbf{#1}} & #2\\
\end{tabular}\\\
\begin{tabular}{p{0.3in}p{5.7in}}
&}
{\\
\end{tabular}\\
\vspace{0.05in}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% VIRTIO general description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% new environment: VIRTIO description
\newenvironment{virtiodescription}[1]
{
\begin{tabular}{p{20px}p{600px}}
\multicolumn{2}{l}{\textbf{#1:}}\\
&\setlength{\topsep}{0in}\setlength{\parsep}{0in}\setlength{\partopsep}{0in}   }
{\\
\end{tabular}\\
\vspace{0.05in}
}


\newenvironment{virtioexample}[1]
{
\HCode{<div style="padding: 5px; background-color: \#E6E6E6;">}
\textbf{Example:}\\
Request: \texttt{#1-request.log}\\
Response: \texttt{#1-response.log}
\HCode{</div>}
\vspace{0.2in}
}