幫助中心 | 我的帳號 | 關於我們

Linux設備驅動程序開發(影印版)(英文版)

  • 作者:(法)約翰·馬杜
  • 出版社:東南大學
  • ISBN:9787564177539
  • 出版日期:2018/08/01
  • 裝幀:平裝
  • 頁數:561
人民幣:RMB 108 元      售價:
放入購物車
加入收藏夾

內容大鋼
    Linux內核是一種複雜、可遷移、模塊化和廣泛使用的軟體,在全世界過半數設備的80%左右伺服器和嵌入式系統中運行。設備驅動程序在Linux系統良好運行中起到非常重要的作用。隨著Linux已成為最流行的操作系統之一,為專有設備開發驅動程序的興趣也與日俱增。
    約翰·馬杜著的《Linux設備驅動程序開發(影印版)(英文版)》將幫助你理解驅動程序相關基礎知識,並帶你完成遊覽Linux內核的漫長旅程。本書涵蓋基於多種Linux子系統的驅動程序開發,包括內存管理、PWM、RTC、IIO和IRQ管理。本書還提供直接內存訪問和網路設備驅動程序的實用方法。
    在本書最後,你將會熟悉驅動程序開發的概念,並且可以從頭開始為最新版內核編寫任何驅動程序。

作者介紹
(法)約翰·馬杜

目錄
Preface
Chapter 1: Introduction to Kernel Development
  Environment setup
    Getting the sources
      Source organization
    Kernel configuration
    Build your kernel
  Kernel habits
    Coding style
    Kernel structures allocation/initialization
    Classes, objects, and OOP
  Summary
Chapter 2: Device Driver Basis
  User space and kernel space
    The concept of modules
    Module dependencies
      depmod utility
    Module loading and unloading
      Manual loading
      modprobe and insmod
      /etc/modules-load.d/.conf
      Auto-loading
      Module unload
  Driver skeletons
    Module entry and exit point
      init and exit attributes
    Module information
      Licensing
      Module author(s)
      Module description
  Errors and message printing
    Error handling
    Handling null pointer errors
    Message printing - printk0
  Module parameters
  Building your first module
    The module's makefile
    In the kernel tree
    Out of the tree
    Building the module
    Summary
Chapter 3: Kernel Facilities and Helper Functions
  Understanding container_of macro
  Linked lists
    Creating and initializing the list
      Dynamic method
      Static method
    Creating a list node
    Adding a list node
    Deleting a node from the list

    Linked list traversal
  Kernel sleeping mechanism
    Wait queue
    Delay and timer management
    Standard timers
      Jiffies and HZ
      Timers API
      Timer setup initialization
      Standard timer example
    High resolution timers (HRTs)
      HRT API
      HRT setup initialization
    Dynamic tick/tickless kernel
    Delays and sleep in the kernel
      Atomic context
      Nonatomic context
  Kernel locking mechanism
    Mutex
      Mutex API
      Declare
      Acquire and release
    Spinlock
      Spinlock versus mutexes
  Work deferring mechanism
    Softirqs and ksoftirqd
      ksoftirqd
    Tasklets
      Declaring a tasklet
……
Chanter 4: Character Device Drivers
Chapter 5: Platform Device Drivers
Chaoter 6: The Conceot of Device Tree
Chapter 7: 12C Client Drivers
Chapter 8: SPI Device Drivers
Chapter 9: Regmap API - A Register Map Abstraction
Chapter 10: IIO Framework
Chapter 11: Kernel Memory Management
Chapter 12: DMA- Direct Memory Access
Chapter 13: Linux Device Model
Chapter 14: Pin Control and GPIO Subsystem
Chapter 15: GPIO Controller Drivers - gpio_chip
Chapter 16: Advanced IRQ Management
Chaoter 17: Inout Devices Drivers
Chapter 18: RTC Drivers
Chapter 19: PWM Drivers
Chapter 20: Regulator Framework
Chapter 21: Framebuffer Drivers
Chapter 22: Network Interface Card Drivers

  • 商品搜索:
  • | 高級搜索
首頁新手上路客服中心關於我們聯絡我們Top↑
Copyrightc 1999~2008 美商天龍國際圖書股份有限公司 臺灣分公司. All rights reserved.
營業地址:臺北市中正區重慶南路一段103號1F 105號1F-2F
讀者服務部電話:02-2381-2033 02-2381-1863 時間:週一-週五 10:00-17:00
 服務信箱:bookuu@69book.com 客戶、意見信箱:cs@69book.com
ICP證:浙B2-20060032