Jump to content

SMPProgAdd - STRACE - DevHlp Functions: Difference between revisions

From EDM2
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 5: Line 5:
! Major/Minor Code !! Event Name
! Major/Minor Code !! Event Name
|-
|-
| 61/01 || DevHlp_SchedClock
| 61/01 || [[DevHlp_SchedClock]]
|-
|-
| 61/02 || DevHlp_DevDone
| 61/02 || [[DevHelp_DevDone|DevHlp_DevDone]]
|-
|-
| 61/03 || DevHlp_Yield
| 61/03 || [[DevHelp_Yield|DevHlp_Yield]]
|-
|-
| 61/04 || DevHlp_TCYield
| 61/04 || [[DevHelp_TCYield|DevHlp_TCYield]]
|-
|-
| 61/05 || DevHlp_Block
| 61/05 || [[DevHlp_Block]]
|-
|-
| 61/06 || DevHlp_Run
| 61/06 || [[DevHlp_Run]]
|-
|-
| 61/07 || DevHlp_SemRequest
| 61/07 || [[DevHelp_SemRequest|DevHlp_SemRequest]]
|-
|-
| 61/08 || DevHlp_SemClear
| 61/08 || [[DevHelp_SemClear|DevHlp_SemClear]]
|-
|-
| 61/09 || DevHlp_SemHandle
| 61/09 || [[DevHelp_SemHandle|DevHlp_SemHandle]]
|-
|-
| 61/0A || DevHlp_PushReqPacket
| 61/0A || [[DevHelp_PushRequest|DevHlp_PushReqPacket]]
|-
|-
| 61/0B || DevHlp_PullReqPacket
| 61/0B || [[DevHelp_PullRequest|DevHlp_PullReqPacket]]
|-
|-
| 61/0C || DevHlp_PullParticular
| 61/0C || [[DevHelp_PullParticular|DevHlp_PullParticular]]
|-
|-
| 61/0D || DevHlp_SortReqPacket
| 61/0D || [[DevHelp_SortRequest|DevHlp_SortReqPacket]]
|-
|-
| 61/0E || DevHlp_AllocReqPacket
| 61/0E || [[DevHelp_AllocReqPacket|DevHlp_AllocReqPacket]]
|-
|-
| 61/0F || DevHlp_FreeReqPacket
| 61/0F || [[DevHelp_FreeReqPacket|DevHlp_FreeReqPacket]]
|-
|-
| 61/10 || DevHlp_QueueInit
| 61/10 || [[DevHelp_QueueInit|DevHlp_QueueInit]]
|-
|-
| 61/11 || DevHlp_QueueFlush
| 61/11 || [[DevHelp_QueueFlush|DevHlp_QueueFlush]]
|-
|-
| 61/12 || DevHlp_QueueWrite
| 61/12 || [[DevHelp_QueueWrite|DevHlp_QueueWrite]]
|-
|-
| 61/13 || DevHlp_QueueRead
| 61/13 || [[DevHelp_QueueRead|DevHlp_QueueRead]]
|-
|-
| 61/14 || DevHlp_Lock
| 61/14 || [[DevHelp_Lock|DevHlp_Lock]]
|-
|-
| 61/15 || DevHlp_Unlock
| 61/15 || [[DevHelp_UnLock|DevHlp_UnLock]]
|-
|-
| 61/17 || DevHlp_VirtToPhys
| 61/17 || [[DevHelp_VirtToPhys|DevHlp_VirtToPhys]]
|-
|-
| 61/18 || DevHlp_PhysToUVirt
| 61/18 || [[DevHelp_PhysToUVirt|DevHlp_PhysToUVirt]]
|-
|-
| 61/19 || DevHlp_AllocPhys
| 61/19 || [[DevHelp_AllocPhys|DevHlp_AllocPhys]]
|-
|-
| 61/1A || DevHlp_FreePhys
| 61/1A || [[DevHelp_FreePhys|DevHlp_FreePhys]]
|-
|-
| 61/1B || DevHlp_SetROMVector
| 61/1B || [[DevHelp_SetROMVector|DevHlp_SetROMVector]]
|-
|-
| 61/1C || DevHlp_SetIRQ
| 61/1C || [[DevHelp_SetIRQ|DevHlp_SetIRQ]]
|-
|-
| 61/1D || DevHlp_UnSetIRQ
| 61/1D || [[DevHelp_UnSetIRQ|DevHlp_UnSetIRQ]]
|-
|-
| 61/1E || DevHlp_SetTimer
| 61/1E || [[DevHelp_SetTimer|DevHlp_SetTimer]]
|-
|-
| 61/1F || DevHlp_ResetTimer
| 61/1F || [[DevHelp_ResetTimer|DevHlp_ResetTimer]]
|-
|-
| 61/20 || DevHlp_MonCreate
| 61/20 || [[DevHlp_MonitorCreate|DevHlp_MonCreate]]
|-
|-
| 61/21 || DevHlp_Register
| 61/21 || [[DevHelp_Register|DevHlp_Register]]
|-
|-
| 61/22 || DevHlp_DeRegister
| 61/22 || [[DevHelp_DeRegister|DevHlp_DeRegister]]
|-
|-
| 61/23 || DevHlp_MonWrite
| 61/23 || [[DevHelp_MonWrite|DevHlp_MonWrite]]
|-
|-
| 61/24 || DevHlp_MonFlush
| 61/24 || [[DevHelp_MonFlush|DevHlp_MonFlush]]
|-
|-
| 61/25 || DevHlp_GetDOSVar
| 61/25 || [[DevHelp_GetDOSVar|DevHlp_GetDOSVar]]
|-
|-
| 61/26 || DevHlp_SendEvent
| 61/26 || [[DevHelp_SendEvent|DevHlp_SendEvent]]
|-
|-
| 61/27 || DevHlp_ROMCritSection
| 61/27 || [[DevHelp_ROMCritSection|DevHlp_ROMCritSection]]
|-
|-
| 61/28 || DevHlp_EOI
| 61/28 || [[DevHelp_EOI|DevHlp_EOI]]
|-
|-
| 61/29 || DevHlp_GetLIDEntry
| 61/29 || [[DevHelp_GetLIDEntry|DevHlp_GetLIDEntry]]
|-
|-
| 61/2A || DevHlp_FreeLIDEntry
| 61/2A || [[DevHelp_FreeLIDEntry|DevHlp_FreeLIDEntry]]
|-
|-
| 61/2B || DevHlp_ABIOSCall
| 61/2B || [[DevHelp_ABIOSCall|DevHlp_ABIOSCall]]
|-
|-
| 61/2C || DevHlp_ABIOSCommonEnt
| 61/2C || [[DevHelp_ABIOSCommonEntry|DevHlp_ABIOSCommonEntry]]*
|-
|-
| 61/2E || DevHlp_TickCount
| 61/2E || [[DevHelp_TickCount|DevHlp_TickCount]]
|-
|-
| 61/2F || DevHlp_AllocGDTSel
| 61/2F || [[DevHelp_AllocGDTSelector|DevHlp_AllocGDTSelector]]
|}
|}


