OS/2 Physical Device Driver Reference

From EDM2
Jump to: navigation, search

The OS/2 Physical Device Driver Reference defines what a physical device driver is and how it operates. In addition, a description of the types of physical device drivers, their interfaces, and the available system services is provided. System and application programmers can use the information found in this book to write their own physical device drivers and subsystems.

Knowledge of at least one programming language that is used for writing OS/2 applications is necessary, and the programmer must be familiar with the workings of the OS/2 operating system.

Introduction contains a general description of OS/2 physical device drivers, presentation drivers, and virtual device drivers, explaining their differences and how they fit into the operating system.

Physical Device Driver Overview contains a detailed description of OS/2 physical device drivers, including the types of drivers, installation of the drivers, and I/O support for applications.

Physical Device Driver Architecture and Structure contains a description of the physical device driver architecture, component structure, and driver contexts.

OS/2 Physical Device Driver Operations contains a breakdown of physical device driver operations, including physical device driver initialization and hardware interrupt management.

OS/2 Physical Device Driver Design Issues contains design considerations for physical device drivers and Physical Device Drivers/Virtual Device Driver pairs, a description of the types of communication between device drivers, and a description of how to build a physical device driver.

Character Device Monitors contains a description of character device monitors, their processes, support, and monitor functions.

Installation of External Loadable Device Drivers contains information on how to install external loadable device drivers and a description and sample of a device driver profile.

Physical Device Driver Strategy Commands contains descriptions of the commands that the device driver strategy routine must support.

Device Helper (DevHlp) Services contains descriptions, listed alphabetically, of the kernel functions (DevHlp services) that are available to physical device drivers. These functions are written in C and assembler language.

Resource Management contains an architecture overview, programming interface definitions, programming structure definitions, and general development usage information.

Generic IOCtl Commands contains descriptions of the IOCtl commands, listed by category and function, and guidelines for using the I/O Protect Level (IOPL) code segments.

Appendixes

OS/2 Version Compatibility Considerations lists the new information that has been added or changed since the Warp release.

Running OS/2 Version 1.3 16-Bit PDDs on OS/2 describes the problems and solutions of running a 16-bit physical device driver on the OS/2 2.1 operating system.

Using Advanced Bios (ABIOS) contains information on how the physical device driver uses the Advanced BIOS methods, including obtaining a Logical ID and handling ABIOS requests and spurious interrupts.

A glossary and an index are included in the back of the book.

The IBM OS/2 Warp OS/2 Physical Device Driver Reference is an overview of physical device drivers and should be used in conjunction with the specific device reference.

OS/2, as used in this book, refers to the Warp Version of the OS/2 operating system unless stated otherwise.

Throughout this publication, there are references to specific values for character strings. These values are for the single-byte character set (SBCS). When using the double-byte character set (DBCS), note that one DBCS character equals two SBCS characters.