Jump to content

SMPV211 - New Device Helper (DevHlp) Routines

From EDM2

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

OS/2 for SMP V2.11 Reference
  1. Notices
  2. Overview of OS/2 for SMP Version 2.11
  3. Platform Specific Drivers (PSDs)
  4. Understanding Spinlocks
  5. Device Drivers In OS/2 for SMP V2.11
  6. Application Considerations
  7. Avoiding Device Driver Deadlocks
  8. New Device Helper (DevHlp) Routines
  9. New Kernel Debugger Commands
  10. The Single Processor Utility Program
  11. OS/2 for SMP V2.11 Tools
  12. Appendix A
  13. Glossary

Following are the new physical and virtual DevHlp routines.

Physical DevHlps

The OS/2 kernel will provide new DevHlps for OS/2 for SMP V2.11 as follows.

DevHlp Functions
Function Name EQU Value Description
DevHlp_CreateSpinLock 111 Create a spinlock - SMP
DevHlp_FreeSpinLock 112 Free a spinlock - SMP
DevHlp_AcquireSpinLock 113 Acquire a spinlock - SMP
DevHlp_ReleaseSpinLock 114 Release a spinlock - SMP
DevHlp_PortIO 118 Port I/O
DevHlp_SetIRQMask 119 Set/Unset an IRQ mask
DevHlp_GetIRQMask 120 Get an IRQ mask

Virtual Device Driver Helps

The OS/2 kernel will provide new VDH services for VDDs to communicate with PSDs.