Sample in Assembler Language
;
; Input Parameter Structure
;
SMB_INPARM
STRUC
@SMBIN_FUNC
DB
?
@SMBIN_SUB_FUNC
DB
?
@SMBIN_PARM_1
DW
?
@SMBIN_PARM_2
DW
?
@SMBIN_PARM_3
DW
?
@SMBIN_PARM_4
DD
?
@SMBIN_PARM_5
DD
?
SMB_INPARM
ENDS
;
; Output Parameter Structure
;
SMB_OUTPARM
STRUC
@SMBOUT_RC
DB
?
@SMBOUT_SUB_RC
DB
?
@SMBOUT_PARM_1
DW
?
@SMBOUT_PARM_2
DW
?
@SMBOUT_PARM_3
DW
?
@SMBOUT_PARM_4
DD
?
@SMBOUT_PARM_5
DD
?
SMB_OUTPARM
ENDS
ThinkPad 560Z SMAPI BIOS
A-7