Appendix B. System Management API

Appendix B. System Management API

(SMAPI) BIOS Overview

Overview . . . . . . . . . . . . . . . B-.3 . . . . . . . . . . . . . . .

Header Image . . . . . . . . . . . . . .B-4. . . . . . . . . . . . . . .

Calling Convention . . . . . . . . . . . . B.-6 . . . . . . . . . . . . .

Parameter Structure . . . . . . . . . . . B-6. . . . . . . . . . . .

Sample in Assembler Language. . . . . . . . . . . . B.-8 . .

Sample in C Language . . . . . . . . . . . . . . . .B-.9 . . .

Calling Convention Pseudo Code. . . . . . . . . . . . B.-10. .

Return Codes . . . . . . . . . . . . . B.-11. . . . . . . . . . . . . .

Function Description . . . . . . . . . . . B.-12. . . . . . . . . . . .

System Information Service. . . . . . . . . . . . . . .B-12. . .

Get System Identification. . . . . . . . . . . . . . .B-12. . .

Get CPU Information. . . . . . . . . . . . . . . .B-.13. . .

Get Display Device Information. . . . . . . . . . . .B-.14.

Get Docking Station Information. . . . . . . . . . . .B-.15.

Get UltraBay II Information. . . . . . . . . . . . . .B-.16. .

Get Slave Micro Control Unit Information. . . . . . . . B.-17

Get System Sensor Status. . . . . . . . . . . . . .B-.18. .

Get Video Information. . . . . . . . . . . . . . . .B-.19. . .

Get Refresh Rate Capability. . . . . . . . . . . . . B.-20. .

System Configuration Service. . . . . . . . . . . . . .B-.22. .

Get Display Device .State. . . . . . . . . . . . . .B-22. . .

Set Display Device State. . . . . . . . . . . . . . .B-24. . .

Get Pointing Device State. . . . . . . . . . . . . . .B-25. . .

Set Pointing Device State. . . . . . . . . . . . . . .B-26. . .

Get Hotkey Sticky/Lock. . . . . . . . . . . . . . . B.-27. . .

Set Hotkey Sticky/Lock. . . . . . . . . . . . . . . B.-28. . .

Power Management Service. . . . . . . . . . . . . . .B-29. . .

Get Power Management Mode. . . . . . . . . . . . B.-29. .

Set Power Management Mode. . . . . . . . . . . . B.-30. .

Get Timer Control. . . . . . . . . . . . . . . . . B.-31. . . .

Set Timer Control . . . . . . . . . . . . . . . . . B.-33. . . .

Event Bit Definition. . . . . . . . . . . . . . . . . .B.-34. . . .

Get System Event Global Condition. . . . . . . . . . B.-35.

Set System Event Global Condition. . . . . . . . . . B.-36.

Get System Event 1 Condition. . . . . . . . . . . . B.-37. .

Set System Event 1 Condition. . . . . . . . . . . . B.-38. .

Get System Event 2 Condition. . . . . . . . . . . . B.-39. .

Set System Event 2 Condition. . . . . . . . . . . . B.-40. .

Get System Timer. . . . . . . . . . . . . . . . . B.-41. . . .

Set System

Timer . . . . . . . . . . . . . . . . . B.-42. . . .

 Copyright IBM

Corp. 1997

B-1

Page 77
Image 77
IBM 770 manual Appendix B. System Management API SMAPI BIOS Overview