上传者: d418368326
|
上传时间:2018/10/2 20:27:22
|
文件大小:11.54MB
|
文件类型:pdf
【LinuxDeviceDriver】(3edtion).pdf
LinuxDeviceDriver(3edtion)原版1.AnIntroductiontoDeviceDrivers.....................................1TheRoleoftheDeviceDriver2SplittingtheKernel4ClassesofDevicesandModules5SecurityIssues8VersionNumbering10LicenseTerms11JoiningtheKernelDevelopmentCo妹妹unity12OverviewoftheBook122.BuildingandRunningModules......................................15SettingUpYourTestSystem15TheHelloWorldModule16KernelModulesVersusApplications18CompilingandLoading22TheKernelSymbolTable28Preliminaries30InitializationandShutdown31ModuleParameters35DoingItinUserSpace37QuickReference393.CharDrivers.......................................................42TheDesignofscull42MajorandMinorNumbers43SomeImportantDataStructures49,ldr3TOC.fm.4587PagevThursday,January20,20059:30AMvi|TableofContentsCharDeviceRegistration55openandrelease58scull’sMemoryUsage60readandwrite63PlayingwiththeNewDevices70QuickReference704.DebuggingTechniques.............................................73DebuggingSupportintheKernel73DebuggingbyPrinting75DebuggingbyQuerying82DebuggingbyWatching91DebuggingSystemFaults93DebuggersandRelatedTools995.ConcurrencyandRaceConditions...................................106Pitfallsinscull107ConcurrencyandItsManagement107SemaphoresandMutexes109Completions114Spinlocks116LockingTraps121AlternativestoLocking123QuickReference1306.AdvancedCharDriverOperations...................................135ioctl135BlockingI/O147pollandselect163AsynchronousNotification169SeekingaDevice171AccessControlonaDeviceFile173QuickReference179
本软件ID:9987284