Jump to content

SMPProgAdd - STRACE - Kbd Functions: Difference between revisions

From EDM2
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{IBM-Reprint}}
{{IBM-Reprint}}
{{SMPProgAdd}}
{{SMPProgAdd}}
[[Category:WorkToDo]]


<pre>
{| class="wikitable"
┌────────────────────┬──────────────────────────────────────────────────┐
|+ Hook ID and Event Name Codes
│Hook ID             │Event Name                                       │
|-
│Major/Minor Code   │                                                  │
! Hook ID <br/> Major/Minor Code
├────────────────────┼──────────────────────────────────────────────────┤
! Event Name
│64/01               │DosBeep                                          │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/01
│64/02               │KbdRegister                                      │
| [[DosBeep]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│64/03               │KbdCharIn                                        │
| 64/02
├────────────────────┼──────────────────────────────────────────────────┤
| [[KbdRegister]]
│64/04               │KbdFlushBuffer                                    │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/03
│64/05               │KbdPeek                                          │
| [[KbdCharIn]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│64/06               │KbdSetStatus                                      │
| 64/04
├────────────────────┼──────────────────────────────────────────────────┤
| [[KbdFlushBuffer]]
│64/07               │KbdGetStatus                                      │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/05
│64/08               │KbdStringIn                                      │
| [[KbdPeek]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│64/09               │KbdDeRegister                                    │
| 64/06
├────────────────────┼──────────────────────────────────────────────────┤
| [[KbdSetStatus]]
│64/0A               │KbdOpen                                          │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/07
│64/0B               │KbdClose                                          │
| [[KbdGetStatus]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│64/0C               │KbdGetFocus                                      │
| 64/08
├────────────────────┼──────────────────────────────────────────────────┤
| [[KbdStringIn]]
│64/0D               │KbdFreeFocus                                      │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/09
│64/0E               │KbdGetCp                                          │
| [[KbdDeRegister]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│64/0F               │KbdSetCp                                          │
| 64/0A
├────────────────────┼──────────────────────────────────────────────────┤
| [[KbdOpen]]
│64/10               │KbdXlate                                          │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/0B
│64/11               │KbdSetCustXt                                      │
| [[KbdClose]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│64/12               │KbdGetHWID                                        │
| 64/0C
├────────────────────┼──────────────────────────────────────────────────┤
| [[KbdGetFocus]]
│64/13               │KbdSetFgnd                                        │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/0D
│64/14               │KbdShellInit                                      │
| [[KbdFreeFocus]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│64/15               │KbdSynch                                          │
| 64/0E
├────────────────────┼──────────────────────────────────────────────────┤
| [[KbdGetCp]]
│68/01               │Read                                              │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/0F
│68/02               │Write                                            │
| [[KbdSetCp]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│68/03               │Write with verify                                 │
| 64/10
├────────────────────┼──────────────────────────────────────────────────┤
| [[KbdXlate]]
│68/04               │Request Enqueue                                   │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/11
│68/05               │Request List Entry                               │
| [[KbdSetCustXt]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│68/06               │SCB Entry Ready For Transfer                     │
| 64/12
├────────────────────┼──────────────────────────────────────────────────┤
| [[KbdGetHWID]]
│68/07               │SCB Chain Complete                               │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/13
│68/08               │Strategy-1 Request                               │
| [[KbdSetFgnd]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│68/09               │IOCTL Request                                     │
| 64/14
├────────────────────┼──────────────────────────────────────────────────┤
| [[KbdShellInit]]
│68/0A               │Strategy-2 RL Header                             │
|-
├────────────────────┼──────────────────────────────────────────────────┤
| 64/15
│68/0B               │Strategy-2 RL Entry                               │
| [[KbdSynch]]
├────────────────────┼──────────────────────────────────────────────────┤
|-
│68/0C               │IORB Request                                     │
| 68/01
└────────────────────┴──────────────────────────────────────────────────┘
| Read
</pre>
|-
| 68/02
| Write
|-
| 68/03
| Write with verify
|-
| 68/04
| Request Enqueue
|-
| 68/05
| Request List Entry
|-
| 68/06
| SCB Entry Ready For Transfer
|-
| 68/07
| SCB Chain Complete
|-
| 68/08
| Strategy-1 Request
|-
| 68/09
| IOCTL Request
|-
| 68/0A
| Strategy-2 RL Header
|-
| 68/0B
| Strategy-2 RL Entry
|-
| 68/0C
| IORB Request
|}

Latest revision as of 16:21, 24 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
Hook ID and Event Name Codes
Hook ID
Major/Minor Code
Event Name
64/01 DosBeep
64/02 KbdRegister
64/03 KbdCharIn
64/04 KbdFlushBuffer
64/05 KbdPeek
64/06 KbdSetStatus
64/07 KbdGetStatus
64/08 KbdStringIn
64/09 KbdDeRegister
64/0A KbdOpen
64/0B KbdClose
64/0C KbdGetFocus
64/0D KbdFreeFocus
64/0E KbdGetCp
64/0F KbdSetCp
64/10 KbdXlate
64/11 KbdSetCustXt
64/12 KbdGetHWID
64/13 KbdSetFgnd
64/14 KbdShellInit
64/15 KbdSynch
68/01 Read
68/02 Write
68/03 Write with verify
68/04 Request Enqueue
68/05 Request List Entry
68/06 SCB Entry Ready For Transfer
68/07 SCB Chain Complete
68/08 Strategy-1 Request
68/09 IOCTL Request
68/0A Strategy-2 RL Header
68/0B Strategy-2 RL Entry
68/0C IORB Request