Jump to content

SMPProgAdd - New Device Helper (DevHlp) Routines

From EDM2
Revision as of 18:43, 18 May 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation

SMP Programming Addendum
  1. How to Use the SMP Programming Addendum
  2. Introduction to OS/2 Warp Server Version 4 Advanced
  3. Platform Specific Drivers (PSDs)
  4. High Memory Support
  5. Raw File System
  6. Processor Management and Performance Functions
  7. Application Considerations
  8. Device Drivers In OS/2 Warp Server for SMP
  9. New Device Helper (DevHlp) Routines
  10. Kernel Debugger
  11. The ICAT Debugger
  12. Software Trace Facility (STRACE)
  13. View and Set Program Type For Executable File (MARKEXE)
  14. Data Types
  15. Errors
  16. Generic IOCtl Commands
  17. Sample Source Code for a PSD
  18. Comments, Please!
  19. Glossary
  20. Notices

This chapter provides information on the new physical and virtual Device Helper (DevHlp) routines in OS/2 Warp Server for SMP.

The OS/2 kernel provides the following new DevHlps:

Device Helper Functions
Function Name EQU Value Description
DevHlp_PerfSysTrace 69 (45) Record data in STRACE buffer.
DevHlp_SetIRQMask 119 (77) Set/Unset an IRQ mask
DevHlp_GetIRQMask 120 (78) Get an IRQ mask

Virtual Device Driver Helps

The OS/2 kernel provides a new VDH service for VDDs to communicate with PSDs.