define pcodeop getsec_capabilities; define pcodeop getsec_enteraccs; define pcodeop getsec_exitac; define pcodeop getsec_senter; define pcodeop getsec_sexit; define pcodeop getsec_parameters_EAX; define pcodeop getsec_parameters_EBX; define pcodeop getsec_parameters_ECX; define pcodeop getsec_smctrl; define pcodeop getsec_wakeup; define pcodeop getsec_unknown; :GETSEC is vexMode=0 & byte=0x0f; byte=0x37 { if ( EAX != 0x0 ) goto ; EAX = 0; if ( EBX != 0x0 ) goto ; EAX = getsec_capabilities( EBX ); goto ; if ( EAX != 0x2 ) goto ; getsec_enteraccs( EBX, ECX ); goto ; if ( EAX != 0x3 ) goto ; @ifdef IA64 getsec_exitac( RBX, EDX ); @else getsec_exitac( EBX, EDX ); @endif goto ; if ( EAX != 0x4 ) goto ; getsec_senter( EBX, ECX, EDX); goto ; if ( EAX != 0x5 ) goto ; getsec_sexit(); goto ; if ( EAX != 0x6 ) goto ; EAX = getsec_parameters_EAX( EBX ); ECX = getsec_parameters_ECX( EBX ); EBX = getsec_parameters_EBX( EBX ); goto ; if ( EAX != 0x7 ) goto ; getsec_smctrl(EBX); goto ; if ( EAX != 0x8 ) goto ; getsec_wakeup(); goto ; getsec_unknown(); }