jpeg_motion.cdb
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:1020k
- param iIntrSelectNum :: 11
- }
- object MCSP_0_Transmit :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 12
- }
- object MCSP_0_Receive :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 13
- }
- object MCSP_1_Transmit :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 14
- }
- object MCSP_1_Receive :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 15
- }
- object HPI_PCI_to_DSP :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 0
- }
- object EMIFA_SDRAM_Timer :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iIntrSelectNum :: 3
- }
- object GPIO_Interrupt_4 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_INT4
- param iIntrSelectNum :: 4
- }
- object GPIO_Interrupt_5 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_INT5
- param iIntrSelectNum :: 5
- }
- object GPIO_Interrupt_6 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_INT6
- param iIntrSelectNum :: 6
- }
- object GPIO_Interrupt_7 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_INT7
- param iIntrSelectNum :: 7
- }
- object EDMA_Interrupt :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_INT8
- param iIntrSelectNum :: 8
- }
- object JTAGRTDX9 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 9
- }
- object EMU_DTDMA :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_INT9
- param iIntrSelectNum :: 9
- }
- object EMU_RTDX_RX :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_INT10
- param iIntrSelectNum :: 10
- }
- object EMU_RTDX_TX :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_INT11
- param iIntrSelectNum :: 11
- }
- object GPIO_Interrupt_0 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 16
- }
- object MCSP_2_Transmit :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 17
- }
- object MCSP_2_Receive :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 18
- }
- object Timer_2 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 19
- }
- object EMIFB_SDRAM_Timer :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 20
- }
- object PCI_WAKEUP :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 21
- }
- object ICINT0 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iIntrSelectNum :: 22
- }
- object UTOPIA_Interrupt :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iHwi :: HWI_UNUSED
- param iIntrSelectNum :: 23
- }
- object EMAC_MDIO_INT :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iIntrSelectNum :: 24
- }
- object VPINT0 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iIntrSelectNum :: 25
- }
- object VPINT1 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iIntrSelectNum :: 26
- }
- object VPINT2 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iIntrSelectNum :: 27
- }
- object AXINT0 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iIntrSelectNum :: 28
- }
- object ARINT0 :: ISRC {
- param iComment :: "<add comments here>"
- param iIsUsed :: 0
- param iId :: 0
- param iDelUser :: "USER"
- param iDelMsg :: "ok"
- param iIntrSelectNum :: 29
- }
- type LOG {
- isa ObjectMgr
- prop name :: "LOG"
- prop Label :: "LOG - Event Log Manager"
- prop IsContainedIn :: INS
- prop GlobalIcon :: 113
- prop InstanceIcon :: 114
- prop InstanceHelpTopic :: (207)
- prop GlobalHelpTopic :: (107)
- prop InstancePropertyPage :: ("{B7240DE8-AA51-11cf-9BFE-0000C0AC14C7}")
- prop GlobalPropertyPage :: ("{B7240DE9-AA51-11cf-9BFE-0000C0AC14C7}")
- prop maxObjs :: (32767)
- prop AllocType :: ("2 , _globalAllocDesc, _memSeg, _placement, _printfAllocDesc, _memSeg, _placement")
- prop _globalAllocDesc :: ("%8t .%1L: {%12tn %1U_A_TABBEG = .;n _%1U_A_TABBEG = .;n %2Sn %1U_A_TABEND = .;n _%1U_A_TABEND = .;n %1U_A_TABLEN = (. - _%1U_A_TABBEG) / %3d;n _%1U_A_TABLEN = (. - _%1U_A_TABBEG) / %3d;%8tn } , name, _linkString, _objSize")
- prop _printfAllocDesc :: ("%8t .printf (COPY): {}")
- prop _placement :: (0x7fffffff / 2)
- prop AllocInst :: ("1 , _instAllocDesc, _objMemSeg, _placement")
- prop _fillValue :: if GBL.DSPWORDSIZE == 16 {0xffff} else {0xffffffff}
- prop _instAllocDesc :: ("%8t /* %0s buffer */n .%0s$buf: align = 0x%1x fill = 0x%2x {} , _objAlign, _fillValue")
- prop _objSize :: if GBL.DSPTYPE == 55 {(2 * (6 * 4))} else {(6 * 4)}
- prop _memSeg :: LOG.OBJMEMSEG
- prop _linkString :: if self.gNumOf > 0 {"*(.%1L)"} else {"/* no %1U objects */"}
- prop _objAlign :: if GBL.DSPTYPE == 55 {self.buflen * (GBL.DSPWORDSIZE / GBL.DSPCHARSIZE) * 2} else {self.buflen * (GBL.DSPWORDSIZE / GBL.DSPCHARSIZE)}
- prop _objMemSeg :: self.bufseg
- prop LogType :: self.iType
- prop LogFormat :: self.iFormat
- prop cGen :: 1
- prop cHeaderName :: if self.gNumOf > 0 {"log.h"} else {""}
- prop cGenHInst :: (if (GBL.DSPTYPE == 62) {"extern far LOG_Obj %0r;n "} else {"extern LOG_Obj %0r;n "})
- prop dataSize :: ($d = 0, scan ($i; LOG) {if ($i.IsConfObj()) {$d += $i.buflen} , $d += (6 * 4)}, $d)
- 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 :: 2 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 1 {
- 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 :: SDRAM {
- 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 ENABLED :: 1 {
- prop Type :: "{21455EA0-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "Compile in logging"
- 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 bufseg :: = self.OBJMEMSEG {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: MEM
- prop MemberTest :: MEM.dataMember($1)
- prop Label :: "bufseg"
- prop JSName :: "bufSeg"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 0
- }
- inst buflen :: 64 {
- prop Type :: "{A11FE980-C07A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "0,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768"
- prop Label :: "buflen (words)"
- prop JSName :: "bufLen"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 0
- prop Set :: (GlobalStatus.gDirty = 1, self.buflen = $1, "ok")
- }
- inst logtype :: "circular" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "circular,fixed"
- prop Label :: "logtype"
- prop JSName :: "logType"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 0
- }
- inst iType :: "printf" {
- prop Label :: "datatype"
- prop JSName :: "dataType"
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "printf,raw data"
- prop Visible :: 1
- prop Writable :: if self.iType == "system" {0} else {1}
- prop NoGen :: 1
- }
- inst iFormat :: "0x%x, 0x%x, 0x%x" {
- prop Label :: "format"
- prop JSName :: "format"
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 1
- prop Writable :: if self.iType == "raw data" {1} else {0}
- prop NoGen :: 1
- }
- }
- object LOG_system :: LOG {
- param iComment :: "This object is required by the system to accumulate execution trace information"
- param iIsUsed :: 1
- param iId :: 0
- param iDelUser :: "LOG"
- param iDelMsg :: "LOG_system is a system log and cannot be deleted."
- param buflen :: 1024
- param logtype :: "circular"
- param iType :: "system"
- param iFormat :: "0x%x, 0x%x, 0x%x"
- }
- type PIP {
- isa ObjectMgr
- prop Label :: "PIP - Buffered Pipe Manager"
- prop IsContainedIn :: IOF
- prop GlobalIcon :: 117
- prop InstanceIcon :: 118
- prop GlobalHelpTopic :: (109)
- prop InstanceHelpTopic :: (209)
- prop name :: "PIP"
- prop maxObjs :: (32767)
- prop dataSize :: ($b = 0, scan ($i; PIP) {if ($i.IsConfObj()) {$b += (12 + $i.framesize) * $i.numframes + 100} }, $b)
- prop InstancePropertyPage :: ("{B7240DF0-AA51-11cf-9BFE-0000C0AC14C8}")
- prop GlobalPropertyPage :: ("{B7240DF1-AA51-11cf-9BFE-0000C0AC14C8}")
- prop localCreate :: ("ok")
- prop AllocType :: ("1 , _globalAllocDesc, _memSeg, _placement")
- prop _globalAllocDesc :: ("%8t .%1L: {%12tn %1U_A_TABBEG = .;n _%1U_A_TABBEG = .;n %2Sn %1U_A_TABEND = .;n _%1U_A_TABEND = .;n %1U_A_TABLEN = (. - _%1U_A_TABBEG) / %3d;n _%1U_A_TABLEN = (. - _%1U_A_TABBEG) / %3d;%8tn } , name, _linkString, _objSize")
- prop AllocInst :: ("1 , _instAllocDesc, _objMemSeg, _placement")
- prop _instAllocDesc :: (if self.bufalign > 1 {"%8t /* %0s buffer */n .pip%1d: align = 0x%2x {} , _objId, _objAlign"} else {"%8t /* %0s buffer */n .pip%1d: {} , _objId"})
- prop _placement :: (0x7fffffff / 2)
- prop _objId :: self.iId
- prop _objAlign :: self.bufalign * 4
- prop _objMemSeg :: self.bufseg
- prop _linkString :: if (self.gNumOf + self.gNumEmbed) > 0 {"*(.%1L)"} else {"/* no %1U objects */"}
- prop _memSeg :: PIP.OBJMEMSEG
- prop _objSize :: 100
- prop mkId :: (self.iId = self.gNextId++, self.gNumOf++, self.iId)
- prop cGen :: 1
- prop cHeaderName :: if self.gNumOf > 0 {"pip.h"} else {""}
- prop cGenHInst :: (if (GBL.DSPTYPE == 62) {"extern far PIP_Obj %0r;n "} else {"extern PIP_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 OBJMEMSEG :: SDRAM {
- 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 gNumEmbed :: 2 {
- prop NoGen :: 0
- }
- global gNextId :: 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 bufseg :: = self.OBJMEMSEG {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop JSName :: "bufSeg"
- prop MemberType :: MEM
- prop MemberTest :: MEM.dataMember($1)
- prop Visible :: 1
- prop Writable :: (if self.iDelUser == "USER" {1} else {0})
- prop NoGen :: 1
- }
- inst bufalign :: 1 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop JSName :: "bufAlign"
- prop Style :: 0x01 | 0x02
- prop Visible :: 1
- prop Writable :: (if self.iDelUser == "USER" {1} else {0})
- prop NoGen :: 1
- prop Set :: ($e = "ok", if ($1 == 0) {$e = self.error("Cannot set align value to 0")} else {self.bufalign = $1}, $e)
- }
- inst buf :: "<NULL>" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 0
- }
- inst framesize :: 8 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Label :: "framesize (words)"
- prop JSName :: "frameSize"
- prop Style :: if GBL.DSPTYPE == 62 {0x02} else {0x01 | 0x02}
- prop Visible :: 1
- prop Writable :: (if self.iDelUser == "USER" {1} else {0})
- prop NoGen :: 0
- prop Set :: (if ($1 < 1) {self.error("framesize must be >= 1.")} else {GlobalStatus.gDirty = 1, self.framesize = $1, "ok"})
- }
- inst numframes :: 2 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x01
- prop JSName :: "numFrames"
- prop Visible :: 1
- prop Writable :: (if self.iDelUser == "USER" {1} else {0})
- prop NoGen :: 0
- prop Set :: (if ($1 < 1) {self.error("Pipes must contain at least 1 frame.")} else {GlobalStatus.gDirty = 1, self.numframes = $1, "ok"})
- }
- inst monitor :: "reader" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop JSName :: "monitor"
- prop Enum :: "reader,writer,none"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 0
- }
- inst notifyWriter :: @_FXN_F_nop {
- prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}"
- prop JSName :: "notifyWriterFxn"
- prop Visible :: 1
- prop Writable :: (if self.iDelUser == "USER" {1} else {0})
- prop NoGen :: 0
- prop TabName :: "Notify Functions"
- }
- inst nwarg0 :: 0 {
- prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}"
- prop JSName :: "notifyWriterArg0"
- prop Visible :: 1
- prop Writable :: (if self.iDelUser == "USER" {1} else {0})
- prop NoGen :: 0
- prop TabName :: "Notify Functions"
- }
- inst nwarg1 :: 0 {
- prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}"
- prop JSName :: "notifyWriterArg1"
- prop Visible :: 1
- prop Writable :: (if self.iDelUser == "USER" {1} else {0})
- prop NoGen :: 0
- prop TabName :: "Notify Functions"
- }
- inst notifyReader :: @_FXN_F_nop {
- prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}"
- prop JSName :: "notifyReaderFxn"
- prop Visible :: 1
- prop Writable :: (if self.iDelUser == "USER" {1} else {0})
- prop NoGen :: 0
- prop TabName :: "Notify Functions"
- }
- inst nrarg0 :: 0 {
- prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}"
- prop JSName :: "notifyReaderArg0"
- prop Visible :: 1
- prop Writable :: (if self.iDelUser == "USER" {1} else {0})
- prop NoGen :: 0
- prop TabName :: "Notify Functions"
- }
- inst nrarg1 :: 0 {
- prop Type :: "{7C434D01-1629-11d0-9BFE-0000C0AC14C7}"
- prop JSName :: "notifyReaderArg1"
- prop Visible :: 1
- prop Writable :: (if self.iDelUser == "USER" {1} else {0})
- prop NoGen :: 0
- prop TabName :: "Notify Functions"
- }
- inst bufFrameAlign :: = self._objAlign {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 0
- }
- }
- type SEM {
- isa ObjectMgr
- prop name :: "SEM"
- prop Label :: "SEM - Semaphore Manager"
- prop IsContainedIn :: SYN
- prop GlobalIcon :: 137
- prop InstanceIcon :: 138
- prop GlobalHelpTopic :: (310)
- prop InstanceHelpTopic :: (410)
- prop InstancePropertyPage :: ("{D01ACC04-38DD-11d1-988B-0020AFEE33C6}")
- prop GlobalPropertyPage :: ("{D01ACC05-38DD-11d1-988B-0020AFEE33C6}")
- prop maxObjs :: (32767)
- prop AllocType :: (if (self.gNumOf > 0) {"1 , _globalAllocDesc, _memSeg, _placement"} )
- prop _globalAllocDesc :: ("%8t .sem: {}")
- prop _placement :: (0x7fffffff / 2)
- prop _memSeg :: self.OBJMEMSEG
- prop dataSize :: ((8 + 3) * SEM.gNumOf * (GBL.DSPWORDSIZE / GBL.DSPCHARSIZE))
- prop cGen :: 1
- prop cHeaderName :: if self.gNumOf > 0 {"sem.h"} else {""}
- prop cGenHInst :: (if (GBL.DSPTYPE == 62) {"extern far SEM_Obj %0r;n "} else {"extern SEM_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 CALLBACKOBJ :: nil {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global OBJMEMSEG :: SDRAM {
- 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 iCount :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x02
- prop Label :: "Initial semaphore count"
- prop JSName :: "count"
- prop Visible :: 1
- prop Writable :: 1
- }
- }
- type MBX {
- isa ObjectMgr
- prop name :: "MBX"
- prop Label :: "MBX - Mailbox Manager"
- prop IsContainedIn :: SYN
- prop GlobalIcon :: 131
- prop InstanceIcon :: 132
- prop GlobalHelpTopic :: (307)
- prop InstanceHelpTopic :: (407)
- prop InstancePropertyPage :: ("{0EB45D44-38C1-11d1-988B-0020AFEE33C6}")
- prop GlobalPropertyPage :: ("{0EB45D45-38C1-11d1-988B-0020AFEE33C6}")
- prop maxObjs :: (32767)
- prop AllocType :: (if (self.gNumOf > 0) {"1 , _bssAllocDesc, _memSeg, _placement"} )
- prop _bssAllocDesc :: ("%8t .mbx: {}")
- prop _placement :: (0x7fffffff / 2)
- prop _memSeg :: self.OBJMEMSEG
- prop AllocInst :: ("1 _instAllocDesc, _instMemSeg, _placement")
- prop _instAllocDesc :: ("%8t .%0s$que: align = 0x4 {%12tn %0s$queElems = .;n . += %1d;%8tn } , _qElemSize")
- prop _instMemSeg :: self.iMbxSeg
- prop _qElemSize :: (if ((GBL.DSPTYPE == 55) || (GBL.DSPTYPE == 28)) {$a = self.iMsgSize, if ($a & 0x1) {$a += 1} , (2 + $a) * self.iMbxLength * (GBL.DSPWORDSIZE / GBL.DSPCHARSIZE) * 2} else {(2 + self.iMsgSize) * self.iMbxLength * (GBL.DSPWORDSIZE / GBL.DSPCHARSIZE)})
- prop dataSize :: ($d = 0, scan ($i; MBX) {$d += (GBL.DSPWORDSIZE / GBL.DSPCHARSIZE) * (($i.iMsgSize + 2) * $i.iMbxLength + 29)}, $d)
- prop cGen :: 1
- prop cHeaderName :: if self.gNumOf > 0 {"mbx.h"} else {""}
- prop cGenHInst :: (if (GBL.DSPTYPE == 62) {"extern far MBX_Obj %0r;n "} else {"extern MBX_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 :: 1 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 1 {
- 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 OBJMEMSEG :: SDRAM {
- 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 iMsgSize :: 1 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x02
- prop Label :: "Message Size"
- prop JSName :: "messageSize"
- prop Visible :: 1
- prop Writable :: 1
- prop Set :: (if ($1 == 0) {self.error("Message size cannot be zero")} else {GlobalStatus.gDirty = 1, self.iMsgSize = $1, "ok"})
- }
- inst iMbxLength :: 1 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Style :: 0x02
- prop Label :: "Mailbox Length"
- prop JSName :: "length"
- prop Visible :: 1
- prop Writable :: 1
- prop Set :: (if ($1 == 0) {self.error("Mailbox length cannot be zero")} else {GlobalStatus.gDirty = 1, self.iMbxLength = $1, "ok"})
- }
- inst iMbxSeg :: MBX.OBJMEMSEG {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: MEM
- prop MemberTest :: MEM.dataMember($1)
- prop Label :: "Element memory segment"
- prop JSName :: "elementSeg"
- prop Visible :: 1
- prop Writable :: 1
- }
- }
- type QUE {
- isa ObjectMgr
- prop name :: "QUE"
- prop Label :: "QUE - Atomic Queue Manager"
- prop IsContainedIn :: SYN
- prop GlobalIcon :: 133
- prop InstanceIcon :: 134
- prop IsConfMod :: 1
- prop GlobalHelpTopic :: (309)
- prop InstanceHelpTopic :: (409)
- prop InstancePropertyPage :: ("{D01ACC01-38DD-11d1-988B-0020AFEE33C6}")
- prop GlobalPropertyPage :: ("{D01ACC02-38DD-11d1-988B-0020AFEE33C6}")
- prop maxObjs :: (32767)
- prop AllocType :: (if (self.gNumOf > 0) {"1 , _globalAllocDesc, _memSeg, _placement"} )
- prop _globalAllocDesc :: ("%8t .que: {}")
- prop _placement :: (0x7fffffff / 2)
- prop _memSeg :: self.OBJMEMSEG
- prop dataSize :: (2 * QUE.gNumOf * (GBL.DSPWORDSIZE / GBL.DSPCHARSIZE))
- prop cGen :: 1
- prop cHeaderName :: if self.gNumOf > 0 {"que.h"} else {""}
- prop cGenHInst :: (if (GBL.DSPTYPE == 62) {"extern far QUE_Obj %0r;n "} else {"extern QUE_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 CALLBACKOBJ :: nil {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global OBJMEMSEG :: SDRAM {
- 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
- }
- }
- type LCK {
- isa ObjectMgr
- prop name :: "LCK"
- prop Label :: "LCK - Resource Lock Manager"
- prop IsContainedIn :: SYN
- prop GlobalIcon :: 129
- prop InstanceIcon :: 130
- prop IsConfMod :: 1
- prop GlobalHelpTopic :: (306)
- prop InstanceHelpTopic :: (406)
- prop InstancePropertyPage :: ("{0EB45D40-38C1-11d1-988B-0020AFEE33C6}")
- prop GlobalPropertyPage :: ("{0EB45D41-38C1-11d1-988B-0020AFEE33C6}")
- prop maxObjs :: (32767)
- prop AllocType :: (if (self.gNumOf > 0) {"1 , _bssAllocDesc, _memSeg, _placement"} )
- prop _bssAllocDesc :: ("%8t .lck: {}")
- prop _objAllocDesc :: ("%8t .LCK$obj: {}")
- prop _placement :: (0x7fffffff / 2)
- prop _memSeg :: self.OBJMEMSEG
- prop dataSize :: ((8 + 2) * LCK.gNumOf * (GBL.DSPWORDSIZE / GBL.DSPCHARSIZE))
- prop cGen :: 1
- prop cHeaderName :: if self.gNumOf > 0 {"lck.h"} else {""}
- prop cGenHInst :: (if (GBL.DSPTYPE == 62) {"extern far LCK_Obj %0r;n "} else {"extern LCK_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 CALLBACKOBJ :: nil {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global OBJMEMSEG :: SDRAM {
- 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
- }
- }
- type SIO {
- isa ObjectMgr
- prop name :: "SIO"
- prop Label :: "SIO - Stream Input and Output Manager"
- prop IsContainedIn :: IOF
- prop GlobalIcon :: 139
- prop InstanceIcon :: 140
- prop GlobalHelpTopic :: (311)
- prop InstanceHelpTopic :: (411)
- prop InstancePropertyPage :: ("{7C4C9A60-763E-11d1-988B-0020AFEE33C6}")
- prop GlobalPropertyPage :: ("{7C4C9A61-763E-11d1-988B-0020AFEE33C6}")
- prop DependsOn :: "DEV,UDEV,DGN,DHL,DPI"
- prop maxObjs :: (32767)
- prop AllocType :: (if (self.gNumOf > 0) {"2 , _bssAllocDesc, _memSeg, _placement,
- _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 :: SDRAM {
- 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 STS {
- isa ObjectMgr
- prop name :: "STS"
- prop Label :: "STS - Statistics Object Manager"
- prop IsContainedIn :: INS
- prop GlobalIcon :: 125
- prop InstanceIcon :: 126
- prop InstanceHelpTopic :: (212)
- prop GlobalHelpTopic :: (112)
- prop AllocType :: ("1 , _globalAllocDesc, _memSeg, _placement")
- prop _globalAllocDesc :: ("%8t .%1L: {%12tn %1U_A_TABBEG = .;n _%1U_A_TABBEG = .;n %2Sn %1U_A_TABEND = .;n _%1U_A_TABEND = .;n %1U_A_TABLEN = (. - _%1U_A_TABBEG) / %3d;n _%1U_A_TABLEN = (. - _%1U_A_TABBEG) / %3d;%8tn } , name, _linkString, _objSize")
- prop localInit :: (if (PRD.CALLBACKOBJ != nil) {self.error("STS initialization failure")} , PRD.CALLBACKOBJ = STS)
- prop _placement :: (0x7fffffff / 2)
- prop _linkString :: if self.gNumOf > 0 {"*(.%1L)"} else {"/* no %1U objects */"}
- prop _memSeg :: STS.OBJMEMSEG
- prop _objSize :: if GBL.DSPTYPE == 55 {(2 * (4 * 4))} else {(4 * 4)}
- prop dataSize :: ((4 * 4) * (STS.gNumOf + STS.gNumEmbed))
- prop maxObjs :: (32767)
- prop InstancePropertyPage :: ("{B7240DEE-AA51-11cf-9BFE-0000C0AC14C7}")
- prop GlobalPropertyPage :: ("{B7240DEF-AA51-11cf-9BFE-0000C0AC14C7}")
- prop STSGetMaxFmt :: (self.format)
- prop STSGetSumFmt :: (self.format)
- prop STSGetAvgFmt :: ("%.2f")
- prop STSFilterSum :: ((self.iA * $1 + self.iB * $2) / (1.0 * self.iC))
- prop STSFilterMax :: ((self.iA * $1 + self.iB) / (1.0 * self.iC))
- prop HighTimeBased :: (if self.unittype == "High resolution time based" {1} else {0})
- prop LowTimeBased :: (if self.unittype == "Low resolution time based" {1} else {0})
- prop cGen :: 1
- prop cHeaderName :: if self.gNumOf > 0 {"sts.h"} else {""}
- prop cGenHInst :: (if (GBL.DSPTYPE == 62) {"extern far STS_Obj %0r;n "} else {"extern STS_Obj %0r;n "})
- prop modifiable :: ((if (self.iDelUser == "USER" || self.iDelUser == "HWI") {1} else {0}))
- prop call :: (scan ($a; STS) {if ($a.unittype == "High resolution time based") {$a.iA = CLK.INSTRPERCLK} })
- 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 :: 6 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 1 {
- 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 :: SDRAM {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: MEM
- prop MemberTest :: MEM.dataMember($1)
- prop Label :: "Object Memory"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 1
- }
- global gNumEmbed :: 8 {
- 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 prev :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 1
- prop Writable :: self.modifiable()
- prop JSName :: "previousVal"
- prop NoGen :: GBL.DSPTYPE != 40 && GBL.DSPTYPE != 62
- prop Set :: (self.prev = $1, self.prevlow = $1 & 0xffff, self.prevhigh = ($1 >> 16) & 0xffff, "ok")
- }
- inst format :: "%g" {
- prop Type :: "{21455EA3-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 0
- prop Writable :: 1
- prop Label :: "format"
- prop NoGen :: 1
- }
- inst unittype :: "Not time based" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Not time based,High resolution time based,Low resolution time based"
- prop Label :: "unit type"
- prop JSName :: "unitType"
- prop Visible :: 1
- prop Writable :: self.modifiable()
- prop NoGen :: 1
- prop Set :: (self.unittype = $1, if ($1 == "High resolution time based") {self.iA = CLK.INSTRPERCLK, self.iB = 0, self.iC = 1, self.operation = "A * x"} else {if ($1 == "Low resolution time based") {self.iA = 1, self.iB = 0, self.iC = 1, self.operation = "A * x"} else {self.iA = 1, self.iB = 0, self.iC = 1, self.operation = "Nothing"}}, "ok")
- }
- inst operation :: "Nothing" {
- prop Type :: "{21455EA1-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Enum :: "Nothing,A * x,A * x + B,(A * x + B) / C"
- prop Label :: "host operation"
- prop JSName :: "operation"
- prop Visible :: 1
- prop Writable :: ((self.unittype != "Low resolution time based") && self.modifiable())
- prop NoGen :: 1
- prop Set :: (self.operation = $1, if ($1 == "Nothing" && self.unittype != "High resolution time based") {self.iA = 1, self.iB = 0, self.iC = 1} else {if ($1 == "A * x") {self.iB = 0, self.iC = 1} else {if ($1 == "A * x + B") {self.iC = 1} }}, "ok")
- }
- inst iA :: 1 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 1
- prop Writable :: (self.modifiable() && !(self.unittype != "Not time based" || self.operation == "Nothing"))
- prop Label :: "A"
- prop JSName :: "numA"
- prop NoGen :: 1
- }
- inst iB :: 0 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 1
- prop Writable :: (self.modifiable() && !(self.unittype == "Low resolution time based" || self.operation == "Nothing" || self.operation == "A * x"))
- prop Label :: "B"
- prop JSName :: "numB"
- prop NoGen :: 1
- }
- inst iC :: 1 {
- prop Type :: "{21455EA2-B96A-11cf-9BFE-0000C0AC14C7}"
- prop Visible :: 1
- prop Writable :: (self.modifiable() && (self.unittype == "Not time based" && self.operation == "(A * x + B) / C"))
- prop Label :: "C"
- prop JSName :: "numC"
- prop NoGen :: 1
- }
- inst prevhigh :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: GBL.DSPTYPE == 40 || GBL.DSPTYPE == 62
- }
- inst prevlow :: 0 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 0
- }
- }
- type SYS {
- isa Module
- prop name :: "SYS"
- prop Label :: "SYS - System Settings"
- prop IsContainedIn :: SYSTEM
- prop GlobalIcon :: 141
- prop InstanceIcon :: 142
- prop IsConfMod :: 1
- prop GlobalHelpTopic :: (313)
- prop InstanceHelpTopic :: (413)
- prop InstancePropertyPage :: ("{473C4A62-B1A8-11d0-9885-0020AFEE33C6}")
- prop GlobalPropertyPage :: ("{473C4A63-B1A8-11d0-9885-0020AFEE33C6}")
- prop AllocType :: (if self.PUTCFXN == @_UTL_doPutc {"2 , _globalAllocDesc, _memSeg, _midPlace,
- _traceString, _traceSeg, _midPlace"} else {"1 , _globalAllocDesc, _memSeg, _midPlace"})
- prop _globalAllocDesc :: ("%8t .sys: {}")
- prop _traceString :: ("%8t .trace: fill = 0x0 {%12tn_SYS_PUTCBEG = .;n. += 0x%1x;n_SYS_PUTCEND = . - 1;%8tn } , _traceSize")
- prop _midPlace :: (0x7fffffff / 2)
- prop _memSeg :: MEM.CFGOBJSEG
- prop _traceSeg :: SYS.TRACESEG
- prop _traceSize :: SYS.TRACESIZE
- 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 TRACESIZE :: 512 {
- prop Type :: "{3EE4CB80-E273-11d0-BB8F-0000C008F2E9}"
- prop Format :: "%d"
- prop Style :: 0x01 | 0x02
- prop Label :: "Trace Buffer Size"
- prop JSName :: "TRACESIZE"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 1
- }
- global TRACESEG :: SDRAM {
- prop Type :: "{7BA2DA00-5A53-11d0-9BFE-0000C0AC14C7}"
- prop MemberType :: MEM
- prop MemberTest :: MEM.dataMember($1)
- prop Label :: "Trace Buffer Memory"
- prop JSName :: "TRACESEG"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 1
- }
- global ABORTFXN :: @_UTL_doAbort {
- prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}"
- prop Label :: "Abort Function"
- prop JSName :: "ABORTFXN"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 0
- }
- global ERRORFXN :: @_UTL_doError {
- prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}"
- prop Label :: "Error Function"
- prop JSName :: "ERRORFXN"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 0
- }
- global EXITFXN :: @_UTL_halt {
- prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}"
- prop Label :: "Exit Function"
- prop JSName :: "EXITFXN"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 0
- }
- global PUTCFXN :: @_UTL_doPutc {
- prop Type :: "{7C434D00-1629-11d0-9BFE-0000C0AC14C7}"
- prop Label :: "Putc Function"
- prop JSName :: "PUTCFXN"
- prop Visible :: 1
- prop Writable :: 1
- prop NoGen :: 0
- }
- }
- 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 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 DependsOn :: "DEV,UDEV"
- 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 :: 1 {
- 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 SIODRIVER {
- isa ModuleFolder
- prop Label :: "Device Drivers"
- prop IsContainedIn :: IOF
- prop GlobalIcon :: 127
- prop GlobalHelpTopic :: (BIOSHELP_DEV_FOLDER)
- prop GlobalPropertyPage :: ("{A2BCEC70-5365-11d4-947C-0050048381B7}")
- 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
- }
- }
- type DEV {
- isa ObjectMgr
- prop name :: "DEV"
- prop Visible :: 0
- prop AllocType :: (if (self.gNumOf > 0) {"1 , _bssAllocDesc, _memSeg, _placement"} , if (DGN.gNumOf || DHL.gNumOf || DPI.gNumOf || DIO.gNumOf || UDEV.gNumOf) {"1 , _devtableDesc, _memSeg, _placement"} )
- prop _bssAllocDesc :: ("%8t .dev: {}")
- prop _devtableDesc :: ("%8t .devtable: {}")
- prop _memSeg :: MEM.CFGOBJSEG
- prop _placement :: (0x7fffffff / 2)
- prop DependsOn :: "HWI"
- 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 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 :: 2 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 1 {
- 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 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 dataSize :: (7 + 11 * 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 :: SDRAM {
- 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 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 :: 2 {
- prop Visible :: 0
- prop Writable :: 0
- prop NoGen :: 1
- }
- global gDirty :: 1 {
- 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 :: 1
- 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
- }
- type DIO {
- isa ObjectMgr
- prop Visible :: 1
- prop Label :: "DIO - Class Driver"
- prop name :: "DIO"
- prop IsContainedIn :: SIODRIVER
- 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 :: SDRAM {
- 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"
- 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