Line 100: Line 100:
! Major/Minor Code !! Event Name
! Major/Minor Code !! Event Name
|-
|-
| 61/30 || DevHlp_PhysToGDTSel
| 61/30 || [[DevHelp_PhysToGDTSel|DevHlp_PhysToGDTSel]]
|-
|-
| 61/31 || DevHlp_RealToProt
| 61/31 || [[DevHelp_RealToProt|DevHlp_RealToProt]]
|-
|-
| 61/32 || DevHlp_ProtToReal
| 61/32 || [[DevHelp_ProtToReal|DevHlp_ProtToReal]]
|-
|-
| 61/33 || DevHlp_VerifyAccess
| 61/33 || [[DevHelp_VerifyAccess|DevHlp_VerifyAccess]]
|-
|-
| 61/34 || DevHlp_AddTraceEvent
| 61/34 || [[DevHlp_AddTraceEvent]]
|-
|-
| 61/35 || DevHlp_GetDeviceBlock
| 61/35 || [[DevHelp_GetDeviceBlock|DevHlp_GetDeviceBlock]]
|-
|-
| 61/36 || DevHlp_ABIOSGetParms
| 61/36 || [[DevHlp_ABIOSGetParms]]
|-
|-
| 61/37 || DevHlp_AttachDD
| 61/37 || [[DevHelp_AttachDD|DevHlp_AttachDD]]
|-
|-
| 61/38 || DevHlp_InternalError
| 61/38 || [[DevHelp_InternalError|DevHlp_InternalError]]
|-
|-
| 61/3A || DevHlp_Profiling Kernel
| 61/3A || [[DevHlp_Profiling Kernel]]
|-
|-
| 61/3B || DevHlp_RegStackUsage
| 61/3B || [[DevHelp_RegisterStackUsage|DevHlp_RegStackUsage]]
|-
|-
| 61/3C || DevHlp_LogEntry
| 61/3C || [[DevHlp_LogEntry]]
|-
|-
| 61/3D || DevHlp_VideoPause
| 61/3D || [[DevHelp_VideoPause|DevHlp_VideoPause]]
|-
|-
| 61/3E || DevHlp_SaveMessage
| 61/3E || [[DevHelp_Save_Message|DevHlp_SaveMessage]]
|-
|-
| 61/3F || DevHlp_ReallocSeg
| 61/3F || [[DevHlp_ReallocSeg]]
|-
|-
| 61/40 || DevHlp_PutWaitingQueue
| 61/40 || [[DevHlp_PutWaitingQueue]]
|-
|-
| 61/41 || DevHlp_GetWaitingQueue
| 61/41 || [[DevHlp_GetWaitingQueue]]
|-
|-
| 61/42 || DevHlp_VMAlloc
| 61/42 || [[DevHelp_VMAlloc|DevHlp_VMAlloc]]
|-
|-
| 61/43 || DevHlp_VMFree
| 61/43 || [[DevHelp_VMFree|DevHlp_VMFree]]
|-
|-
| 61/44 || DevHlp_VMGlobalToProcess
| 61/44 || [[DevHelp_VMGlobalToProcess|DevHlp_VMGlobalToProcess]]
|-
|-
| 61/45 || DevHlp_VMLock
| 61/45 || [[DevHelp_VMLock|DevHlp_VMLock]]
|-
|-
| 61/46 || DevHlp_VMProcessToGlobal
| 61/46 || [[DevHelp_VMProcessToGlobal|DevHlp_VMProcessToGlobal]]
|-
|-
| 61/47 || DevHlp_VMUnlock
| 61/47 || [[DevHelp_VMUnLock|DevHlp_VMUnLock]]
|-
|-
| 61/48 || DevHlp_FreeGDTSelector
| 61/48 || [[DevHelp_FreeGDTSelector|DevHlp_FreeGDTSelector]]
|-
|-
| 61/49 || DevHlp_GetDescInfo
| 61/49 || [[DevHelp_GetDescInfo|DevHlp_GetDescInfo]]
|-
|-
| 61/4A || DevHlp_LinToGDTSelector
| 61/4A || [[DevHelp_LinToGDTSelector|DevHlp_LinToGDTSelector]]
|-
|-
| 61/4B || DevHlp_LinToPageList
| 61/4B || [[DevHelp_LinToPageList|DevHlp_LinToPageList]]
|-
|-
| 61/4C || DevHlp_PageListToGDTSelector
| 61/4C || [[DevHelp_PageListToGDTSelector|DevHlp_PageListToGDTSelector]]
|-
|-
| 61/4D || DevHlp_PageListToLin
| 61/4D || [[DevHelp_PageListToLin|DevHlp_PageListToLin]]
|-
|-
| 61/4E || DevHlp_VirtToLin
| 61/4E || [[DevHelp_VirtToLin|DevHlp_VirtToLin]]
|-
|-
| 61/70 || DevHlp_CreateSpinLock
| 61/70 || [[DevHlp_CreateSpinLock]]
|-
|-
| 61/71 || DevHlp_FreeSpinLock
| 61/71 || [[DevHlp_FreeSpinLock]]
|-
|-
| 61/72 || DevHlp_AcquireSpinLock
| 61/72 || [[DevHlp_AcquireSpinLock]]
|-
|-
| 61/73 || DevHlp_ReleaseSpinLock
| 61/73 || [[DevHlp_ReleaseSpinLock]]
|-
|-
| 62/01 || DevHlp_PhysToVirt
| 62/01 || [[DevHelp_PhysToVirt|DevHlp_PhysToVirt]]
|-
|-
| 62/02 || DevHlp_UnPhysToVirt
| 62/02 || [[DevHelp_UnPhysToVirt|DevHlp_UnPhysToVirt]]
|}
|}

