From 6c22e02b2b9c645178f2f9351d9053d530caeb21 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 16 Jan 2018 17:45:27 +0000 Subject: Added lab2 and lab3 --- lab3/RTDSP/Debug/dsp_bios_cfg.s62 | 1091 +++++++++++++++++++++++++++++++++++++ 1 file changed, 1091 insertions(+) create mode 100644 lab3/RTDSP/Debug/dsp_bios_cfg.s62 (limited to 'lab3/RTDSP/Debug/dsp_bios_cfg.s62') diff --git a/lab3/RTDSP/Debug/dsp_bios_cfg.s62 b/lab3/RTDSP/Debug/dsp_bios_cfg.s62 new file mode 100644 index 0000000..2b60311 --- /dev/null +++ b/lab3/RTDSP/Debug/dsp_bios_cfg.s62 @@ -0,0 +1,1091 @@ +;; Do *not* directly modify this file. It was +;; generated by the Configuration Tool; any +;; changes risk being overwritten. + +;; INPUT dsp_bios_.cdb + +;; CONFIGURATION/VERSION INFORMATION + .asg "Tue Jan 16 17:42:58 2018", VERS$DATE + +;; PROLOGUE + .include dsp_bios_cfg.h62 + .copy confbeg.s62 + +;; TYPE HEADERS + .include gbl.h62 + .include mem.h62 + .include obj.h62 + .include buf.h62 + .include pool.h62 + .include clk.h62 + .include prd.h62 + .include rtdx.h62 + .include hst.h62 + .include hwi.h62 + .include swi.h62 + .include tsk.h62 + .include idl.h62 + .include isrc.h62 + .include log.h62 + .include pip.h62 + .include sem.h62 + .include mbx.h62 + .include que.h62 + .include lck.h62 + .include sts.h62 + .include sys.h62 + .include sio.h62 + .include gio.h62 + .include dev.h62 + .include udev.h62 + .include dio.h62 + .include dgn.h62 + .include dhl.h62 + .include dpi.h62 + .include msgq.h62 + .include hook.h62 + +;; TYPE ATTRIBUTES +MEM$NUMOF .set 2 +MEM$SETOF .set 00H +OBJ$NUMOF .set 0 +OBJ$SETOF .set 00H +BUF$NUMOF .set 0 +BUF$SETOF .set 00H +CLK$NUMOF .set 1 +CLK$SETOF .set 00H +PRD$NUMOF .set 0 +PRD$SETOF .set 00H +RTDX$NUMOF .set 0 +RTDX$SETOF .set 00H +HST$NUMOF .set 2 +HST$SETOF .set 03H +HWI$NUMOF .set 16 +HWI$SETOF .set 0ffffH +SWI$NUMOF .set 1 +SWI$SETOF .set 00H +TSK$NUMOF .set 1 +TSK$SETOF .set 00H +IDL$NUMOF .set 3 +IDL$SETOF .set 00H +ISRC$NUMOF .set 0 +ISRC$SETOF .set 00H +LOG$NUMOF .set 1 +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 +STS$NUMOF .set 1 +STS$SETOF .set 00H +SIO$NUMOF .set 0 +SIO$SETOF .set 00H +DEV$NUMOF .set 0 +DEV$SETOF .set 00H +UDEV$NUMOF .set 0 +UDEV$SETOF .set 00H +DIO$NUMOF .set 0 +DIO$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, PROCID, CLKIN, FREQ, DSPTYPE, DSPSUBTYPE, CLKTYPE, BIGENDIAN, USERINIT, USERINITFXN, ENABLEINST, CACHE, L2CONFIGURE, L2MODE, L2PRIORITY, L2MARMASK, SUPPORTCSL, TRCMASKVALUE, CALLCSLCFGINIT, C641XL2PRIORITY, L2MARMASK1, L2MARMASK2, L2MARMASK3, L2MARMASK4, L2MARMASK5, L2CONFIGALLOC, L2ALLOC) + .global GBL$ ; == 1 + .global GBL_ROM ; dsp_bios_cfg.h62 + .global GBL_PROCID ; dsp_bios_cfg.h62 + .global GBL_CLKIN ; dsp_bios_cfg.h62 + .global GBL_FREQ ; dsp_bios_cfg.h62 + .global GBL_DSPTYPE ; dsp_bios_cfg.h62 + .global GBL_DSPSUBTYPE ; dsp_bios_cfg.h62 + .global GBL_CLKTYPE ; dsp_bios_cfg.h62 + .global GBL_BIGENDIAN ; dsp_bios_cfg.h62 + .global GBL_USERINIT ; dsp_bios_cfg.h62 + .global GBL_USERINITFXN ; dsp_bios_cfg.cmd + .global GBL_ENABLEINST ; dsp_bios_cfg.h62 + .global GBL_CACHE ; dsp_bios_cfg.h62 + .global GBL_L2CONFIGURE ; dsp_bios_cfg.h62 + .global GBL_L2MODE ; dsp_bios_cfg.h62 + .global GBL_L2PRIORITY ; dsp_bios_cfg.h62 + .global GBL_L2MARMASK ; dsp_bios_cfg.h62 + .global GBL_SUPPORTCSL ; dsp_bios_cfg.h62 + .global GBL_TRCMASKVALUE ; dsp_bios_cfg.h62 + .global GBL_CALLCSLCFGINIT ; dsp_bios_cfg.h62 + .global GBL_C641XL2PRIORITY ; dsp_bios_cfg.h62 + .global GBL_L2MARMASK1 ; dsp_bios_cfg.h62 + .global GBL_L2MARMASK2 ; dsp_bios_cfg.h62 + .global GBL_L2MARMASK3 ; dsp_bios_cfg.h62 + .global GBL_L2MARMASK4 ; dsp_bios_cfg.h62 + .global GBL_L2MARMASK5 ; dsp_bios_cfg.h62 + .global GBL_L2CONFIGALLOC ; dsp_bios_cfg.h62 + .global GBL_L2ALLOC ; dsp_bios_cfg.h62 + +;; module MEM (gNumHeap, SEGZERO, MALLOCSEG, USEMPC) + .global MEM$ ; == 1 + .global MEM_gNumHeap ; dsp_bios_cfg.h62 + .global MEM_SEGZERO ; dsp_bios_cfg.cmd + .global MEM_MALLOCSEG ; dsp_bios_cfg.cmd + .global MEM_USEMPC ; dsp_bios_cfg.h62 + +;; module OBJ () + .global OBJ$ ; == 0 + +;; module BUF (ENABLED) + .global BUF$ ; == 0 + .global BUF_ENABLED ; dsp_bios_cfg.h62 + +;; module POOL (USEPOOL) + .global POOL$ ; == 0 + .global POOL_USEPOOL ; dsp_bios_cfg.h62 + +;; module CLK (INTBIT, REGS, TIMERNUM, USETIMER, MICROSECS, TCR, TDDR, TDDRHIGH, PRD, PRDHIGH, COUNTSPMS, COUNTSPMSHIGH, TIMEFXN, HOOKFXN, CALDIV, CALMULT, HTIMEDIV, HTIMEMULT, LTIMEDIV, LTIMEMULT, HTIMEPERLTIME) + .global CLK$ ; == 1 + .global CLK_INTBIT ; dsp_bios_cfg.h62 + .global CLK_REGS ; dsp_bios_cfg.h62 + .global CLK_TIMERNUM ; dsp_bios_cfg.h62 + .global CLK_USETIMER ; dsp_bios_cfg.h62 + .global CLK_MICROSECS ; dsp_bios_cfg.h62 + .global CLK_TCR ; dsp_bios_cfg.h62 + .global CLK_TDDR ; dsp_bios_cfg.h62 + .global CLK_TDDRHIGH ; dsp_bios_cfg.h62 + .global CLK_PRD ; dsp_bios_cfg.h62 + .global CLK_PRDHIGH ; dsp_bios_cfg.h62 + .global CLK_COUNTSPMS ; dsp_bios_cfg.h62 + .global CLK_COUNTSPMSHIGH ; dsp_bios_cfg.h62 + .global CLK_TIMEFXN ; dsp_bios_cfg.cmd + .global CLK_HOOKFXN ; dsp_bios_cfg.cmd + .global CLK_CALDIV ; dsp_bios_cfg.h62 + .global CLK_CALMULT ; dsp_bios_cfg.h62 + .global CLK_HTIMEDIV ; dsp_bios_cfg.h62 + .global CLK_HTIMEMULT ; dsp_bios_cfg.h62 + .global CLK_LTIMEDIV ; dsp_bios_cfg.h62 + .global CLK_LTIMEMULT ; dsp_bios_cfg.h62 + .global CLK_HTIMEPERLTIME ; dsp_bios_cfg.h62 + +;; module PRD (SCALAR, THOOKFXN) + .global PRD$ ; == 1 + .global PRD_SCALAR ; dsp_bios_cfg.h62 + .global PRD_THOOKFXN ; dsp_bios_cfg.cmd + +;; module RTDX (USERTDX, USERTEXECUTION, RTDXTYPE, DATAMEMSEG, BUFMEMSIZE) + .global RTDX$ ; == 1 + .global RTDX_USERTDX ; dsp_bios_cfg.h62 + .global RTDX_USERTEXECUTION ; dsp_bios_cfg.h62 + .global RTDX_RTDXTYPE ; dsp_bios_cfg.h62 + .global RTDX_DATAMEMSEG ; dsp_bios_cfg.cmd + .global RTDX_BUFMEMSIZE ; dsp_bios_cfg.h62 + +;; module HST (RTDX, DSM, NONE, MAXFRAMESET, MAXFRAMEALLOWED, DSMBUFSEG, DSMMEMSIZE) + .global HST$ ; == 1 + .global HST_RTDX ; dsp_bios_cfg.h62 + .global HST_DSM ; dsp_bios_cfg.h62 + .global HST_NONE ; dsp_bios_cfg.h62 + .global HST_MAXFRAMESET ; dsp_bios_cfg.h62 + .global HST_MAXFRAMEALLOWED ; dsp_bios_cfg.h62 + .global HST_DSMBUFSEG ; dsp_bios_cfg.cmd + .global HST_DSMMEMSIZE ; dsp_bios_cfg.h62 + +;; module HWI (ZEROTAB, GENERATE_RESET_VEC, POLARITYMASK, INTRMULTLOW, INTRMULTHIGH, CFGDISPATCHED) + .global HWI$ ; == 1 + .global HWI_ZEROTAB ; dsp_bios_cfg.h62 + .global HWI_GENERATE_RESET_VEC ; dsp_bios_cfg.h62 + .global HWI_POLARITYMASK ; dsp_bios_cfg.h62 + .global HWI_INTRMULTLOW ; dsp_bios_cfg.h62 + .global HWI_INTRMULTHIGH ; dsp_bios_cfg.h62 + .global HWI_CFGDISPATCHED ; dsp_bios_cfg.h62 + +;; module SWI (EHOOKFXN, IHOOKFXN, EXECFXN, RUNFXN) + .global SWI$ ; == 1 + .global SWI_EHOOKFXN ; dsp_bios_cfg.cmd + .global SWI_IHOOKFXN ; dsp_bios_cfg.cmd + .global SWI_EXECFXN ; dsp_bios_cfg.cmd + .global SWI_RUNFXN ; dsp_bios_cfg.cmd + +;; module TSK (STACKSIZE, STACKSEG, PRIORITY, VCREATEFXN, VDELETEFXN, VEXITFXN, SWITCHFXN, READYFXN, NUM_HOOKS) + .global TSK$ ; == 1 + .global TSK_STACKSIZE ; dsp_bios_cfg.h62 + .global TSK_STACKSEG ; dsp_bios_cfg.cmd + .global TSK_PRIORITY ; dsp_bios_cfg.h62 + .global TSK_VCREATEFXN ; dsp_bios_cfg.cmd + .global TSK_VDELETEFXN ; dsp_bios_cfg.cmd + .global TSK_VEXITFXN ; dsp_bios_cfg.cmd + .global TSK_SWITCHFXN ; dsp_bios_cfg.h62 + .global TSK_READYFXN ; dsp_bios_cfg.h62 + .global TSK_NUM_HOOKS ; dsp_bios_cfg.h62 + +;; module IDL (USECLKIDLTIME, CALIBRFXN, CALIBRERROR) + .global IDL$ ; == 1 + .global IDL_USECLKIDLTIME ; dsp_bios_cfg.h62 + .global IDL_CALIBRFXN ; dsp_bios_cfg.cmd + .global IDL_CALIBRERROR ; dsp_bios_cfg.h62 + +;; module ISRC () + .global ISRC$ ; == 1 + +;; module LOG (ENABLED) + .global LOG$ ; == 1 + .global LOG_ENABLED ; dsp_bios_cfg.h62 + +;; module PIP (gNumEmbed, gNextId, OBJSIZE) + .global PIP$ ; == 0 + .global PIP_gNumEmbed ; dsp_bios_cfg.h62 + .global PIP_gNextId ; dsp_bios_cfg.h62 + .global PIP_OBJSIZE ; dsp_bios_cfg.h62 + +;; module SEM () + .global SEM$ ; == 0 + +;; module MBX () + .global MBX$ ; == 0 + +;; module QUE () + .global QUE$ ; == 1 + +;; module LCK () + .global LCK$ ; == 1 + +;; module STS () + .global STS$ ; == 1 + +;; module SYS (ABORTFXN, ERRORFXN, EXITFXN, PUTCFXN) + .global SYS$ ; == 1 + .global SYS_ABORTFXN ; dsp_bios_cfg.cmd + .global SYS_ERRORFXN ; dsp_bios_cfg.cmd + .global SYS_EXITFXN ; dsp_bios_cfg.cmd + .global SYS_PUTCFXN ; dsp_bios_cfg.cmd + +;; module SIO () + .global SIO$ ; == 0 + +;; module GIO (CREATEFXN, DELETEFXN, PENDFXN, POSTFXN) + .global GIO$ ; == 0 + .global GIO_CREATEFXN ; dsp_bios_cfg.cmd + .global GIO_DELETEFXN ; dsp_bios_cfg.cmd + .global GIO_PENDFXN ; dsp_bios_cfg.cmd + .global GIO_POSTFXN ; dsp_bios_cfg.cmd + +;; module DEV () + .global DEV$ ; == 0 + +;; module UDEV () + .global UDEV$ ; == 0 + +;; module DIO (STATIC, NUMTSKBASE, NUMSWIBASE) + .global DIO$ ; == 0 + .global DIO_STATIC ; dsp_bios_cfg.h62 + .global DIO_NUMTSKBASE ; dsp_bios_cfg.h62 + .global DIO_NUMSWIBASE ; dsp_bios_cfg.h62 + +;; module DGN () + .global DGN$ ; == 0 + +;; module DHL (gChannelsAvailable) + .global DHL$ ; == 0 + .global DHL_gChannelsAvailable ; dsp_bios_cfg.h62 + +;; module DPI () + .global DPI$ ; == 0 + +;; module MSGQ (USEMSGQ) + .global MSGQ$ ; == 0 + .global MSGQ_USEMSGQ ; dsp_bios_cfg.h62 + +;; module HOOK (KNLID) + .global HOOK$ ; == 0 + .global HOOK_KNLID ; dsp_bios_cfg.h62 + +;; MODULE CONFIGURATION + +;; ======== GBL_config ======== + .asg 00H, _ROM + .asg 00H, _PROCID + .asg 04e20H, _CLKIN + .asg 036ee8H, _FREQ + .asg 03eH, _DSPTYPE + .asg 01a39H, _DSPSUBTYPE + .asg 01770H, _CLKTYPE + .asg 00H, _BIGENDIAN + .asg 01H, _USERINIT + .asg _GBL_setPLLto225MHz, _USERINITFXN + .asg 01H, _ENABLEINST + .asg 00H, _CACHE + .asg 01H, _L2CONFIGURE + .asg 00H, _L2MODE + .asg 00H, _L2PRIORITY + .asg 01H, _L2MARMASK + .asg 00H, _SUPPORTCSL + .asg 0dbefH, _TRCMASKVALUE + .asg 01H, _CALLCSLCFGINIT + .asg 00H, _C641XL2PRIORITY + .asg 00H, _L2MARMASK1 + .asg 00H, _L2MARMASK2 + .asg 00H, _L2MARMASK3 + .asg 00H, _L2MARMASK4 + .asg 00H, _L2MARMASK5 + .asg 00H, _L2CONFIGALLOC + .asg 02226H, _L2ALLOC + GBL_config _ROM, _PROCID, _CLKIN, _FREQ, _DSPTYPE, _DSPSUBTYPE, _CLKTYPE, _BIGENDIAN, _USERINIT, _USERINITFXN, _ENABLEINST, _CACHE, _L2CONFIGURE, _L2MODE, _L2PRIORITY, _L2MARMASK, _SUPPORTCSL, _TRCMASKVALUE, _CALLCSLCFGINIT, _C641XL2PRIORITY, _L2MARMASK1, _L2MARMASK2, _L2MARMASK3, _L2MARMASK4, _L2MARMASK5, _L2CONFIGALLOC, _L2ALLOC + +;; ======== MEM_config ======== + .asg 00H, _gNumHeap + .asg MEM_NULL, _SEGZERO + .asg MEM_NULL, _MALLOCSEG + .asg 00H, _USEMPC + MEM_config _gNumHeap, _SEGZERO, _MALLOCSEG, _USEMPC + +;; ======== OBJ_config ======== + OBJ_config + +;; ======== BUF_config ======== + .asg 01H, _ENABLED + BUF_config _ENABLED + +;; ======== POOL_config ======== + .asg 00H, _USEPOOL + POOL_config _USEPOOL + +;; ======== CLK_config ======== + .asg 04000H, _INTBIT + .asg 01940000H, _REGS + .asg 00H, _TIMERNUM + .asg 01H, _USETIMER + .asg 03e8H, _MICROSECS + .asg 020H, _TCR + .asg 00H, _TDDR + .asg 00H, _TDDRHIGH + .asg 0dbbaH, _PRD + .asg 00H, _PRDHIGH + .asg 0dbbaH, _COUNTSPMS + .asg 00H, _COUNTSPMSHIGH + .asg CLK_F_getshtime, _TIMEFXN + .asg HWI_F_dispatch, _HOOKFXN + .asg 01H, _CALDIV + .asg 04H, _CALMULT + .asg 01H, _HTIMEDIV + .asg 04H, _HTIMEMULT + .asg 01H, _LTIMEDIV + .asg 036ee8H, _LTIMEMULT + .asg 0dbbaH, _HTIMEPERLTIME + CLK_config _INTBIT, _REGS, _TIMERNUM, _USETIMER, _MICROSECS, _TCR, _TDDR, _TDDRHIGH, _PRD, _PRDHIGH, _COUNTSPMS, _COUNTSPMSHIGH, _TIMEFXN, _HOOKFXN, _CALDIV, _CALMULT, _HTIMEDIV, _HTIMEMULT, _LTIMEDIV, _LTIMEMULT, _HTIMEPERLTIME + +;; ======== PRD_config ======== + .asg 04000H, _SCALAR + .asg _KNL_tick, _THOOKFXN + PRD_config _SCALAR, _THOOKFXN + +;; ======== RTDX_config ======== + .asg 01H, _USERTDX + .asg 00H, _USERTEXECUTION + .asg "JTAG", _RTDXTYPE + .asg IRAM, _DATAMEMSEG + .asg 0408H, _BUFMEMSIZE + RTDX_config _USERTDX, _USERTEXECUTION, _RTDXTYPE, _DATAMEMSEG, _BUFMEMSIZE + +;; ======== HST_config ======== + .asg 01H, _RTDX + .asg 00H, _DSM + .asg 00H, _NONE + .asg 040H, _MAXFRAMESET + .asg 0ffH, _MAXFRAMEALLOWED + .asg IRAM, _DSMBUFSEG + .asg 0400H, _DSMMEMSIZE + HST_config _RTDX, _DSM, _NONE, _MAXFRAMESET, _MAXFRAMEALLOWED, _DSMBUFSEG, _DSMMEMSIZE + +;; ======== HWI_config ======== + .asg 01H, _ZEROTAB + .asg 00H, _GENERATE_RESET_VEC + .asg 00H, _POLARITYMASK + .asg 0310718afH, _INTRMULTLOW + .asg 082039a3H, _INTRMULTHIGH + .asg 04018H, _CFGDISPATCHED + HWI_config _ZEROTAB, _GENERATE_RESET_VEC, _POLARITYMASK, _INTRMULTLOW, _INTRMULTHIGH, _CFGDISPATCHED + +;; ======== 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 0400H, _STACKSIZE + .asg MEM_NULL, _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 + .asg 06H, _CALIBRERROR + IDL_config _USECLKIDLTIME, _CALIBRFXN, _CALIBRERROR + +;; ======== ISRC_config ======== + ISRC_config + +;; ======== LOG_config ======== + .asg 01H, _ENABLED + LOG_config _ENABLED + +;; ======== PIP_config ======== + .asg 02H, _gNumEmbed + .asg 00H, _gNextId + .asg 064H, _OBJSIZE + PIP_config _gNumEmbed, _gNextId, _OBJSIZE + +;; ======== SEM_config ======== + SEM_config + +;; ======== MBX_config ======== + MBX_config + +;; ======== QUE_config ======== + QUE_config + +;; ======== LCK_config ======== + LCK_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 + +;; ======== SIO_config ======== + SIO_config + +;; ======== GIO_config ======== + .asg _FXN_F_nop, _CREATEFXN + .asg _FXN_F_nop, _DELETEFXN + .asg _FXN_F_nop, _PENDFXN + .asg _FXN_F_nop, _POSTFXN + GIO_config _CREATEFXN, _DELETEFXN, _PENDFXN, _POSTFXN + +;; ======== DEV_config ======== + DEV_config + +;; ======== UDEV_config ======== + UDEV_config + +;; ======== DIO_config ======== + .asg 00H, _STATIC + .asg 00H, _NUMTSKBASE + .asg 00H, _NUMSWIBASE + DIO_config _STATIC, _NUMTSKBASE, _NUMSWIBASE + +;; ======== DGN_config ======== + DGN_config + +;; ======== DHL_config ======== + .asg 00H, _gChannelsAvailable + DHL_config _gChannelsAvailable + +;; ======== DPI_config ======== + DPI_config + +;; ======== MSGQ_config ======== + .asg 00H, _USEMSGQ + MSGQ_config _USEMSGQ + +;; ======== HOOK_config ======== + .asg 00H, _KNLID + HOOK_config _KNLID + +;; ======== MEM_Obj SDRAM ======== +;; This object defines 8MB for the DSP's off-chip memory +;; +;; MEM_Obj SDRAM (len, iAllocHeap, iSegZero, iHeapId) + .global SDRAM + .asg 0800000H, _len + .asg 00H, _iAllocHeap + .asg MEM_NULL, _iSegZero + .asg segment_name, _iHeapId + MEM_Obj 1, SDRAM, 0, _len, _iAllocHeap, _iSegZero, _iHeapId + +;; ======== MEM_Obj IRAM ======== +;; Internal L2 memory +;; +;; MEM_Obj IRAM (len, iAllocHeap, iSegZero, iHeapId) + .global IRAM + .asg 040000H, _len + .asg 00H, _iAllocHeap + .asg MEM_NULL, _iSegZero + .asg segment_name, _iHeapId + MEM_Obj 1, IRAM, 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 + +;; ======== HST_Obj RTA_fromHost ======== +;; Used to access LOG and STS data +;; +;; HST_Obj RTA_fromHost (mode, buf, framesize, numframes, stsflg, notify, arg0, arg1, lnk, bufFrameAlign) + .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 + .asg 04H, _bufFrameAlign + HST_Obj 1, RTA_fromHost, 1, _mode, _buf, _framesize, _numframes, _stsflg, _notify, _arg0, _arg1, _lnk, _bufFrameAlign + +;; ======== HST_Obj RTA_toHost ======== +;; Used to access LOG and STS data +;; +;; HST_Obj RTA_toHost (mode, buf, framesize, numframes, stsflg, notify, arg0, arg1, lnk, bufFrameAlign) + .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 + .asg 04H, _bufFrameAlign + HST_Obj 1, RTA_toHost, 0, _mode, _buf, _framesize, _numframes, _stsflg, _notify, _arg0, _arg1, _lnk, _bufFrameAlign + +;; ======== HWI_Obj HWI_RESET ======== +;; defines function for the RESET ISR +;; +;; HWI_Obj HWI_RESET (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_RESET + .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 01H, _IntrMask + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_RESET, 0, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_NMI ======== +;; defines function for the NMI ISR +;; +;; HWI_Obj HWI_NMI (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .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 02H, _IntrMask + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_NMI, 1, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_RESERVED0 ======== +;; RESERVED for RTDX +;; +;; HWI_Obj HWI_RESERVED0 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_RESERVED0 + .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 04H, _IntrMask + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_RESERVED0, 2, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_RESERVED1 ======== +;; RESERVED for RTDX +;; +;; HWI_Obj HWI_RESERVED1 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_RESERVED1 + .asg _RTDX_Poll, _function + .asg "Nothing", _monitor + .asg 00H, _addr + .asg "signed", _dataType + .asg "STS_add(*addr)", _operation + .asg "RTDX", _client + .asg 01H, _iUseDispatcher + .asg 00H, _iArg + .asg 08H, _IntrMask + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_RESERVED1, 3, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT4 ======== +;; defines the INT4 Interrupt +;; +;; HWI_Obj HWI_INT4 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT4 + .asg _ISR_AIC, _function + .asg "Nothing", _monitor + .asg 00H, _addr + .asg "signed", _dataType + .asg "STS_add(*addr)", _operation + .asg "USER", _client + .asg 01H, _iUseDispatcher + .asg 00H, _iArg + .asg 010H, _IntrMask + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT4, 4, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT5 ======== +;; defines the INT5 Interrupt +;; +;; HWI_Obj HWI_INT5 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT5 + .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 + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT5, 5, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT6 ======== +;; defines the INT6 Interrupt +;; +;; HWI_Obj HWI_INT6 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT6 + .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 + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT6, 6, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT7 ======== +;; defines the INT7 Interrupt +;; +;; HWI_Obj HWI_INT7 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT7 + .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 + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT7, 7, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT8 ======== +;; defines the INT8 Interrupt +;; +;; HWI_Obj HWI_INT8 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT8 + .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 + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT8, 8, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT9 ======== +;; defines the INT9 Interrupt +;; +;; HWI_Obj HWI_INT9 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT9 + .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 + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT9, 9, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT10 ======== +;; defines the INT10 Interrupt +;; +;; HWI_Obj HWI_INT10 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT10 + .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 + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT10, 10, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT11 ======== +;; defines the INT11 Interrupt +;; +;; HWI_Obj HWI_INT11 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT11 + .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 + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT11, 11, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT12 ======== +;; defines the INT12 Interrupt +;; +;; HWI_Obj HWI_INT12 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT12 + .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 + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT12, 12, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT13 ======== +;; defines the INT13 Interrupt +;; +;; HWI_Obj HWI_INT13 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT13 + .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 + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT13, 13, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT14 ======== +;; defines the INT14 Interrupt +;; +;; HWI_Obj HWI_INT14 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT14 + .asg CLK_F_isr, _function + .asg "Nothing", _monitor + .asg 00H, _addr + .asg "signed", _dataType + .asg "STS_add(*addr)", _operation + .asg "CLK", _client + .asg 01H, _iUseDispatcher + .asg CLK_A_TABBEG, _iArg + .asg 04000H, _IntrMask + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT14, 14, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== HWI_Obj HWI_INT15 ======== +;; defines the INT15 Interrupt +;; +;; HWI_Obj HWI_INT15 (function, monitor, addr, dataType, operation, client, iUseDispatcher, iArg, IntrMask, iCCBitMask, iLoadTrack) + .global HWI_INT15 + .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 + .asg 01H, _iCCBitMask + .asg 00H, _iLoadTrack + HWI_Obj 1, HWI_INT15, 15, _function, _monitor, _addr, _dataType, _operation, _client, _iUseDispatcher, _iArg, _IntrMask, _iCCBitMask, _iLoadTrack + +;; ======== SWI_Obj KNL_swi ======== +;; This Software Interrupt calls the TSK scheduler +;; +;; SWI_Obj KNL_swi (function, pri, mailbox, arg0, arg1, dorta, Order, filter, maxformat, sumformat, avgformat, filtmaxmult, filtsummult, unittype) + .global KNL_swi + .asg _KNL_run, _function + .asg 00H, _pri + .asg 00H, _mailbox + .asg 00H, _arg0 + .asg 00H, _arg1 + .asg 01H, _dorta + .asg 00H, _Order + .asg 02H, _filter + .asg "%g inst", _maxformat + .asg "%g inst", _sumformat + .asg "%.2f inst", _avgformat + .asg 01H, _filtmaxmult + .asg 01H, _filtsummult + .asg 00H, _unittype + SWI_Obj 1, KNL_swi, 0, _function, _pri, _mailbox, _arg0, _arg1, _dorta, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype + +;; ======== 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, Order, filter, maxformat, sumformat, avgformat, filtmaxmult, filtsummult, unittype) + .global TSK_idle + .asg IDL_F_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 0400H, _iSTKSZ + .asg IRAM, _iSTKSEG + .asg 00H, _iPRI + .asg 00H, _iENV + .asg 01H, _iEXITFLAG + .asg 00H, _iUSETSKNAME + .asg 00H, _iSTATREG + .asg 00H, _Order + .asg 02H, _filter + .asg "%g inst", _maxformat + .asg "%g inst", _sumformat + .asg "%.2f inst", _avgformat + .asg 01H, _filtmaxmult + .asg 01H, _filtsummult + .asg 00H, _unittype + TSK_Obj 1, TSK_idle, 0, _iFXN, _iARG0, _iARG1, _iARG2, _iARG3, _iARG4, _iARG5, _iARG6, _iARG7, _iAUTOSTK, _iMANSTK, _iSTKSZ, _iSTKSEG, _iPRI, _iENV, _iEXITFLAG, _iUSETSKNAME, _iSTATREG, _Order, _filter, _maxformat, _sumformat, _avgformat, _filtmaxmult, _filtsummult, _unittype + +;; ======== 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 + +;; ======== 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 + +;; ======== LOG_Obj LOG_system ======== +;; This object is required by the system to accumulate execution trace information +;; +;; LOG_Obj LOG_system (bufseg, buflen, logtype, iType, iFormat) + .global LOG_system + .asg IRAM, _bufseg + .asg 040H, _buflen + .asg "circular", _logtype + .asg "system", _iType + .asg "0x%x, 0x%x, 0x%x", _iFormat + LOG_Obj 1, LOG_system, 0, _bufseg, _buflen, _logtype, _iType, _iFormat + +;; ======== STS_Obj IDL_busyObj ======== +;; This object is required by the system to accumulate CPU load statistics +;; +;; STS_Obj IDL_busyObj (prev, filter, maxformat, sumformat, avgformat, op, uType, iA, iB, iC, prevlow) + .global IDL_busyObj + .asg 00H, _prev + .asg 01H, _filter + .asg "%g", _maxformat + .asg "%g", _sumformat + .asg "%.2f", _avgformat + .asg 00H, _op + .asg 02H, _uType + .asg 01H, _iA + .asg 00H, _iB + .asg 01H, _iC + .asg 00H, _prevlow + STS_Obj 1, IDL_busyObj, 0, _prev, _filter, _maxformat, _sumformat, _avgformat, _op, _uType, _iA, _iB, _iC, _prevlow + +;; MODULE INITIALIZATION + .sect ".sysinit" + .global BIOS_init, _BIOS_init +BIOS_init: +_BIOS_init: + GBL_preamble + GBL_init + SEM_init + MEM_init + OBJ_init + BUF_init + POOL_init + CLK_init + PRD_init + RTDX_init + IDL_init + LCK_init + LOG_init + MBX_init + PIP_init + QUE_init + STS_init + SYS_init + HWI_init + HST_init + DEV_init + UDEV_init + DIO_init + DGN_init + DHL_init + DPI_init + SIO_init + GIO_init + MSGQ_init + SWI_init + HOOK_init + TSK_init + ISRC_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 + BUF_startup + POOL_startup + CLK_startup + PRD_startup + RTDX_startup + IDL_startup + LCK_startup + LOG_startup + MBX_startup + PIP_startup + QUE_startup + STS_startup + SYS_startup + HWI_startup + HST_startup + DEV_startup + UDEV_startup + DIO_startup + DGN_startup + DHL_startup + DPI_startup + SIO_startup + GIO_startup + MSGQ_startup + SWI_startup + HOOK_startup + TSK_startup + ISRC_startup + GBL_postamble + +;; EPILOGUE + GBL_end + MEM_end + OBJ_end + BUF_end + POOL_end + CLK_end + PRD_end + RTDX_end + HST_end + HWI_end + SWI_end + TSK_end + IDL_end + ISRC_end + LOG_end + PIP_end + SEM_end + MBX_end + QUE_end + LCK_end + STS_end + SYS_end + SIO_end + GIO_end + DEV_end + UDEV_end + DIO_end + DGN_end + DHL_end + DPI_end + MSGQ_end + HOOK_end + + .copy confend.s62 -- cgit