IBM 560z Manuale Supplementare

Pagina di 134
   
 
Appendix A. System Management API
(SMAPI) BIOS Overview
What Is SMAPI BIOS?
. . . . . . . . . . . . . . . . . . . . . . . .
 A-3
Header Image
  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
A-4
Calling Convention
  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
A-6
Parameter Structure
  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
A-6
Sample in Assembler Language
. . . . . . . . . . . . . . .
 A-7
Sample in C Language
. . . . . . . . . . . . . . . . . . . .
 A-8
Calling Convention Pseudo Code
. . . . . . . . . . . . . . . .
 A-9
Return Codes
  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
A-11
Function Description
  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
A-12
System Information Service
. . . . . . . . . . . . . . . . . .
 A-12
Get System Identification
. . . . . . . . . . . . . . . . . .
 A-12
Get CPU Information
. . . . . . . . . . . . . . . . . . . .
 A-13
Get Display Device Information
. . . . . . . . . . . . . .
 A-14
Get Power Management Module Information
. . . . . . .
 A-16
Get System Current Status
. . . . . . . . . . . . . . . . .
 A-17
Get Video Information
. . . . . . . . . . . . . . . . . . . .
 A-18
Get Refresh Rate Capability
. . . . . . . . . . . . . . . .
 A-19
System Configuration Service
. . . . . . . . . . . . . . . . .
 A-21
Get Display Device State
. . . . . . . . . . . . . . . . . .
 A-21
Set Display Device State
. . . . . . . . . . . . . . . . . .
 A-23
Get Pointing Device State
. . . . . . . . . . . . . . . . . .
 A-24
Set Pointing Device State
. . . . . . . . . . . . . . . . . .
 A-25
Get Hotkey Sticky/Lock
. . . . . . . . . . . . . . . . . . .
 A-26
Set Hotkey Sticky/Lock Support
. . . . . . . . . . . . . .
 A-27
Power Management Service
. . . . . . . . . . . . . . . . . .
 A-28
Get Power Management Mode
. . . . . . . . . . . . . . .
 A-28
Set Power Management Mode
. . . . . . . . . . . . . . .
 A-29
Get Timer Control
. . . . . . . . . . . . . . . . . . . . . .
 A-30
Set Timer Control
. . . . . . . . . . . . . . . . . . . . . .
 A-32
Event Bit Definition
. . . . . . . . . . . . . . . . . . . . . . .
 A-33
Get System Event Global Condition
. . . . . . . . . . . .
 A-34
Set System Event Global Condition
. . . . . . . . . . . .
 A-35
Get System Event 1 Condition
. . . . . . . . . . . . . . .
 A-36
Set System Event 1 Condition
. . . . . . . . . . . . . . .
 A-37
Get System Event 2 Condition
. . . . . . . . . . . . . . .
 A-38
Set System Event 2 Condition
. . . . . . . . . . . . . . .
 A-39
Get System Timer
. . . . . . . . . . . . . . . . . . . . . .
 A-40
Set System Timer
. . . . . . . . . . . . . . . . . . . . . .
 A-41
Get Hibernation Timer
. . . . . . . . . . . . . . . . . . . .
 A-42
Set Hibernation Timer
. . . . . . . . . . . . . . . . . . . .
 A-43
 Copyright IBM Corp. 1998
 
A-1