www.pudn.com > swiomap.rar > c5410_swicfg.s54
;; Do *not* directly modify this file. It was ;; generated by the Configuration Tool; any ;; changes risk being overwritten. ;; INPUT c5410_swi.cdb ;; CONFIGURATION/VERSION INFORMATION .asg "Wed Oct 08 11:59:46 2003", VERS$DATE ;; PROLOGUE .include c5410_swicfg.h54 .copy confbeg.s54 ;; TYPE HEADERS .include gbl.h54 .include mem.h54 .include obj.h54 .include clk.h54 .include prd.h54 .include rtdx.h54 .include hst.h54 .include hwi.h54 .include swi.h54 .include tsk.h54 .include idl.h54 .include log.h54 .include pip.h54 .include sem.h54 .include mbx.h54 .include que.h54 .include lck.h54 .include sio.h54 .include sts.h54 .include sys.h54 .include dev.h54 .include udev.h54 .include dgn.h54 .include dhl.h54 .include dpi.h54 .include hook.h54 ;; TYPE ATTRIBUTES MEM$NUMOF .set 8 MEM$SETOF .set 00H OBJ$NUMOF .set 0 OBJ$SETOF .set 00H CLK$NUMOF .set 1 CLK$SETOF .set 00H PRD$NUMOF .set 2 PRD$SETOF .set 00H RTDX$NUMOF .set 0 RTDX$SETOF .set 00H HST$NUMOF .set 2 HST$SETOF .set 03H HWI$NUMOF .set 32 HWI$SETOF .set 0ffffH SWI$NUMOF .set 3 SWI$SETOF .set 00H TSK$NUMOF .set 1 TSK$SETOF .set 00H IDL$NUMOF .set 4 IDL$SETOF .set 00H LOG$NUMOF .set 2 LOG$SETOF .set 00H PIP$NUMOF .set 0 PIP$SETOF .set 00H SEM$NUMOF .set 0 SEM$SETOF .set 00H MBX$NUMOF .set 0 MBX$SETOF .set 00H QUE$NUMOF .set 0 QUE$SETOF .set 00H LCK$NUMOF .set 0 LCK$SETOF .set 00H SIO$NUMOF .set 0 SIO$SETOF .set 00H STS$NUMOF .set 1 STS$SETOF .set 00H DEV$NUMOF .set 0 DEV$SETOF .set 00H UDEV$NUMOF .set 0 UDEV$SETOF .set 00H DGN$NUMOF .set 0 DGN$SETOF .set 00H DHL$NUMOF .set 0 DHL$SETOF .set 00H DPI$NUMOF .set 0 DPI$SETOF .set 00H HOOK$NUMOF .set 0 HOOK$SETOF .set 00H ;; module GBL (ROM, CHIPTYPE5441, CHIPPRSC, PMST, SWWSR, BSCR, MODIFYCLKMD, CLKMD, USERINIT, USERINITFXN, ENABLEINST, FARMODE, SUPPORTCSL, TRCMASKVALUE, CALLCSLCFGINIT) .global GBL$ ; == 1 .global GBL_ROM ; c5410_swicfg.h54 .global GBL_CHIPTYPE5441 ; c5410_swicfg.h54 .global GBL_CHIPPRSC ; c5410_swicfg.h54 .global GBL_PMST ; c5410_swicfg.h54 .global GBL_SWWSR ; c5410_swicfg.h54 .global GBL_BSCR ; c5410_swicfg.h54 .global GBL_MODIFYCLKMD ; c5410_swicfg.h54 .global GBL_CLKMD ; c5410_swicfg.h54 .global GBL_USERINIT ; c5410_swicfg.h54 .global GBL_USERINITFXN ; c5410_swicfg.cmd .global GBL_ENABLEINST ; c5410_swicfg.h54 .global GBL_FARMODE ; c5410_swicfg.h54 .global GBL_SUPPORTCSL ; c5410_swicfg.h54 .global GBL_TRCMASKVALUE ; c5410_swicfg.h54 .global GBL_CALLCSLCFGINIT ; c5410_swicfg.h54 ;; module MEM (gNumHeap, SEGZERO, MALLOCSEG) .global MEM$ ; == 1 .global MEM_gNumHeap ; c5410_swicfg.h54 .global MEM_SEGZERO ; c5410_swicfg.cmd .global MEM_MALLOCSEG ; c5410_swicfg.cmd ;; module OBJ () .global OBJ$ ; == 0 ;; module CLK (REGS, TIMERNUM, USETIMER, TCR, TDDR, PRD, COUNTSPMS, COUNTSPMSHIGH, TIMEFXN, HOOKFXN) .global CLK$ ; == 1 .global CLK_REGS ; c5410_swicfg.h54 .global CLK_TIMERNUM ; c5410_swicfg.h54 .global CLK_USETIMER ; c5410_swicfg.h54 .global CLK_TCR ; c5410_swicfg.h54 .global CLK_TDDR ; c5410_swicfg.h54 .global CLK_PRD ; c5410_swicfg.h54 .global CLK_COUNTSPMS ; c5410_swicfg.h54 .global CLK_COUNTSPMSHIGH ; c5410_swicfg.h54 .global CLK_TIMEFXN ; c5410_swicfg.cmd .global CLK_HOOKFXN ; c5410_swicfg.cmd ;; module PRD (SCALAR, THOOKFXN) .global PRD$ ; == 1 .global PRD_SCALAR ; c5410_swicfg.h54 .global PRD_THOOKFXN ; c5410_swicfg.cmd ;; module RTDX (USERTDX, USERTEXECUTION, DATAMEMSEG, BUFMEMSIZE) .global RTDX$ ; == 1 .global RTDX_USERTDX ; c5410_swicfg.h54 .global RTDX_USERTEXECUTION ; c5410_swicfg.h54 .global RTDX_DATAMEMSEG ; c5410_swicfg.cmd .global RTDX_BUFMEMSIZE ; c5410_swicfg.h54 ;; module HST (RTDX, DSM, NONE, MAXFRAMESET, MAXFRAMEALLOWED, DSMBUFSEG, DSMMEMSIZE) .global HST$ ; == 1 .global HST_RTDX ; c5410_swicfg.h54 .global HST_DSM ; c5410_swicfg.h54 .global HST_NONE ; c5410_swicfg.h54 .global HST_MAXFRAMESET ; c5410_swicfg.h54 .global HST_MAXFRAMEALLOWED ; c5410_swicfg.h54 .global HST_DSMBUFSEG ; c5410_swicfg.cmd .global HST_DSMMEMSIZE ; c5410_swicfg.h54 ;; module HWI () .global HWI$ ; == 1 ;; module SWI (EHOOKFXN, IHOOKFXN, EXECFXN, RUNFXN) .global SWI$ ; == 1 .global SWI_EHOOKFXN ; c5410_swicfg.cmd .global SWI_IHOOKFXN ; c5410_swicfg.cmd .global SWI_EXECFXN ; c5410_swicfg.cmd .global SWI_RUNFXN ; c5410_swicfg.cmd ;; module TSK (STACKSIZE, STACKSEG, PRIORITY, VCREATEFXN, VDELETEFXN, VEXITFXN, SWITCHFXN, READYFXN, NUM_HOOKS) .global TSK$ ; == 1 .global TSK_STACKSIZE ; c5410_swicfg.h54 .global TSK_STACKSEG ; c5410_swicfg.cmd .global TSK_PRIORITY ; c5410_swicfg.h54 .global TSK_VCREATEFXN ; c5410_swicfg.cmd .global TSK_VDELETEFXN ; c5410_swicfg.cmd .global TSK_VEXITFXN ; c5410_swicfg.cmd .global TSK_SWITCHFXN ; c5410_swicfg.h54 .global TSK_READYFXN ; c5410_swicfg.h54 .global TSK_NUM_HOOKS ; c5410_swicfg.h54 ;; module IDL (USECLKIDLTIME, CALIBRFXN) .global IDL$ ; == 1 .global IDL_USECLKIDLTIME ; c5410_swicfg.h54 .global IDL_CALIBRFXN ; c5410_swicfg.cmd ;; module LOG (ENABLED) .global LOG$ ; == 1 .global LOG_ENABLED ; c5410_swicfg.h54 ;; module PIP (gNumEmbed, gNextId) .global PIP$ ; == 0 .global PIP_gNumEmbed ; c5410_swicfg.h54 .global PIP_gNextId ; c5410_swicfg.h54 ;; module SEM () .global SEM$ ; == 0 ;; module MBX () .global MBX$ ; == 0 ;; module QUE () .global QUE$ ; == 1 ;; module LCK () .global LCK$ ; == 1 ;; module SIO () .global SIO$ ; == 0 ;; module STS () .global STS$ ; == 1 ;; module SYS (ABORTFXN, ERRORFXN, EXITFXN, PUTCFXN) .global SYS$ ; == 1 .global SYS_ABORTFXN ; c5410_swicfg.cmd .global SYS_ERRORFXN ; c5410_swicfg.cmd .global SYS_EXITFXN ; c5410_swicfg.cmd .global SYS_PUTCFXN ; c5410_swicfg.cmd ;; module DEV () .global DEV$ ; == 0 ;; module UDEV () .global UDEV$ ; == 0 ;; module DGN () .global DGN$ ; == 0 ;; module DHL (gChannelsAvailable) .global DHL$ ; == 0 .global DHL_gChannelsAvailable ; c5410_swicfg.h54 ;; module DPI () .global DPI$ ; == 0 ;; module HOOK (KNLID) .global HOOK$ ; == 0 .global HOOK_KNLID ; c5410_swicfg.h54 ;; MODULE CONFIGURATION ;; ======== GBL_config ======== .asg 00H, _ROM .asg 00H, _CHIPTYPE5441 .asg 00H, _CHIPPRSC .asg 0e0H, _PMST .asg 01208H, _SWWSR .asg 08806H, _BSCR .asg 01H, _MODIFYCLKMD .asg 09007H, _CLKMD .asg 00H, _USERINIT .asg _FXN_F_nop, _USERINITFXN .asg 01H, _ENABLEINST .asg 00H, _FARMODE .asg 01H, _SUPPORTCSL .asg 0dbefH, _TRCMASKVALUE .asg 01H, _CALLCSLCFGINIT GBL_config _ROM, _CHIPTYPE5441, _CHIPPRSC, _PMST, _SWWSR, _BSCR, _MODIFYCLKMD, _CLKMD, _USERINIT, _USERINITFXN, _ENABLEINST, _FARMODE, _SUPPORTCSL, _TRCMASKVALUE, _CALLCSLCFGINIT ;; ======== MEM_config ======== .asg 01H, _gNumHeap .asg IDATA, _SEGZERO .asg IDATA, _MALLOCSEG MEM_config _gNumHeap, _SEGZERO, _MALLOCSEG ;; ======== OBJ_config ======== OBJ_config ;; ======== CLK_config ======== .asg 00H, _REGS .asg 00H, _TIMERNUM .asg 01H, _USETIMER .asg 021H, _TCR .asg 01H, _TDDR .asg 0c34fH, _PRD .asg 0c350H, _COUNTSPMS .asg 00H, _COUNTSPMSHIGH .asg CLK_F_getshtime, _TIMEFXN .asg CLK_F_run, _HOOKFXN CLK_config _REGS, _TIMERNUM, _USETIMER, _TCR, _TDDR, _PRD, _COUNTSPMS, _COUNTSPMSHIGH, _TIMEFXN, _HOOKFXN ;; ======== PRD_config ======== .asg 02H, _SCALAR .asg KNL_tick_stub, _THOOKFXN PRD_config _SCALAR, _THOOKFXN ;; ======== RTDX_config ======== .asg 01H, _USERTDX .asg 00H, _USERTEXECUTION .asg IDATA, _DATAMEMSEG .asg 0102H, _BUFMEMSIZE RTDX_config _USERTDX, _USERTEXECUTION, _DATAMEMSEG, _BUFMEMSIZE ;; ======== HST_config ======== .asg 01H, _RTDX .asg 00H, _DSM .asg 00H, _NONE .asg 040H, _MAXFRAMESET .asg 0100H, _MAXFRAMEALLOWED .asg IDATA, _DSMBUFSEG .asg 0400H, _DSMMEMSIZE HST_config _RTDX, _DSM, _NONE, _MAXFRAMESET, _MAXFRAMEALLOWED, _DSMBUFSEG, _DSMMEMSIZE ;; ======== HWI_config ======== HWI_config ;; ======== SWI_config ======== .asg GBL_NULL, _EHOOKFXN .asg GBL_NULL, _IHOOKFXN .asg SWI_F_exec, _EXECFXN .asg SWI_F_run, _RUNFXN SWI_config _EHOOKFXN, _IHOOKFXN, _EXECFXN, _RUNFXN ;; ======== TSK_config ======== .asg 0100H, _STACKSIZE .asg IDATA, _STACKSEG .asg 01H, _PRIORITY .asg _FXN_F_nop, _VCREATEFXN .asg _FXN_F_nop, _VDELETEFXN .asg _FXN_F_nop, _VEXITFXN .asg 00H, _SWITCHFXN .asg 00H, _READYFXN .asg 00H, _NUM_HOOKS TSK_config _STACKSIZE, _STACKSEG, _PRIORITY, _VCREATEFXN, _VDELETEFXN, _VEXITFXN, _SWITCHFXN, _READYFXN, _NUM_HOOKS ;; ======== IDL_config ======== .asg 01H, _USECLKIDLTIME .asg IDL_F_stub, _CALIBRFXN IDL_config _USECLKIDLTIME, _CALIBRFXN ;; ======== LOG_config ======== .asg 01H, _ENABLED LOG_config _ENABLED ;; ======== PIP_config ======== .asg 02H, _gNumEmbed .asg 00H, _gNextId PIP_config _gNumEmbed, _gNextId ;; ======== SEM_config ======== SEM_config ;; ======== MBX_config ======== MBX_config ;; ======== QUE_config ======== QUE_config ;; ======== LCK_config ======== LCK_config ;; ======== SIO_config ======== SIO_config ;; ======== STS_config ======== STS_config ;; ======== SYS_config ======== .asg _UTL_doAbort, _ABORTFXN .asg _UTL_doError, _ERRORFXN .asg _UTL_halt, _EXITFXN .asg _UTL_doPutc, _PUTCFXN SYS_config _ABORTFXN, _ERRORFXN, _EXITFXN, _PUTCFXN ;; ======== DEV_config ======== DEV_config ;; ======== UDEV_config ======== UDEV_config ;; ======== DGN_config ======== DGN_config ;; ======== DHL_config ======== .asg 00H, _gChannelsAvailable DHL_config _gChannelsAvailable ;; ======== DPI_config ======== DPI_config ;; ======== HOOK_config ======== .asg 00H, _KNLID HOOK_config _KNLID ;; ======== MEM_Obj USERREGS ======== ;; This object defines space for the DSP's memory mapped registers and can't be deleted ;; ;; MEM_Obj USERREGS (len, iAllocHeap, iSegZero, iHeapId) .global USERREGS .asg 01cH, _len .asg 00H, _iAllocHeap .asg IDATA, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, USERREGS, 0, _len, _iAllocHeap, _iSegZero, _iHeapId ;; ======== MEM_Obj BIOSREGS ======== ;; This object defines space for the BIOS on-chip registers and can't be deleted ;; ;; MEM_Obj BIOSREGS (len, iAllocHeap, iSegZero, iHeapId) .global BIOSREGS .asg 04H, _len .asg 00H, _iAllocHeap .asg IDATA, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, BIOSREGS, 0, _len, _iAllocHeap, _iSegZero, _iHeapId ;; ======== MEM_Obj VECT ======== ;; This object defines space for the DSP's interrupt vectors and can't be deleted ;; ;; MEM_Obj VECT (len, iAllocHeap, iSegZero, iHeapId) .global VECT .asg 080H, _len .asg 00H, _iAllocHeap .asg IDATA, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, VECT, 0, _len, _iAllocHeap, _iSegZero, _iHeapId ;; ======== MEM_Obj IDATA ======== ;;;; ;; MEM_Obj IDATA (len, iAllocHeap, iSegZero, iHeapId) .global IDATA .asg 03f00H, _len .asg 01H, _iAllocHeap .asg IDATA, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, IDATA, 0, _len, _iAllocHeap, _iSegZero, _iHeapId ;; ======== MEM_Obj IPROG ======== ;; ;; ;; MEM_Obj IPROG (len, iAllocHeap, iSegZero, iHeapId) .global IPROG .asg 03fffH, _len .asg 00H, _iAllocHeap .asg IDATA, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, IPROG, 0, _len, _iAllocHeap, _iSegZero, _iHeapId ;; ======== MEM_Obj EDATA ======== ;; ;; ;; MEM_Obj EDATA (len, iAllocHeap, iSegZero, iHeapId) .global EDATA .asg 07fffH, _len .asg 00H, _iAllocHeap .asg IDATA, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, EDATA, 0, _len, _iAllocHeap, _iSegZero, _iHeapId ;; ======== MEM_Obj EPROG ======== ;; ;; ;; MEM_Obj EPROG (len, iAllocHeap, iSegZero, iHeapId) .global EPROG .asg 07f7fH, _len .asg 00H, _iAllocHeap .asg IDATA, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, EPROG, 0, _len, _iAllocHeap, _iSegZero, _iHeapId ;; ======== MEM_Obj EPROG1 ======== ;; ;; ;; MEM_Obj EPROG1 (len, iAllocHeap, iSegZero, iHeapId) .global EPROG1 .asg 08000H, _len .asg 00H, _iAllocHeap .asg IDATA, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, EPROG1, 0, _len, _iAllocHeap, _iSegZero, _iHeapId ;; ======== CLK_Obj PRD_clock ======== ;; This clock function calls PRD_tick from within the on-chip timer ISR ;; ;; CLK_Obj PRD_clock (function) .global PRD_clock .asg PRD_F_tick, _function CLK_Obj 1, PRD_clock, 0, _function ;; ======== PRD_Obj PRD_550 ======== ;; ;; ;; PRD_Obj PRD_550 (period, mode, function, arg0, arg1) .global PRD_550 .asg 0226H, _period .asg "continuous", _mode .asg _SWI_or, _function .asg SWI0, _arg0 .asg 01H, _arg1 PRD_Obj 1, PRD_550, 0, _period, _mode, _function, _arg0, _arg1 ;; ======== PRD_Obj PRD_1350 ======== ;; ;; ;; PRD_Obj PRD_1350 (period, mode, function, arg0, arg1) .global PRD_1350 .asg 0546H, _period .asg "continuous", _mode .asg _SWI_or, _function .asg SWI0, _arg0 .asg 02H, _arg1 PRD_Obj 1, PRD_1350, 0, _period, _mode, _function, _arg0, _arg1 ;; ======== HST_Obj RTA_fromHost ======== ;; Used to access LOG and STS data ;; ;; HST_Obj RTA_fromHost (mode, buf, framesize, numframes, stsflg, notify, arg0, arg1, lnk) .global RTA_fromHost .asg "input", _mode .asg " ", _buf .asg 04H, _framesize .asg 01H, _numframes .asg 00H, _stsflg .asg _FXN_F_nop, _notify .asg 00H, _arg0 .asg 00H, _arg1 .asg "RTDX", _lnk HST_Obj 1, RTA_fromHost, 1, _mode, _buf, _framesize, _numframes, _stsflg, _notify, _arg0, _arg1, _lnk ;; ======== HST_Obj RTA_toHost ======== ;; Used to access LOG and STS data ;; ;; HST_Obj RTA_toHost (mode, buf, framesize, numframes, stsflg, notify, arg0, arg1, lnk) .global RTA_toHost .asg "output", _mode .asg " ", _buf .asg 040H, _framesize .asg 01H, _numframes .asg 00H, _stsflg .asg _FXN_F_nop, _notify .asg 00H, _arg0 .asg 00H, _arg1 .asg "RTDX", _lnk HST_Obj 1, RTA_toHost, 0, _mode, _buf, _framesize, _numframes, _stsflg, _notify, _arg0, _arg1, _lnk ;; ======== HWI_Obj HWI_RS ======== ;; defines function for the RS ISR ;; ;; HWI_Obj HWI_RS (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_RS .asg _c_int00, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_RS, 0, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_NMI ======== ;; defines function for the NMI ISR ;; ;; HWI_Obj HWI_NMI (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_NMI .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_NMI, 1, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT17 ======== ;; defines function for the SINT17 ISR ;; ;; HWI_Obj HWI_SINT17 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT17 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT17, 2, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT18 ======== ;; defines function for the SINT18 ISR ;; ;; HWI_Obj HWI_SINT18 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT18 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT18, 3, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT19 ======== ;; defines function for the SINT19 ISR ;; ;; HWI_Obj HWI_SINT19 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT19 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT19, 4, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT20 ======== ;; defines function for the SINT20 ISR ;; ;; HWI_Obj HWI_SINT20 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT20 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT20, 5, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT21 ======== ;; defines function for the SINT21 ISR ;; ;; HWI_Obj HWI_SINT21 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT21 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT21, 6, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT22 ======== ;; defines function for the SINT22 ISR ;; ;; HWI_Obj HWI_SINT22 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT22 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT22, 7, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT23 ======== ;; defines function for the SINT23 ISR ;; ;; HWI_Obj HWI_SINT23 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT23 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT23, 8, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT24 ======== ;; defines function for the SINT24 ISR ;; ;; HWI_Obj HWI_SINT24 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT24 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT24, 9, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT25 ======== ;; defines function for the SINT25 ISR ;; ;; HWI_Obj HWI_SINT25 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT25 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT25, 10, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT26 ======== ;; defines function for the SINT26 ISR ;; ;; HWI_Obj HWI_SINT26 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT26 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT26, 11, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT27 ======== ;; defines function for the SINT27 ISR ;; ;; HWI_Obj HWI_SINT27 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT27 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT27, 12, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT28 ======== ;; defines function for the SINT28 ISR ;; ;; HWI_Obj HWI_SINT28 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT28 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT28, 13, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT29 ======== ;; RESERVED for RTDX ;; ;; HWI_Obj HWI_SINT29 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT29 .asg RESERVED, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "RTDX", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT29, 14, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT30 ======== ;; RESERVED for RTDX ;; ;; HWI_Obj HWI_SINT30 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT30 .asg RESERVED, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "RTDX", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 00H, _IntrMask HWI_Obj 1, HWI_SINT30, 15, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_INT0 ======== ;; defines function for the INT0 ISR ;; ;; HWI_Obj HWI_INT0 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_INT0 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 01H, _IntrMask HWI_Obj 1, HWI_INT0, 16, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_INT1 ======== ;; defines function for the INT1 ISR ;; ;; HWI_Obj HWI_INT1 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_INT1 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 02H, _IntrMask HWI_Obj 1, HWI_INT1, 17, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_INT2 ======== ;; defines function for the INT2 ISR ;; ;; HWI_Obj HWI_INT2 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_INT2 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 04H, _IntrMask HWI_Obj 1, HWI_INT2, 18, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_TINT ======== ;; defines function for the TINT ISR ;; ;; HWI_Obj HWI_TINT (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_TINT .asg CLK_F_isr, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "CLK", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 08H, _IntrMask HWI_Obj 1, HWI_TINT, 19, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT4 ======== ;; defines function for the SINT4 ISR ;; ;; HWI_Obj HWI_SINT4 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT4 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 010H, _IntrMask HWI_Obj 1, HWI_SINT4, 20, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT5 ======== ;; defines function for the SINT5 ISR ;; ;; HWI_Obj HWI_SINT5 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT5 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 020H, _IntrMask HWI_Obj 1, HWI_SINT5, 21, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT6 ======== ;; defines function for the SINT6 ISR ;; ;; HWI_Obj HWI_SINT6 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT6 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 040H, _IntrMask HWI_Obj 1, HWI_SINT6, 22, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT7 ======== ;; defines function for the SINT7 ISR ;; ;; HWI_Obj HWI_SINT7 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT7 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 080H, _IntrMask HWI_Obj 1, HWI_SINT7, 23, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT8 ======== ;; defines function for the SINT8 ISR ;; ;; HWI_Obj HWI_SINT8 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT8 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 0100H, _IntrMask HWI_Obj 1, HWI_SINT8, 24, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT9 ======== ;; defines function for the SINT9 ISR ;; ;; HWI_Obj HWI_SINT9 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT9 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 0200H, _IntrMask HWI_Obj 1, HWI_SINT9, 25, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT10 ======== ;; defines function for the SINT10 ISR ;; ;; HWI_Obj HWI_SINT10 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT10 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 0400H, _IntrMask HWI_Obj 1, HWI_SINT10, 26, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT11 ======== ;; defines function for the SINT11 ISR ;; ;; HWI_Obj HWI_SINT11 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT11 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 0800H, _IntrMask HWI_Obj 1, HWI_SINT11, 27, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT12 ======== ;; defines function for the SINT12 ISR ;; ;; HWI_Obj HWI_SINT12 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT12 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 01000H, _IntrMask HWI_Obj 1, HWI_SINT12, 28, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT13 ======== ;; defines function for the SINT13 ISR ;; ;; HWI_Obj HWI_SINT13 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT13 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 02000H, _IntrMask HWI_Obj 1, HWI_SINT13, 29, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT14 ======== ;; defines function for the SINT14 ISR ;; ;; HWI_Obj HWI_SINT14 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT14 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 04000H, _IntrMask HWI_Obj 1, HWI_SINT14, 30, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== HWI_Obj HWI_SINT15 ======== ;; defines function for the SINT15 ISR ;; ;; HWI_Obj HWI_SINT15 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask) .global HWI_SINT15 .asg HWI_unused, _function .asg "Nothing", _monitor .asg 00H, _addr .asg "signed", _dataType .asg "STS_add(*addr)", _operation .asg "USER", _client .asg 00H, _iUseDispatcher .asg 00H, _iArg .asg 08000H, _IntrMask HWI_Obj 1, HWI_SINT15, 31, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask ;; ======== SWI_Obj PRD_swi ======== ;; This Software ISR executes all configured PRD functions ;; ;; SWI_Obj PRD_swi (function, pri, mailbox, arg0, arg1, dorta) .global PRD_swi .asg PRD_F_swi, _function .asg 01H, _pri .asg 00H, _mailbox .asg 00H, _arg0 .asg 00H, _arg1 .asg 01H, _dorta SWI_Obj 1, PRD_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta ;; ======== SWI_Obj KNL_swi ======== ;; This Software Interrupt calls the TSK scheduler ;; ;; SWI_Obj KNL_swi (function, pri, mailbox, arg0, arg1, dorta) .global KNL_swi .asg _KNL_run, _function .asg 00H, _pri .asg 00H, _mailbox .asg 00H, _arg0 .asg 00H, _arg1 .asg 01H, _dorta SWI_Obj 1, KNL_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta ;; ======== SWI_Obj SWI0 ======== ;; ;; ;; SWI_Obj SWI0 (function, pri, mailbox, arg0, arg1, dorta) .global SWI0 .asg _my_swi, _function .asg 01H, _pri .asg 00H, _mailbox .asg 00H, _arg0 .asg 00H, _arg1 .asg 01H, _dorta SWI_Obj 1, SWI0, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta ;; ======== TSK_Obj TSK_idle ======== ;; This is the idle task; it only runs when no other task is ready ;; ;; TSK_Obj TSK_idle (iFXN, iARG0, iARG1, iARG2, iARG3, iARG4, iARG5, iARG6, iARG7, iAUTOSTK, iMANSTK, iSTKSZ, iSTKSEG, iPRI, iENV, iEXITFLAG, iUSETSKNAME, iSTATREG) .global TSK_idle .asg _IDL_loop, _iFXN .asg 00H, _iARG0 .asg 00H, _iARG1 .asg 00H, _iARG2 .asg 00H, _iARG3 .asg 00H, _iARG4 .asg 00H, _iARG5 .asg 00H, _iARG6 .asg 00H, _iARG7 .asg 01H, _iAUTOSTK .asg null, _iMANSTK .asg 0100H, _iSTKSZ .asg IDATA, _iSTKSEG .asg 00H, _iPRI .asg 00H, _iENV .asg 01H, _iEXITFLAG .asg 00H, _iUSETSKNAME .asg 00H, _iSTATREG TSK_Obj 1, TSK_idle, 0, _iFXN, _iARG0, _iARG1, _iARG2, _iARG3, _iARG4, _iARG5, _iARG6, _iARG7, _iAUTOSTK, _iMANSTK, _iSTKSZ, _iSTKSEG, _iPRI, _iENV, _iEXITFLAG, _iUSETSKNAME, _iSTATREG ;; ======== IDL_Obj RTDX_dataPump ======== ;; This object cannot be deleted ;; ;; IDL_Obj RTDX_dataPump (function, calibration) .global RTDX_dataPump .asg _RTDX_Poll, _function .asg 01H, _calibration IDL_Obj 1, RTDX_dataPump, 0, _function, _calibration ;; ======== IDL_Obj LNK_dataPump ======== ;; This object cannot be deleted ;; ;; IDL_Obj LNK_dataPump (function, calibration) .global LNK_dataPump .asg LNK_F_dataPump, _function .asg 01H, _calibration IDL_Obj 1, LNK_dataPump, 0, _function, _calibration ;; ======== IDL_Obj RTA_dispatcher ======== ;; This object cannot be deleted ;; ;; IDL_Obj RTA_dispatcher (function, calibration) .global RTA_dispatcher .asg RTA_F_dispatch, _function .asg 01H, _calibration IDL_Obj 1, RTA_dispatcher, 0, _function, _calibration ;; ======== IDL_Obj IDL_cpuLoad ======== ;; This object is required by the system to acquire CPU load data ;; ;; IDL_Obj IDL_cpuLoad (function, calibration) .global IDL_cpuLoad .asg IDL_F_busy, _function .asg 01H, _calibration IDL_Obj 1, IDL_cpuLoad, 0, _function, _calibration ;; ======== LOG_Obj LOG_system ======== ;; This object is required by the system to accumulate execution trace information ;; ;; LOG_Obj LOG_system (bufseg, buflen, logtype) .global LOG_system .asg IDATA, _bufseg .asg 040H, _buflen .asg "circular", _logtype LOG_Obj 1, LOG_system, 0, _bufseg, _buflen, _logtype ;; ======== LOG_Obj LOG_msg ======== ;; ;; ;; LOG_Obj LOG_msg (bufseg, buflen, logtype) .global LOG_msg .asg IDATA, _bufseg .asg 0100H, _buflen .asg "circular", _logtype LOG_Obj 1, LOG_msg, 0, _bufseg, _buflen, _logtype ;; ======== STS_Obj IDL_busyObj ======== ;; This object is required by the system to accumulate CPU load statistics ;; ;; STS_Obj IDL_busyObj (prevhigh, prevlow) .global IDL_busyObj .asg 00H, _prevhigh .asg 00H, _prevlow STS_Obj 1, IDL_busyObj, 0, _prevhigh, _prevlow ;; MODULE INITIALIZATION .sect ".sysinit" .global BIOS_init, _BIOS_init BIOS_init: _BIOS_init: GBL_preamble GBL_init SEM_init MEM_init OBJ_init CLK_init PRD_init RTDX_init IDL_init LCK_init LOG_init MBX_init PIP_init QUE_init SIO_init STS_init SYS_init UDEV_init DGN_init DHL_init DPI_init DEV_init HWI_init HST_init SWI_init HOOK_init TSK_init GBL_postamble ;; MODULE STARTUP .sect ".sysinit" .global BIOS_start, _BIOS_start BIOS_start: _BIOS_start: GBL_preamble GBL_startup SEM_startup MEM_startup OBJ_startup CLK_startup PRD_startup RTDX_startup IDL_startup LCK_startup LOG_startup MBX_startup PIP_startup QUE_startup SIO_startup STS_startup SYS_startup UDEV_startup DGN_startup DHL_startup DPI_startup DEV_startup HWI_startup HST_startup SWI_startup HOOK_startup TSK_startup GBL_postamble ;; EPILOGUE GBL_end MEM_end OBJ_end CLK_end PRD_end RTDX_end HST_end HWI_end SWI_end TSK_end IDL_end LOG_end PIP_end SEM_end MBX_end QUE_end LCK_end SIO_end STS_end SYS_end DEV_end UDEV_end DGN_end DHL_end DPI_end HOOK_end .copy confend.s54