summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/tex/30pin.tex20
-rw-r--r--docs/tex/epm.tex2
-rw-r--r--docs/tex/pci-tree.tex2
3 files changed, 12 insertions, 12 deletions
diff --git a/docs/tex/30pin.tex b/docs/tex/30pin.tex
index 5ca006c..88d36b6 100644
--- a/docs/tex/30pin.tex
+++ b/docs/tex/30pin.tex
@@ -14,8 +14,8 @@
\titleformat{\section}{\large\bfseries}{\thesection}{1em}{}
\titleformat{\subsection}{\normalsize\bfseries}{\thesubsection}{1em}{}
-\title{\texttt{30Pin}: Technical Specification}
-\author{Amlal EL Mahrouss}
+\title{\texttt{30Pin} Technical Specification}
+\author{Amlal El Mahrouss}
\date{\today}
\lstset{
@@ -37,25 +37,25 @@
\section{Constants}
\begin{itemize}[leftmargin=2em]
- \item \texttt{CB\_30PIN\_MAG} - Magic number identifier for a 30pin packet. Defined as \texttt{"TP"}.
- \item \texttt{CP\_30PIN\_MAG\_LEN} - Length of the magic number (\texttt{2} bytes).
- \item \texttt{CB\_30PIN\_BUFFER\_LEN} - Length of the data buffer in the packet (\texttt{498} bytes).
- \item \texttt{CB\_30PIN\_EOP\_LEN} - Length of the end-of-packet data (\texttt{11} bytes).
+ \item \texttt{NB\_30PIN\_MAG} - Magic number identifier for a 30pin packet. Defined as \texttt{"TP"}.
+ \item \texttt{NB\_30PIN\_MAG\_LEN} - Length of the magic number (\texttt{2} bytes).
+ \item \texttt{NB\_30PIN\_BUFFER\_LEN} - Length of the data buffer in the packet (\texttt{498} bytes).
+ \item \texttt{NB\_30PIN\_EOP\_LEN} - Length of the end-of-packet data (\texttt{11} bytes).
\end{itemize}
\section{Data Structures}
-\subsection{\texttt{cb\_tpin\_recovery\_packet}}
+\subsection{\texttt{NB\_tpin\_recovery\_packet}}
\begin{lstlisting}[language=C]
-struct _cb_tpin_recovery_packet
+struct _nb_tpin_recovery_packet
{
- uint8_t mag[CP_30PIN_MAG_LEN]; // Magic number
+ uint8_t mag[NB_30PIN_MAG_LEN]; // Magic number
uint8_t kind; // Packet kind identifier
uint8_t buffer[NB_30PIN_BUFFER_LEN]; // Packet data buffer
uint8_t eop[NB_30PIN_EOP_LEN]; // End-of-packet data
};
\end{lstlisting}
-\textbf{Typedef:} \texttt{cb\_tpin\_recovery\_packet\_t}
+\textbf{Typedef:} \texttt{NB\_tpin\_recovery\_packet\_t}
\section{Enumerations}
\subsection{Packet Kinds}
diff --git a/docs/tex/epm.tex b/docs/tex/epm.tex
index f97df2c..c8b1d7a 100644
--- a/docs/tex/epm.tex
+++ b/docs/tex/epm.tex
@@ -26,7 +26,7 @@
}
\title{EPM Partition Map: Technical Specification}
-\author{Amlal EL Mahrouss}
+\author{Amlal El Mahrouss}
\date{\today}
\begin{document}
diff --git a/docs/tex/pci-tree.tex b/docs/tex/pci-tree.tex
index f8d4487..5ca6dfd 100644
--- a/docs/tex/pci-tree.tex
+++ b/docs/tex/pci-tree.tex
@@ -32,7 +32,7 @@ The trade-offs (portability, complexity) are largely justified by the need of a
Language of implementation is the C programming language
\begin{lstlisting}
-struct hw_cb_pci_tree {
+struct hw_nb_pci_tree {
cb_pci_num_t d_magic;
cb_pci_num_t d_version;
cb_pci_num_t d_off_props;