[FE training-materials-updates] Fix mistake in inb/outb prototypes
thomas.petazzoni at free-electrons.com
thomas.petazzoni at free-electrons.com
Tue Jun 5 17:28:09 CEST 2012
- Log -----------------------------------------------------------------
http://git.free-electrons.com/training-materials/commit/?id=327a0682981ad1c923f98622b4339e1daeae46f7
commit 327a0682981ad1c923f98622b4339e1daeae46f7
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Tue Jun 5 15:41:28 2012 +0200
Fix mistake in inb/outb prototypes
diff --git a/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex b/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex
index 427bcc7..84173b5 100644
--- a/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex
+++ b/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex
@@ -80,8 +80,8 @@ void release_region(
\begin{itemize}
\item Functions to read/write bytes (\code{b}), word (\code{w}) and longs (\code{l}) to I/O ports:
\begin{itemize}
- \item \mint{c}+unsigned in[bwl](unsigned long *addr)+
- \item \mint{c}+void out[bwl](unsigned port, unsigned long *addr)+
+ \item \mint{c}+unsigned in[bwl](unsigned port)+
+ \item \mint{c}+void out[bwl](value, unsigned long port)+
\end{itemize}
\item And the strings variants: often more efficient than the
corresponding C loop, if the processor supports such operations!
-----------------------------------------------------------------------
Summary of changes:
.../kernel-driver-development-io-memory.tex | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the training-materials-updates
mailing list