[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Kernel Extensions and Device Support Programming Concepts

Contents

About This Book
Who Should Use This Book
How to Use This Book
Highlighting
Case-Sensitivity in AIX
ISO 9000
Related Publications
Kernel Environment
Understanding Kernel Extension Symbol Resolution
Understanding Execution Environments
Understanding Kernel Threads
Using Kernel Processes
Accessing User-Mode Data While in Kernel Mode
Understanding Locking
Understanding Exception Handling
Using Kernel Extensions to Support 64-bit Processes
64-bit Kernel Extension Programming Environment
32-bit Kernel Extension Considerations
Related Information
System Calls
Differences Between a System Call and a User Function
Understanding Protection Domains
Understanding System Call Execution
Accessing Kernel Data While in a System Call
Passing Parameters to System Calls
Preempting a System Call
Handling Signals While in a System Call
Handling Exceptions While in a System Call
Understanding Nesting and Kernel-Mode Use of System Calls
Page Faulting within System Calls
Returning Error Information from System Calls
System Calls Available to Kernel Extensions
Related Information
Virtual File Systems
Logical File System Overview
Virtual File System Overview
Understanding Data Structures and Header Files for Virtual File Systems
Configuring a Virtual File System
Related Information
Kernel Services
Categories of Kernel Services
I/O Kernel Services
Block I/O Buffer Cache Kernel Services: Overview
Understanding Interrupts
Understanding DMA Transfers
Kernel Extension and Device Driver Management Services
Locking Kernel Services
File Descriptor Management Services
Logical File System Kernel Services
Programmed I/O (PIO) Kernel Services
Memory Kernel Services
Understanding Virtual Memory Manager Interfaces
Message Queue Kernel Services
Network Kernel Services
Process and Exception Management Kernel Services
RAS Kernel Services
Security Kernel Services
Timer and Time-of-Day Kernel Services
Using Fine Granularity Timer Services and Structures
Using Multiprocessor-Safe Timer Services
Virtual File System (VFS) Kernel Services
Related Information
Asynchronous I/O Subsystem
How Do I Know if I Need to Use AIO?
Functions of Asynchronous I/O
Asynchronous I/O Subroutines
Subroutines Affected by Asynchronous I/O
Changing Attributes for Asynchronous I/O
64-bit Enhancements
Related Information
Device Configuration Subsystem
Scope of Device Configuration Support
Device Configuration Subsystem Overview
General Structure of the Device Configuration Subsystem
Device Configuration Database Overview
Basic Device Configuration Procedures Overview
Device Configuration Manager Overview
Device Classes, Subclasses, and Types Overview
Writing a Device Method
Understanding Device Methods Interfaces
Understanding Device States
Adding an Unsupported Device to the System
Understanding Device Dependencies and Child Devices
Accessing Device Attributes
Device Dependent Structure (DDS) Overview
List of Device Configuration Commands
List of Device Configuration Subroutines
Related Information
Communications I/O Subsystem
User-Mode Interface to a Communications PDH
Kernel-Mode Interface to a Communications PDH
CDLI Device Drivers
Communications Physical Device Handler Model Overview
Status Blocks for Communications Device Handlers Overview
MPQP Device Handler Interface Overview for the ARTIC960Hx PCI Adapter
Serial Optical Link Device Handler Overview
Configuring the Serial Optical Link Device Driver
Forum-Compliant ATM LAN Emulation Device Driver
Fiber Distributed Data Interface (FDDI) Device Driver
High-Performance (8fc8) Token-Ring Device Driver
High-Performance (8fa2) Token-Ring Device Driver
PCI Token-Ring Device Drivers
Ethernet Device Drivers
Related Information
Graphic Input Devices Subsystem
open and close Subroutines
read and write Subroutines
ioctl Subroutines
Input Ring
Low Function Terminal Subsystem
Low Function Terminal Interface Functional Description
Components Affected by the Low Function Terminal Interface
Accented Characters
Related Information
Logical Volume Subsystem
Direct Access Storage Devices (DASDs)
Physical Volumes
Understanding the Logical Volume Device Driver
Understanding Logical Volumes and Bad Blocks
Related Information
Printer Addition Management Subsystem
Printer Types Currently Supported
Printer Types Currently Unsupported
Adding a New Printer Type to Your System
Adding a Printer Definition
Adding a Printer Formatter to the Printer Backend
Understanding Embedded References in Printer Attribute Strings
Related Information
Small Computer System Interface Subsystem
SCSI Subsystem Overview
Understanding SCSI Asynchronous Event Handling
SCSI Error Recovery
A Typical Initiator-Mode SCSI Driver Transaction Sequence
Understanding SCSI Device Driver Internal Commands
Understanding the Execution of Initiator I/O Requests
SCSI Command Tag Queuing
Understanding the sc_buf Structure
Other SCSI Design Considerations
SCSI Target-Mode Overview
Required SCSI Adapter Device Driver ioctl Commands
Related Information
Fibre Channel Protocol for SCSI and iSCSI Subsystem
Programming FCP and iSCSI Device Drivers
FCP and iSCSI Subsystem Overview
Understanding FCP and iSCSI Asynchronous Event Handling
FCP and iSCSI Error Recovery
FCP and iSCSI Initiator-Mode Recovery When Not Command Tag Queuing
Initiator-Mode Recovery During Command Tag Queuing
A Typical Initiator-Mode FCP and iSCSI Driver Transaction Sequence
Understanding FCP and iSCSI Device Driver Internal Commands
Understanding the Execution of FCP and iSCSI Initiator I/O Requests
FCP and iSCSI Command Tag Queuing
Understanding the scsi_buf Structure
Other FCP and iSCSI Design Considerations
Required FCP and iSCSI Adapter Device Driver ioctl Commands
Related Information
Integrated Device Electronics (IDE) Subsystem
Responsibilities of the IDE Adapter Device Driver
Responsibilities of the IDE Device Driver
Communication Between IDE Device Drivers and IDE Adapter Device Drivers
IDE Error Recovery
A Typical IDE Driver Transaction Sequence
IDE Device Driver Internal Commands
Execution of I/O Requests
ataide_buf Structure
Other IDE Design Considerations
Required IDE Adapter Driver ioctl Commands
Related Information
Serial Direct Access Storage Device Subsystem
DASD Device Block Level Description
Debug Facilities
System Dump Facility
Error Logging
Debug and Performance Tracing
Memory Overlay Detection System (MODS)
Related Information
KDB Kernel Debugger and Command
The kdb Command
KDB Kernel Debugger
Using the KDB Kernel Debug Program
Setting Breakpoints
Viewing and Modifying Global Data
Stack Trace
Subcommands for the KDB Kernel Debugger and kdb Command
Loadable Authentication Module Programming Interface
Overview
Load Module Interfaces
Authentication Interfaces
Identification Interfaces
Support Interfaces
Configuration Files
Compound Load Modules
Appendix. Notices
Trademarks
Index

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]