Jump to content

SMPProgAdd - New Device Helper (DevHlp) Routines: Difference between revisions

From EDM2
Created page with "{{IBM-Reprint}} {{SMPProgAdd}} 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: DevHlp_PerfSysTrace EQU 69 ; 45 Record data in STRACE buffer. DevHlp_SetIRQMask EQU 119 ; 77 Set/Unset an IRQ mask DevHlp_GetIRQMask EQU 120 ; 78 Get an IRQ mask * DevHlp_PerfSysTrace * DevHlp_SetI..."
 
No edit summary
 
Line 5: Line 5:
The OS/2 kernel provides the following new DevHlps:
The OS/2 kernel provides the following new DevHlps:


DevHlp_PerfSysTrace           EQU    69     ; 45 Record data in STRACE buffer.
{| class="wikitable"
DevHlp_SetIRQMask             EQU    119     ; 77 Set/Unset an IRQ mask
|+ Device Helper Functions
DevHlp_GetIRQMask             EQU    120     ; 78 Get an IRQ mask
! Function Name !! EQU Value !! Description
 
|-
* [[DevHlp_PerfSysTrace]]
| [[DevHlp_PerfSysTrace]] || 69 (45) || Record data in STRACE buffer.
* [[DevHlp_SetIRQMask]]
|-
* [[DevHlp_GetIRQMask]]
| [[DevHlp_SetIRQMask]] || 119 (77) || Set/Unset an IRQ mask
|-
| [[DevHlp_GetIRQMask]] || 120 (78) || Get an IRQ mask
|}


==Virtual Device Driver Helps==
==Virtual Device Driver Helps==
The OS/2 kernel provides a new VDH service for VDDs to communicate with PSDs.  
The OS/2 kernel provides a new VDH service for VDDs to communicate with PSDs.  
* [[VDHPortIO]]
* [[VDHPortIO]]

Latest revision as of 18:43, 18 May 2025

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.