Latest revision as of 19:03, 23 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

DevHlp Functions - 1 of 2

Major/Minor Code Event Name
61/01 DevHlp_SchedClock
61/02 DevHlp_DevDone
61/03 DevHlp_Yield
61/04 DevHlp_TCYield
61/05 DevHlp_Block
61/06 DevHlp_Run
61/07 DevHlp_SemRequest
61/08 DevHlp_SemClear
61/09 DevHlp_SemHandle
61/0A DevHlp_PushReqPacket
61/0B DevHlp_PullReqPacket
61/0C DevHlp_PullParticular
61/0D DevHlp_SortReqPacket
61/0E DevHlp_AllocReqPacket
61/0F DevHlp_FreeReqPacket
61/10 DevHlp_QueueInit
61/11 DevHlp_QueueFlush
61/12 DevHlp_QueueWrite
61/13 DevHlp_QueueRead
61/14 DevHlp_Lock
61/15 DevHlp_UnLock
61/17 DevHlp_VirtToPhys
61/18 DevHlp_PhysToUVirt
61/19 DevHlp_AllocPhys
61/1A DevHlp_FreePhys
61/1B DevHlp_SetROMVector
61/1C DevHlp_SetIRQ
61/1D DevHlp_UnSetIRQ
61/1E DevHlp_SetTimer
61/1F DevHlp_ResetTimer
61/20 DevHlp_MonCreate
61/21 DevHlp_Register
61/22 DevHlp_DeRegister
61/23 DevHlp_MonWrite
61/24 DevHlp_MonFlush
61/25 DevHlp_GetDOSVar
61/26 DevHlp_SendEvent
61/27 DevHlp_ROMCritSection
61/28 DevHlp_EOI
61/29 DevHlp_GetLIDEntry
61/2A DevHlp_FreeLIDEntry
61/2B DevHlp_ABIOSCall
61/2C DevHlp_ABIOSCommonEntry*
61/2E DevHlp_TickCount
61/2F DevHlp_AllocGDTSelector

