Freebsd Device Drivers: A Guide For The Intrepid by Joseph KongFreebsd Device Drivers: A Guide For The Intrepid by Joseph Kong

Freebsd Device Drivers: A Guide For The Intrepid

byJoseph Kong

Paperback | May 12, 2012

Pricing and Purchase Info

$48.03 online 
$52.95 list price save 9%
Earn 240 plum® points

Prices and offers may vary in store

Quantity:

In stock online

Ships free on orders over $25

Not available in stores

about

Device drivers make it possible for your software to communicate with your hardware, and because every operating system has specific requirements, driver writing is nontrivial. When developing for FreeBSD, you've probably had to scour the Internet and dig through the kernel sources to figure out how to write the drivers you need. Thankfully, that stops now. In FreeBSD Device Drivers, Joseph Kong will teach you how to master everything from the basics of building and running loadable kernel modules to more complicated topics like thread synchronization. After a crash course in the different FreeBSD driver frameworks, extensive tutorial sections dissect real-world drivers like the parallel port printer driver.

You'll learn:
–All about Newbus, the infrastructure used by FreeBSD to manage the hardware devices on your system
–How to work with ISA, PCI, USB, and other buses
–The best ways to control and communicate with the hardware devices from user space
–How to use Direct Memory Access (DMA) for maximum system performance
–The inner workings of the virtual null modem terminal driver, the USB printer driver, the Intel PCI Gigabit Ethernet adapter driver, and other important drivers
–How to use Common Access Method (CAM) to manage host bus adapters (HBAs)

Concise descriptions and extensive annotations walk you through the many code examples. Don't waste time searching man pages or digging through the kernel sources to figure out how to make that arcane bit of hardware work with your system. FreeBSD Device Drivers gives you the framework that you need to write any driver you want, now.
The author of Designing BSD Rootkits (No Starch Press), Joseph Kong works on information security, operating system theory, reverse code engineering, and vulnerability assessment. Kong is a former system administrator for the City of Toronto.
Loading
Title:Freebsd Device Drivers: A Guide For The IntrepidFormat:PaperbackDimensions:352 pages, 9.25 × 7 × 0.86 inPublished:May 12, 2012Publisher:No Starch PressLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:1593272049

ISBN - 13:9781593272043

Look for similar items by category:

Reviews

Table of Contents

Introduction
Chapter 1: Building and Running Modules
Chapter 2: Allocating Memory
Chapter 3: Device Communication and Control
Chapter 4: Thread Synchronization
Chapter 5: Delaying Execution
Chapter 6: Case Study: Virtual Null Modem
Chapter 7: Newbus and Resource Allocation
Chapter 8: Interrupt Handling
Chapter 9: Case Study: Parallel Port Printer Driver
Chapter 10: Managing and Using Resources
Chapter 11: Case Study: Intelligent Platform Management Interface Driver
Chapter 12: Direct Memory Access
Chapter 13: Storage Drivers
Chapter 14: Common Access Method
Chapter 15: USB Drivers
Chapter 16: Network Drivers, Part 1: Data Structures
Chapter 17: Network Drivers, Part 2: Packet Reception and Transmission