O'Reilly logo

Linux Assembly Language Programming by BOB NEVELN

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. DEVICE DRIVERS

In chapter 6, the use of memory commands was discussed assuming that the programmer has unrestricted access to memory. In chapter 8, the use of memory commands in user programs where Linux restricts memory access is discussed. In chapter 4, section 4.2, the use of I/O commands is discussed, again assuming that the programmer has unrestricted I/O access. Although there are system commands whose purpose is to grant I/O access to a user, the default situation in Linux disallows the use of IN and OUT instructions in user programs. User access to peripherals takes place only by way of sytem calls. System calls translate user service requests into IN and OUT instructions. Because system calls execute at privilege level zero, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required