DevHlp Functions - 2 of 2

Major/Minor Code Event Name
61/30 DevHlp_PhysToGDTSel
61/31 DevHlp_RealToProt
61/32 DevHlp_ProtToReal
61/33 DevHlp_VerifyAccess
61/34 DevHlp_AddTraceEvent
61/35 DevHlp_GetDeviceBlock
61/36 DevHlp_ABIOSGetParms
61/37 DevHlp_AttachDD
61/38 DevHlp_InternalError
61/3A DevHlp_Profiling Kernel
61/3B DevHlp_RegStackUsage
61/3C DevHlp_LogEntry
61/3D DevHlp_VideoPause
61/3E DevHlp_SaveMessage
61/3F DevHlp_ReallocSeg
61/40 DevHlp_PutWaitingQueue
61/41 DevHlp_GetWaitingQueue
61/42 DevHlp_VMAlloc
61/43 DevHlp_VMFree
61/44 DevHlp_VMGlobalToProcess
61/45 DevHlp_VMLock
61/46 DevHlp_VMProcessToGlobal
61/47 DevHlp_VMUnLock
61/48 DevHlp_FreeGDTSelector
61/49 DevHlp_GetDescInfo
61/4A DevHlp_LinToGDTSelector
61/4B DevHlp_LinToPageList
61/4C DevHlp_PageListToGDTSelector
61/4D DevHlp_PageListToLin
61/4E DevHlp_VirtToLin
61/70 DevHlp_CreateSpinLock
61/71 DevHlp_FreeSpinLock
61/72 DevHlp_AcquireSpinLock
61/73 DevHlp_ReleaseSpinLock
62/01 DevHlp_PhysToVirt
62/02 DevHlp_UnPhysToVirt