OS2DD402 - OS/2 SMP Device Drivers

From OS2World.com Wiki
Jump to: navigation, search

Course OS2DD402 - OS/2 SMP Device Drivers


This three day workshop enables programmers to write a Physical Device Driver (PDD) to specifically support multi-processor computers configured with OS/2 SMP.

This workshop describes how to utilize the new DevHelps in OS/2's SMP kernel. Installation and debug techniques will also be covered. The OS/2 Developer Connection Device Driver Kit (Devcon-DDK) will be used extensively in order to build and test the PDD.

Target Audience

IBM or OEM programmers who code device drivers for devices configured in OS/2 SMP installations.

Attendee prerequisites

  • Has attended OS2DD101 (or equivalent experience)
  • Programming expertise: C and/or MASM
  • Have written device drivers/utilities for OEM hardware (DOS device drivers, ROM BIOS, test utilities)
  • Attendee must be a licensee of the following software:
    • OS/2 2.x, OS/2 Warp
    • Developer Connection Device Driver Kit (Devcon-DDK)
    • MSC 6.0


  • SMP system design considerations
    • Standard implementations
    • Vendor unique features
  • OS/2 SMP
    • Design philosophy
    • Differences from standard OS/2
    • System requirements
    • Scheduler, Interrupt processing
    • Interrupt controller options
    • CPU utilization during interrupt processing
  • New DevHlps
    • Spinlocks, Get/SetIRQMask
    • RegisterKernelExit overlap
  • Updates to current PDDs
    • EOI vs. direct PIC I/O
  • SMP kernel debugger extensions
  • Test cases
  • Tools & libraries
  • Future SMP plans


  • N/A