CN17500C/N1750 - Building OS/2 Device Drivers

From OS2World.Com Wiki
Revision as of 13:02, 1 June 2016 by Tomh (talk | contribs) (Created page with " 4 days, hands-on labs Public, private You'll learn to develop, compile, install, and test device driver programs for the OS/2 1.3 and 2.X platforms. How you will benefit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

4 days, hands-on labs Public, private

You'll learn to develop, compile, install, and test device driver programs for the OS/2 1.3 and 2.X platforms.

How you will benefit: You'll be able to:

oDevelop, compile, install, and test device driver programs

oUnderstand programming and operational characteristics common to both character and block device drivers

oGrasp the structure and operation of OS/2 device drivers

oDesign and implement an OS/2 device driver for a peripheral

oUnderstand bimodal operation (real and protected-model), ROM BIOS compatibility support, interrupt handling, serialization, and the use of device helper services

Topics:

oDevice Driver Introduction

-dd def PMD's, BDD's, PDD's, VDD's (char v. block) -Real versus protected -16-bit segmented model - enhanced for OS/2 2.0

oOperation

-task time (init) -interrupt time (timer, IRQ's)

oStructure

-Device header

oDevice attribute

-Strategy entry point -Initialization, command 0 (special case)

oRing 3 oApplication context oIOPL OK oSome API's available oSome development helpers

-Sample code fragments

oOS/2 Strategy Commands

oTools

-MASM -ASDT - demo -ASDTSYM -IBM C/2 -LINK 16-bit -Kernel debugger/ASDT

oOS/2 Device Helpers

oUsing External Interrupts

oDesigning Block Device Drivers

oDrivers That Use ABIOS

-Device ID -Logical ID

oOS/2 32-bit Enhancements

-Using 32-bit code -Using 32-bit device helpers

oDesign Tips

-Performance -3 MS rule -Interrupt rules -Testing

oDevice Helper Reference

oDemo Device Driver

oDemo Device Driver Using C

oApplication/System Debug Tool - ASDT Reference

oLab Exercises

-Character driver with initialization context only -Character driver with strategy commands, open, and write

oWrite under interrupt oHandling multiple overlapping requests

-ABIOS with hardware interrupts

Prerequisites: You should have experience programming in Assembler or C language. You should also have completed "OS/2 2.X for Software Developers" (N1740) or have equivalent programming experience.

Prices: Tuition 1,260 Private Class Price: 1-14 Students: 20,000 Each additional student: 400