melp429.cdb
资源名称:melp.rar [点击查看]
上传用户:csczyc
上传日期:2021-02-19
资源大小:1051k
文件大小:354k
源码类别:
语音压缩
开发平台:
C/C++
- _objAllocDesc, _memSeg, _placement"} ) prop _bssAllocDesc :: ("%8t .SIO$bss: {%12tn *(.SIO$bss)%8tn }") prop _objAllocDesc :: ("%8t .SIO$obj: {%12tn *(.SIO$obj)%8tn }") prop _placement :: (0x7fffffff / 2) prop _memSeg :: self.OBJMEMSEG prop AllocInst :: ("1 , _instBufDesc, _instBufSeg, _placement") prop _instBufDesc :: (if self.iAlign > 1 {"%8t .%0s$bufs: align = 0x%1x {} , _objAlign"} else {"%8t .%0s$bufs: {}"}) prop _objAlign :: self.iAlign prop _instBufSeg :: self.iBufSegid prop defDev :: ($h = nil, $i = nil, $j = nil, scan ($h; nil) {if ($h.isDriver == 1) {scan ($i; $h) {if ($j == nil && $i.iIsTerminal != 0 && $i.iIsVirtual == 0) {$j = $i, break} }} }, $j) prop devList :: ($h = nil, $i = nil, $j = nil, scan ($h; nil) {if ($h.isDriver == 1) {scan ($i; $h) {if ($j == nil && $i.iIsTerminal != 0 && $i.iIsVirtual == 0) {$j = $i, scan ($a; DIO) {if ($a == $i) {$i.numTimeUse++} }, break} }} }, $j) prop setDev :: ($h = nil, $i = nil, $j = nil, scan ($h; nil) {if ($h.isDriver == 1) {scan ($i; $h) {if ($i == $1) {$j = $i} }} }, $j) prop localCanCreate :: (if (self.defDev == nil) {self.error("A driver device must be created before creating a stream.")} else {"ok"}) prop localDelete :: (scan ($a; DIO) {if ($a == self.iDevice) {self.iDevice.numTimeUse--} }, "ok") prop cGen :: 1 prop cHeaderName :: if self.gNumOf > 0 {"sio.h"} else {""} prop cGenHInst :: (if (GBL.DSPTYPE == 62) {"extern far SIO_Obj %0r;n "} else {"extern SIO_Obj %0r;n "}) global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumEmbed :: 0 { prop NoGen :: 1 } global OBJMEMSEG :: IRAM { prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}" prop MemberType :: MEM prop MemberTest :: MEM.dataMember($1) prop Label :: "Object Memory" prop JSName :: "OBJMEMSEG" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 } global USEISSUERECLAIM :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Use Only Issue/Reclaim Model" prop JSName :: "USEISSUERECLAIM" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 prop Set :: (self.USEISSUERECLAIM = $1, if ($1 == 1) {scan ($i; SIO) {$i.iModelName = "Issue/Reclaim"}} , "ok") } inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "comment" prop JSName :: "comment" prop Visible :: 1 prop Writable :: if self.iDelUser == "USER" {1} else {0} prop NoGen :: 1 } inst iIsUsed :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iId :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iDelUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDelMsg :: "ok" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDevice :: SIO.devList { prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}" prop TypeTest :: $1.isDriver == 1 prop MemberTest :: $1.driverType != "DEV_IOMTYPE" prop Label :: "Device" prop JSName :: "deviceName" prop Set :: (if (($1.iIsTerminal == 0) && (self.iDevCtrlParam == "")) {self.error("To select a stacking device, enter first a terminal device in Device Control String")} else {if ($1.iIsVirtual == 1) {self.error("The device you have selected is a virtual instance, you must select a non-virtual device")} else {scan ($a; DIO) {if ($a == self.iDevice) {self.iDevice.numTimeUse--} }, scan ($b; DIO) {if ($b == $1) {$1.numTimeUse++} }, self.iDevice = self.setDev($1), "ok"}}) prop Visible :: 1 prop Writable :: 1 } inst iDevCtrlParam :: "" { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Device Control String" prop JSName :: "controlParameter" prop Visible :: 1 prop Writable :: 1 } inst iDevId :: = self.iDevice.iDevId inst iFxns :: = self.iDevice.iFxns inst iMode :: "input" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "input,output" prop Label :: "Mode" prop JSName :: "mode" prop Visible :: 1 prop Writable :: 1 } inst iBufsize :: 0x80 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x02 prop Label :: "Buffer size" prop JSName :: "bufSize" prop Visible :: 1 prop Writable :: 1 } inst iNbufs :: 2 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Label :: "Number of buffers" prop JSName :: "numBufs" prop Visible :: 1 prop Writable :: 1 } inst iBufSegid :: = self.OBJMEMSEG { prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}" prop MemberType :: MEM prop MemberTest :: MEM.dataMember($1) prop Label :: "Place buffers in memory segment" prop JSName :: "bufSegId" prop Visible :: 1 prop Writable :: self.iAllocBuf == 1 } inst iAlign :: 1 { prop Type :: "{A11FE980-C07A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768" prop Label :: "Buffer alignment" prop JSName :: "bufAlign" prop Visible :: 1 prop Writable :: self.iAllocBuf == 1 } inst iFlush :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Flush" prop JSName :: "flush" prop Visible :: 1 prop Writable :: 1 } inst iModelName :: "Standard" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "Standard,Issue/Reclaim" prop Label :: "Model" prop JSName :: "modelName" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 prop Set :: ($e = "ok", if (self.USEISSUERECLAIM == 1) {if ($1 == "Standard") {$e = self.error("SIO Issue/Reclaim model support selected")} else {self.iModel = if $1 == "Standard" {"SIO_STANDARD"} else {"SIO_ISSUERECLAIM"}, self.iModelName = $1}} else {self.iModel = if $1 == "Standard" {"SIO_STANDARD"} else {"SIO_ISSUERECLAIM"}, self.iModelName = $1}, $e) } inst iAllocBuf :: = self.iSaveAllocBuf { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Allocate Static Buffer(s)" prop JSName :: "allocStaticBuf" prop Visible :: 1 prop Writable :: 1 prop Set :: (self.iSaveAllocBuf = $1, "ok") } inst iSaveAllocBuf :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } inst iModel :: "SIO_STANDARD" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "SIO_STANDARD,SIO_ISSUERECLAIM" prop Visible :: 0 prop Writable :: 0 } inst iTimeout :: = if self.iModel == "SIO_ISSUERECLAIM" {self.iSaveTimeout} else {-1} { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Timeout for I/O operation" prop JSName :: "timeout" prop Visible :: 1 prop Writable :: self.iModel == "SIO_ISSUERECLAIM" prop Set :: (self.iSaveTimeout = $1, "ok") } inst iSaveTimeout :: -1 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } inst useCallBackFxn :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "use callback function" prop JSName :: "useCallBackFxn" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 prop TabName :: "Callback" } inst callBackFxn :: @_FXN_F_nop { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "callback function" prop JSName :: "callBackFxn" prop Visible :: 1 prop Writable :: self.useCallBackFxn prop NoGen :: 0 prop TabName :: "Callback" } inst arg0 :: 0 { prop Type :: "{E91790E0-0456-11d2-B8D0-006008BDB66F}" prop Label :: "argument 0" prop JSName :: "arg0" prop Visible :: 1 prop Writable :: self.useCallBackFxn prop NoGen :: 0 prop TabName :: "Callback" } inst arg1 :: 0 { prop Type :: "{E91790E0-0456-11d2-B8D0-006008BDB66F}" prop Label :: "argument 1" prop JSName :: "arg1" prop Visible :: 1 prop Writable :: self.useCallBackFxn prop NoGen :: 0 prop TabName :: "Callback" } } type GIO { isa Module prop Visible :: 1 prop name :: "GIO" prop Label :: "GIO - General Input/Output Manager" prop IsConfMod :: self.USEGIO prop IsContainedIn :: IOF prop DependsOn :: "UDEV" prop GlobalIcon :: 141 prop InstanceIcon :: 142 prop GlobalHelpTopic :: (320) prop InstanceHelpTopic :: (420) prop InstancePropertyPage :: ("{473C4A62-B1A8-11d0-9885-0020AFEE33C6}") prop GlobalPropertyPage :: ("{473C4A63-B1A8-11d0-9885-0020AFEE33C6}") prop AllocType :: ("1 , _globalAllocDesc, _memSeg, _midPlace") prop _globalAllocDesc :: ("%8t .gio: {}") prop _midPlace :: (0x7fffffff / 2) prop _memSeg :: MEM.CFGOBJSEG global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global CALLBACKOBJ :: nil { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global USEGIO :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Enable General Input/Output Manager" prop JSName :: "ENABLEGIO" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 } global CREATEFXN :: = if self.USEGIO == 1 {@_SEM_create} else {@_FXN_F_nop} { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Create Function" prop JSName :: "CREATEFXN" prop Visible :: 1 prop Writable :: self.USEGIO prop NoGen :: 0 } global DELETEFXN :: = if self.USEGIO == 1 {@_SEM_delete} else {@_FXN_F_nop} { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Delete Function" prop JSName :: "DELETEFXN" prop Visible :: 1 prop Writable :: self.USEGIO prop NoGen :: 0 } global PENDFXN :: = if self.USEGIO == 1 {@_SEM_pend} else {@_FXN_F_nop} { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Pend Function" prop JSName :: "PENDFXN" prop Visible :: 1 prop Writable :: self.USEGIO prop NoGen :: 0 } global POSTFXN :: = if self.USEGIO == 1 {@_SEM_post} else {@_FXN_F_nop} { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Post Function" prop JSName :: "POSTFXN" prop Visible :: 1 prop Writable :: self.USEGIO prop NoGen :: 0 } } type DEV { isa ObjectMgr prop name :: "DEV" prop Visible :: 0 prop AllocType :: (if (self.gNumOf > 0) {"1 , _bssAllocDesc, _memSeg, _placement"} , if (self.devCount() > 0) {"1 , _devtableDesc, _memSeg, _placement"} ) prop _bssAllocDesc :: ("%8t .dev: {}") prop _devtableDesc :: ("%8t .devtable: {}") prop _memSeg :: MEM.CFGOBJSEG prop _placement :: (0x7fffffff / 2) prop DependsOn :: "HWI" prop devCount :: ($i = nil, $a = 0, scan ($i; nil) {if ($i.isDriver == 1) {$a = $a + $i.gNumOf} }, $a) global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "comment" prop JSName :: "comment" prop Visible :: 1 prop Writable :: if self.iDelUser == "USER" {1} else {0} prop NoGen :: 1 } inst iIsUsed :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iId :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iDelUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDelMsg :: "ok" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } } type UDEV { isa ObjectMgr prop name :: "UDEV" prop Label :: "User-Defined Devices" prop IsContainedIn :: SIODRIVER prop DependsOn :: "DEV" prop GlobalIcon :: 127 prop InstanceIcon :: 128 prop GlobalHelpTopic :: (315) prop InstanceHelpTopic :: (415) prop InstancePropertyPage :: ("{7AE86AA0-35C0-11d1-988B-0020AFEE33C6}") prop GlobalPropertyPage :: ("{7AE86AA1-35C0-11d1-988B-0020AFEE33C6}") prop maxObjs :: (32767) prop isDriver :: (1) prop AllocType :: (if (self.gNumOf > 0) {"1 , _globalAllocDesc, _memSeg, _placement"} ) prop _globalAllocDesc :: ("%8t .udev: {}") prop _placement :: (0x7fffffff / 2) prop _memSeg :: MEM.CFGOBJSEG prop _driverType :: (if self.fxnTableType == "DEV_Fxns" {"DEV_SIOTYPE"} else {"DEV_IOMTYPE"}) global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "comment" prop JSName :: "comment" prop Visible :: 1 prop Writable :: if self.iDelUser == "USER" {1} else {0} prop NoGen :: 1 } inst iIsUsed :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iId :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iDelUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDelMsg :: "ok" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iInit :: 0 { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "init function" prop JSName :: "initFxn" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 prop Set :: (self.iInit = $1, self.initFxn = self.iInit, "ok") } inst iFxns :: 0 { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "function table ptr" prop JSName :: "fxnTable" prop Visible :: 1 prop Writable :: 1 } inst fxnTableType :: "DEV_Fxns" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "DEV_Fxns,IOM_Fxns" prop Label :: "function table type" prop JSName :: "fxnTableType" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 } inst driverType :: = self._driverType { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: "DEV_SIOTYPE,DEV_IOMTYPE" prop Visible :: 0 } inst iDevId :: 0 { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "device id" prop JSName :: "deviceId" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 prop Set :: (self.iDevId = $1, self.deviceId = self.iDevId, "ok") } inst iParams :: 0 { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "device params ptr" prop JSName :: "params" prop Visible :: 1 prop Writable :: 1 } inst deviceId :: 0 { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop JSName :: "" prop Visible :: 0 } inst initFxn :: 0 { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop JSName :: "" prop Visible :: 0 } inst iIsStacking :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Stacking Device" prop JSName :: "stackingDevice" prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst deviceGlobalDataPtr :: 0 { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "device global data ptr" prop JSName :: "deviceGlobalDataPtr" prop Visible :: 1 prop Writable :: self.fxnTableType == "IOM_Fxns" } inst iIsTerminal :: = if self.fxnTableType == "DEV_Fxns" {1} else {0} { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } inst iIsVirtual :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } } type DIO { isa ObjectMgr prop Visible :: 1 prop Label :: "DIO - Class Driver" prop name :: "DIO" prop IsContainedIn :: SIODRIVER prop DependsOn :: "UDEV" prop GlobalIcon :: 127 prop InstanceIcon :: 127 prop GlobalHelpTopic :: (319) prop InstanceHelpTopic :: (419) prop InstancePropertyPage :: ("{f80273c0-3838-11d2-a32c-006097656921}") prop GlobalPropertyPage :: ("{050a0600-3839-11d2-a32c-006097656921}") prop maxObjs :: (32767) prop AllocType :: (if (self.gNumOf > 0) {"1 , _globalAllocDesc, _memSeg, _placement"} ) prop _globalAllocDesc :: ("%8t .dio: {}") prop _placement :: (0x7fffffff / 2) prop _memSeg :: self.OBJMEMSEG prop isDriver :: (1) prop mdObject :: ($h = nil, $j = nil, scan ($h; UDEV) {if ($h.driverType == "DEV_IOMTYPE") {$j = $h, break} }, $j) prop localCanCreate :: (if (self.mdObject == nil) {self.error("An IOM type device must be created first.")} else {"ok"}) prop numTsk :: ($a = 0, $h = nil, scan ($h; DIO) {if ($h.useCallBackFxn == 0) {$a = $a + $h.numTimeUse} }, $a) prop numSwi :: ($a = 0, $h = nil, scan ($h; DIO) {if ($h.useCallBackFxn == 1) {$a = $a + $h.numTimeUse} }, $a) prop functionTablePtr :: (if (self.STATIC) {if (self.useCallBackFxn) {@_DIO_cbStaticFxns} else {@_DIO_tskStaticFxns}} else {if (self.useCallBackFxn) {@_DIO_cbDynamicFxns} else {@_DIO_tskDynamicFxns}}) global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global OBJMEMSEG :: IRAM { prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}" prop MemberType :: MEM prop MemberTest :: MEM.dataMember($1) prop Label :: "Object Memory" prop JSName :: "OBJMEMSEG" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 } global STATIC :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Create all DIO Objects Statically" prop JSName :: "STATICCREATE" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 } global NUMTSKBASE :: = self.numTsk { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "TSK based" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 0 } global NUMSWIBASE :: = self.numSwi { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "SWI based" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 0 } inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "comment" prop JSName :: "comment" prop Visible :: 1 prop Writable :: if self.iDelUser == "USER" {1} else {0} prop NoGen :: 1 } inst iIsUsed :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iId :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iDelUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDelMsg :: "ok" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst useCallBackFxn :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "use callback version of DIO function table (for SWI)" prop JSName :: "useCallBackFxn" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 } inst fxnsTable :: = self.functionTablePtr { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Visible :: 1 prop Writable :: 0 prop NoGen :: 0 } inst initFxn :: @_DIO_init { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 0 } inst deviceName :: self.mdObject { prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}" prop MemberType :: UDEV prop MemberTest :: $1.driverType == "DEV_IOMTYPE" prop Label :: "device name" prop JSName :: "deviceName" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 } inst chanParams :: 0 { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "channel parameters" prop JSName :: "chanParams" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 } inst numTimeUse :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDevId :: 0 { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iFxns :: = self.functionTablePtr { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iIsTerminal :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } inst iIsVirtual :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } } type DGN { isa ObjectMgr prop name :: "DGN" prop Label :: "DGN - Software Generator Driver" prop IsContainedIn :: SIODRIVER prop GlobalIcon :: 127 prop InstanceIcon :: 128 prop GlobalHelpTopic :: (302) prop InstanceHelpTopic :: (402) prop InstancePropertyPage :: ("{054FE166-B014-11d0-9885-0020AFEE33C6}") prop GlobalPropertyPage :: ("{054FE167-B014-11d0-9885-0020AFEE33C6}") prop DependsOn :: "DEV" prop maxObjs :: (32767) prop isDriver :: (1) prop AllocType :: (if (self.gNumOf > 0) {"1 , _globalAllocDesc, _memSeg, _placement"} ) prop _globalAllocDesc :: ("%8t .dgn: {}") prop _placement :: (0x7fffffff / 2) prop _memSeg :: MEM.CFGOBJSEG global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "comment" prop JSName :: "comment" prop Visible :: 1 prop Writable :: if self.iDelUser == "USER" {1} else {0} prop NoGen :: 1 } inst iIsUsed :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iId :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iDelUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDelMsg :: "ok" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDevice :: "user" { prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}" prop Enum :: if GBL.DSPARITHMETIC == "FLOAT" {"user,sine,random,constant,printFloat,printHex,printInt"} else {"user,sine,random,constant,printHex,printInt"} prop Label :: "Device category" prop JSName :: "device" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 prop Set :: ($a = $1, if ($a != self.iDevice) {self.iDevice = $a, self.iUserFxn = @_FXN_F_nop} , if ($a == "user") {self.iUserFxn = self.iSaveUserFxn} , if ($a == "printFloat") {self.iUserFxn = @_DGN_printFloat} , if ($a == "printHex") {self.iUserFxn = @_DGN_printHex} , if ($a == "printInt") {self.iUserFxn = @_DGN_printInt} , "ok") } inst iUseDefaults :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Use default parameters" prop Visible :: 1 prop JSName :: "useDefaultParam" prop Writable :: self.iDevice == "sine" || self.iDevice == "constant" || self.iDevice == "random" || self.iDevice == "user" } inst iDevId :: = if self.iDevice == "constant" {@DGN_CONST} else {if self.iDevice == "random" {@DGN_RAND} else {if self.iDevice == "sine" {@DGN_SINE} else {@DGN_USER}}} { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Device ID" prop JSName :: "deviceId" prop Visible :: 1 prop Writable :: 0 } inst iIsTerminal :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } inst iIsVirtual :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } inst iConstant :: if GBL.DSPARITHMETIC == "FIXED" {1} else {1.0} { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Style :: if GBL.DSPARITHMETIC == "FIXED" {0} else {0x04} prop Format :: if GBL.DSPARITHMETIC == "FIXED" {"%d"} else {"%f"} prop Label :: "Constant value" prop JSName :: "constant" prop Visible :: 1 prop Writable :: self.iUseDefaults == 0 && (self.iDevice == "constant" || self.iDevice == "user") } inst iRandSeed :: 1 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Seed value" prop JSName :: "seedValue" prop Visible :: 1 prop Writable :: self.iUseDefaults == 0 && (self.iDevice == "random" || self.iDevice == "user") } inst iRandLower :: if GBL.DSPARITHMETIC == "FIXED" {-32767} else {0.0} { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Style :: if GBL.DSPARITHMETIC == "FIXED" {0} else {0x04} prop Format :: if GBL.DSPARITHMETIC == "FIXED" {"%d"} else {"%f"} prop Label :: "Lower limit" prop JSName :: "lowerLimit" prop Visible :: 1 prop Writable :: self.iUseDefaults == 0 && (self.iDevice == "random" || self.iDevice == "user") } inst iRandUpper :: if GBL.DSPARITHMETIC == "FIXED" {32767} else {1.0} { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Style :: if GBL.DSPARITHMETIC == "FIXED" {0} else {0x04} prop Format :: if GBL.DSPARITHMETIC == "FIXED" {"%d"} else {"%f"} prop Label :: "Upper limit" prop JSName :: "upperLimit" prop Visible :: 1 prop Writable :: self.iUseDefaults == 0 && (self.iDevice == "random" || self.iDevice == "user") } inst iSineGain :: if GBL.DSPARITHMETIC == "FIXED" {32767} else {1.0} { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Style :: if GBL.DSPARITHMETIC == "FIXED" {0} else {0x04} prop Format :: if GBL.DSPARITHMETIC == "FIXED" {"%d"} else {"%f"} prop Label :: "Gain" prop JSName :: "gain" prop Visible :: 1 prop Writable :: self.iUseDefaults == 0 && (self.iDevice == "sine" || self.iDevice == "user") } inst iSineFreq :: if GBL.DSPARITHMETIC == "FIXED" {1} else {1000.0} { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Style :: if GBL.DSPARITHMETIC == "FIXED" {0} else {0x04} prop Format :: if GBL.DSPARITHMETIC == "FIXED" {"%d"} else {"%f"} prop Label :: "Frequency (Hz)" prop JSName :: "frequency" prop Visible :: 1 prop Writable :: self.iUseDefaults == 0 && (self.iDevice == "sine" || self.iDevice == "user") } inst iSinePhase :: if GBL.DSPARITHMETIC == "FIXED" {0} else {0.0} { prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}" prop Style :: if GBL.DSPARITHMETIC == "FIXED" {0} else {0x04} prop Format :: if GBL.DSPARITHMETIC == "FIXED" {"%d"} else {"%f"} prop Label :: "Phase (radians)" prop JSName :: "phase" prop Visible :: 1 prop Writable :: self.iUseDefaults == 0 && (self.iDevice == "sine" || self.iDevice == "user") } inst iSineRate :: if GBL.DSPARITHMETIC == "FIXED" {256} else {44000} { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Sample rate (samples/sec)" prop JSName :: "rate" prop Visible :: 1 prop Writable :: self.iUseDefaults == 0 && (self.iDevice == "sine" || self.iDevice == "user") } inst iUserFxn :: if self.iDevice == "printFloat" {@_DGN_printFloat} else {if self.iDevice == "printHex" {@_DGN_printHex} else {if self.iDevice == "printInt" {@_DGN_printInt} else {@_FXN_F_nop}}} { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "User function" prop JSName :: "fxn" prop Visible :: 1 prop Writable :: self.iDevice == "user" prop Set :: (self.iUserFxn = $1, self.iSaveUserFxn = self.iUserFxn, "ok") } inst iSaveUserFxn :: @_FXN_F_nop { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iUserArg :: = 0 { prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "User function argument" prop JSName :: "arg" prop Visible :: 1 prop Writable :: self.iDevice == "user" } inst iFxns :: @_DGN_FXNS { prop NoGen :: 1 } } type DHL { isa ObjectMgr prop name :: "DHL" prop Label :: "DHL - Host Link Driver" prop IsContainedIn :: SIODRIVER prop GlobalHelpTopic :: (303) prop InstanceHelpTopic :: (403) prop InstancePropertyPage :: ("{9C29DA20-90F9-11d1-988B-0020AFEE33C6}") prop GlobalPropertyPage :: ("{9C29DA21-90F9-11d1-988B-0020AFEE33C6}") prop GlobalIcon :: 127 prop InstanceIcon :: 128 prop DependsOn :: "DEV" prop Visible :: 1 prop isDriver :: 1 prop objectSize :: (if (GBL.DSPTYPE == 62) {$a = (19)} , if (GBL.DSPTYPE == 54 && GBL.FARMODE == 1) {$a = (22)} , if (GBL.DSPTYPE == 54 && GBL.FARMODE == 0) {$a = (19)} , if (GBL.DSPTYPE == 55 && GBL.MEMORYMODEL == "LARGE") {$a = (34)} , if (GBL.DSPTYPE == 55 && GBL.MEMORYMODEL == "HUGE") {$a = (34)} , if (GBL.DSPTYPE == 55 && GBL.MEMORYMODEL == "SMALL") {$a = (22)} , if (GBL.DSPTYPE == 28) {$a = (34)} , $a) prop dataSize :: (DHL.objectSize * DHL.gNumOf * (GBL.DSPWORDSIZE / GBL.DSPCHARSIZE)) prop localCanCreate :: (if (self.gChannelsAvailable > 0) {"ok"} else {self.warning("No HST channels are available for a new DHL device.")}) prop localCreate :: (self.gChannelsAvailable--, self.seizeHSTChannel(self.iHSTChannel), "ok") prop seizeHSTChannel :: ($1.iDelUser = "DHL", $1.iDHLAvailable = 0, $1.notify = @_DHL_notify, $1.arg0 = $1.iId, "ok") prop localDelete :: (self.gChannelsAvailable++, self.releaseHSTChannel(self.iHSTChannel), "ok") prop releaseHSTChannel :: ($1.iDelUser = "USER", $1.iDHLAvailable = 1, $1.notify = @_FXN_F_nop, $1.arg0 = 0, "ok") prop AllocType :: (if (self.gNumOf > 0) {"1 , _globalAllocDesc, _memSeg, _placement"} ) prop _globalAllocDesc :: "%8t .dhl: {}" prop _memSeg :: self.OBJMEMSEG prop _placement :: (0x7fffffff / 2) global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gChannelsAvailable :: 0 global OBJMEMSEG :: IRAM { prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}" prop MemberType :: MEM prop MemberTest :: MEM.dataMember($1) prop Label :: "Object Memory" prop JSName :: "OBJMEMSEG" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 1 } inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "comment" prop JSName :: "comment" prop Visible :: 1 prop Writable :: if self.iDelUser == "USER" {1} else {0} prop NoGen :: 1 } inst iIsUsed :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iId :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iDelUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDelMsg :: "ok" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iHSTChannel :: (scan ($i; HST) {if ($i.iDHLAvailable == 1) {$a = $i} }, $a) { prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}" prop Label :: "Underlying HST Channel" prop JSName :: "hstChannel" prop MemberType :: HST prop MemberTest :: (if (($1.iDHLAvailable == 1) || ($1 == self.iHSTChannel)) {1} else {0}) prop Set :: (if ($1.iDHLAvailable != 1) {self.error("This channel is already in use.")} else {self.releaseHSTChannel(self.iHSTChannel), self.seizeHSTChannel($1), self.iHSTChannel = $1, "ok"}) prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 } inst iMode :: = self.iHSTChannel.mode { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Mode" prop JSName :: "mode" prop Visible :: 1 prop Writable :: 0 prop NoGen :: 0 } inst iDevId :: = (self.iHSTChannel.iId) { prop NoGen :: 0 } inst iIsTerminal :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } inst iIsVirtual :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } inst iFxns :: @_DHL_FXNS { prop NoGen :: 1 } } type DPI { isa ObjectMgr prop name :: "DPI" prop Label :: "DPI - Pipe Driver" prop IsContainedIn :: SIODRIVER prop GlobalIcon :: 127 prop InstanceIcon :: 128 prop GlobalHelpTopic :: (304) prop InstanceHelpTopic :: (404) prop InstancePropertyPage :: ("{7FE06FA0-2DE9-11d1-988B-0020AFEE33C6}") prop GlobalPropertyPage :: ("{7FE06FA1-2DE9-11d1-988B-0020AFEE33C6}") prop DependsOn :: "DEV" prop maxObjs :: (32767) prop isDriver :: (1) prop localCreate :: (self.gCurDevId += 1, "ok") global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gCurDevId :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "comment" prop JSName :: "comment" prop Visible :: 1 prop Writable :: if self.iDelUser == "USER" {1} else {0} prop NoGen :: 1 } inst iIsUsed :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iId :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iDelUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDelMsg :: "ok" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDevId :: DPI.gCurDevId { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop Writable :: 0 prop Set :: (self.error("DPI.iDevId parameter no longer settable, it is now handled automatically")) } inst iIsVirtual :: 0 { prop Label :: "Allow virtual instances of this device." prop JSName :: "allowVirtual" prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 prop Set :: (if ($1 == 1) {$a = "ok", $b = 1, scan ($i; SIO) {if ($i.iDevice == self) {$a = self.error("This DPI instance is being used by one or more SIO instances, cannot reconfigure"), $b = 0} }, if ($b == 1) {self.iIsVirtual = 1} , $a} else {self.iIsVirtual = 0, "ok"}) } inst iIsTerminal :: 1 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop NoGen :: 1 } inst iFxns :: @_DPI_FXNS { prop NoGen :: 1 } } type MSGQ { isa Module prop Visible :: 1 prop name :: "MSGQ" prop Label :: "MSGQ - Message Queue Manager" prop IsConfMod :: self.USEMSGQ prop IsContainedIn :: IOF prop DependsOn :: "GIO,SIO" prop GlobalIcon :: 131 prop InstanceIcon :: 132 prop GlobalHelpTopic :: (323) prop InstanceHelpTopic :: (423) prop InstancePropertyPage :: ("{473C4A62-B1A8-11d0-9885-0020AFEE33C6}") prop GlobalPropertyPage :: ("{473C4A63-B1A8-11d0-9885-0020AFEE33C6}") global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global USEMSGQ :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Enable MSGQ Manager" prop JSName :: "ENABLEMSGQ" prop Visible :: 1 prop Writable :: 1 prop NoGen :: 0 } } type HOOK { isa ObjectMgr prop name :: "HOOK" prop Label :: "HOOK - Module Hook Manager" prop IsContainedIn :: SYSTEM prop DependsOn :: "SWI" prop InstancePropertyPage :: ("{473C4A64-B1A8-11d0-9885-0020AFEE33C6}") prop GlobalIcon :: 181 prop InstanceIcon :: 182 prop GlobalHelpTopic :: (318) prop InstanceHelpTopic :: (418) prop localCreate :: (if (self.gNumOf == 0) {HOOK_KNL.iIsUsed = 1, self.mkId(0)} , "ok") prop localDelete :: (if (self.gNumOf == 2) {HOOK_KNL.iIsUsed = 0, self.rmId} , "ok") prop maxObjs :: (32767) prop SortByField :: "iPri" prop SortGroups :: 1 global gUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gSetOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gNumOf :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gDirty :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInitFlag :: 1 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global gInit :: = ($a = 0, $b = 0, scan ($i; self) {if ($i.IsConfObj()) {$a += 1, if (self.isFinite) {$b |= 1 << $i.iId} } }, self.gNumOf = $a, self.gSetOf = $b, if (self.gInitFlag == 0) {self.localInit()} , self.gInitFlag = 1) { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } global KNLID :: = (HOOK_KNL.Order - 1) { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" } inst iComment :: if self.iDelUser == "USER" {"<add comments here>"} else {self.iDelMsg} { prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "comment" prop JSName :: "comment" prop Visible :: 1 prop Writable :: if self.iDelUser == "USER" {1} else {0} prop NoGen :: 1 } inst iIsUsed :: 0 { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iId :: 0 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop Style :: 0x01 prop Visible :: 0 prop Writable :: 1 prop NoGen :: 1 } inst iDelUser :: "USER" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst iDelMsg :: "ok" { prop Visible :: 0 prop Writable :: 0 prop NoGen :: 1 } inst initFxn :: @_FXN_F_nop { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Initialization function" prop JSName :: "initFxn" prop Visible :: 1 prop Writable :: 1 } inst createFxn :: @_FXN_F_nop { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Create function" prop JSName :: "createFxn" prop Visible :: 1 prop Writable :: self.iDelUser == "USER" } inst deleteFxn :: @_FXN_F_nop { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Delete function" prop JSName :: "deleteFxn" prop Visible :: 1 prop Writable :: self.iDelUser == "USER" } inst exitFxn :: @_FXN_F_nop { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Exit function" prop JSName :: "exitFxn" prop Visible :: 1 prop Writable :: self.iDelUser == "USER" } inst callSwitchFxn :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Call switch function" prop JSName :: "callSwitchFxn" prop Visible :: 1 prop Writable :: self.iDelUser == "USER" } inst switchFxn :: @_FXN_F_nop { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Switch function" prop JSName :: "switchFxn" prop Visible :: 1 prop Writable :: self.callSwitchFxn } inst callReadyFxn :: 0 { prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}" prop Label :: "Call ready function" prop JSName :: "callReadyFxn" prop Visible :: 1 prop Writable :: self.iDelUser == "USER" } inst readyFxn :: @_FXN_F_nop { prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}" prop Label :: "Ready function" prop JSName :: "readyFxn" prop Visible :: 1 prop Writable :: self.callReadyFxn } inst Order :: 2 { prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}" prop JSName :: "order" prop NoGen :: 1 prop Writable :: 1 } inst iPri :: 0 { prop Type :: "{A11FE980-C07A-11cf-9BFE-0000C0AC14C7}" prop Visible :: 0 prop NoGen :: 1 } } object HOOK_KNL :: HOOK { param iComment :: "Used to support TSK function hooks (cannot be deleted)" param iIsUsed :: 0 param iId :: 0 param iDelUser :: "HOOK" param iDelMsg :: "This hook instance is used by TSK and cannot be deleted" param initFxn :: @_FXN_F_nop param createFxn :: @_FXN_F_nop param deleteFxn :: @_FXN_F_nop param exitFxn :: @_FXN_F_nop param callSwitchFxn :: 0 param switchFxn :: @_FXN_F_nop param callReadyFxn :: 0 param readyFxn :: @_FXN_F_nop param Order :: 1 param iPri :: 0 } object IRAM :: MEM { param iComment :: "Internal L2 memory" param iIsUsed :: 1 param iId :: 0 param iDelUser :: "USER" param iDelMsg :: "ok" param base :: 0 param len :: 524288 param iAllocHeap :: 1 param iHeapSize :: 32768 param iUserHeapId :: 0 param iHeapId :: @segment_name param iReqHeapCount :: 2 param space :: "code/data" param dynamicLoading :: 0 param iIsModifiable :: 1 }