[bootlin/training-materials updates] master: kernel read lab: simplify instructions (a564472e)

Michael Opdenacker michael.opdenacker at bootlin.com
Thu Mar 28 15:42:29 CET 2019

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/a564472ef539f7f37b77ebd49332504291c160d4


commit a564472ef539f7f37b77ebd49332504291c160d4
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Thu Mar 28 15:42:29 2019 +0100

    kernel read lab: simplify instructions
    - People were thinking that they had to read the interrupt enable
      register first, to set the specified bit to 1, but leave the
      other bits intact.
    - Writing the specifying bit to 1 and the other ones to zero
      was sufficient, and thus simpler.
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 labs/kernel-serial-interrupt/kernel-serial-interrupt.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/labs/kernel-serial-interrupt/kernel-serial-interrupt.tex b/labs/kernel-serial-interrupt/kernel-serial-interrupt.tex
index ed7fdcab..e6225884 100644
--- a/labs/kernel-serial-interrupt/kernel-serial-interrupt.tex
+++ b/labs/kernel-serial-interrupt/kernel-serial-interrupt.tex
@@ -55,8 +55,8 @@ Then, in the interrupt handler, just print a message and return
 You'll also need to enable interrupts.
-To do so, in the \code{probe()} function, set the
-\code{UART_IER_RDI} bit in the \code{UART_IER} register.
+To do so, in the \code{probe()} function, write
+\code{UART_IER_RDI} to the \code{UART_IER} register.
 Compile and load your module. Send a character on the serial link (just
 type something in the corresponding \code{picocom} terminal, and

More information about the training-materials-updates mailing list