📄 demo5402cfg.s54
字号:
;; Do *not* directly modify this file. It was ;; generated by the Configuration Tool; any ;; changes risk being overwritten. ;; INPUT demo5402.cdb;; CONFIGURATION/VERSION INFORMATION .asg "Thu Mar 18 00:10:17 2004", VERS$DATE;; PROLOGUE .include demo5402cfg.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 ATTRIBUTESMEM$NUMOF .set 7MEM$SETOF .set 00HOBJ$NUMOF .set 0OBJ$SETOF .set 00HCLK$NUMOF .set 2CLK$SETOF .set 00HPRD$NUMOF .set 1PRD$SETOF .set 00HRTDX$NUMOF .set 1RTDX$SETOF .set 01HHST$NUMOF .set 2HST$SETOF .set 03HHWI$NUMOF .set 32HWI$SETOF .set 0ffffHSWI$NUMOF .set 3SWI$SETOF .set 00HTSK$NUMOF .set 2TSK$SETOF .set 00HIDL$NUMOF .set 4IDL$SETOF .set 00HLOG$NUMOF .set 2LOG$SETOF .set 00HPIP$NUMOF .set 0PIP$SETOF .set 00HSEM$NUMOF .set 0SEM$SETOF .set 00HMBX$NUMOF .set 0MBX$SETOF .set 00HQUE$NUMOF .set 0QUE$SETOF .set 00HLCK$NUMOF .set 0LCK$SETOF .set 00HSIO$NUMOF .set 0SIO$SETOF .set 00HSTS$NUMOF .set 2STS$SETOF .set 00HDEV$NUMOF .set 0DEV$SETOF .set 00HUDEV$NUMOF .set 0UDEV$SETOF .set 00HDGN$NUMOF .set 0DGN$SETOF .set 00HDHL$NUMOF .set 0DHL$SETOF .set 00HDPI$NUMOF .set 0DPI$SETOF .set 00HHOOK$NUMOF .set 0HOOK$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 ; demo5402cfg.h54 .global GBL_CHIPTYPE5441 ; demo5402cfg.h54 .global GBL_CHIPPRSC ; demo5402cfg.h54 .global GBL_PMST ; demo5402cfg.h54 .global GBL_SWWSR ; demo5402cfg.h54 .global GBL_BSCR ; demo5402cfg.h54 .global GBL_MODIFYCLKMD ; demo5402cfg.h54 .global GBL_CLKMD ; demo5402cfg.h54 .global GBL_USERINIT ; demo5402cfg.h54 .global GBL_USERINITFXN ; demo5402cfg.cmd .global GBL_ENABLEINST ; demo5402cfg.h54 .global GBL_FARMODE ; demo5402cfg.h54 .global GBL_SUPPORTCSL ; demo5402cfg.h54 .global GBL_TRCMASKVALUE ; demo5402cfg.h54 .global GBL_CALLCSLCFGINIT ; demo5402cfg.h54;; module MEM (gNumHeap, SEGZERO, MALLOCSEG) .global MEM$ ; == 1 .global MEM_gNumHeap ; demo5402cfg.h54 .global MEM_SEGZERO ; demo5402cfg.cmd .global MEM_MALLOCSEG ; demo5402cfg.cmd;; module OBJ () .global OBJ$ ; == 0;; module CLK (REGS, TIMERNUM, USETIMER, TCR, TDDR, PRD, COUNTSPMS, COUNTSPMSHIGH, TIMEFXN, HOOKFXN) .global CLK$ ; == 1 .global CLK_REGS ; demo5402cfg.h54 .global CLK_TIMERNUM ; demo5402cfg.h54 .global CLK_USETIMER ; demo5402cfg.h54 .global CLK_TCR ; demo5402cfg.h54 .global CLK_TDDR ; demo5402cfg.h54 .global CLK_PRD ; demo5402cfg.h54 .global CLK_COUNTSPMS ; demo5402cfg.h54 .global CLK_COUNTSPMSHIGH ; demo5402cfg.h54 .global CLK_TIMEFXN ; demo5402cfg.cmd .global CLK_HOOKFXN ; demo5402cfg.cmd;; module PRD (SCALAR, THOOKFXN) .global PRD$ ; == 1 .global PRD_SCALAR ; demo5402cfg.h54 .global PRD_THOOKFXN ; demo5402cfg.cmd;; module RTDX (USERTDX, USERTEXECUTION, DATAMEMSEG, BUFMEMSIZE) .global RTDX$ ; == 1 .global RTDX_USERTDX ; demo5402cfg.h54 .global RTDX_USERTEXECUTION ; demo5402cfg.h54 .global RTDX_DATAMEMSEG ; demo5402cfg.cmd .global RTDX_BUFMEMSIZE ; demo5402cfg.h54;; module HST (RTDX, DSM, NONE, MAXFRAMESET, MAXFRAMEALLOWED, DSMBUFSEG, DSMMEMSIZE) .global HST$ ; == 1 .global HST_RTDX ; demo5402cfg.h54 .global HST_DSM ; demo5402cfg.h54 .global HST_NONE ; demo5402cfg.h54 .global HST_MAXFRAMESET ; demo5402cfg.h54 .global HST_MAXFRAMEALLOWED ; demo5402cfg.h54 .global HST_DSMBUFSEG ; demo5402cfg.cmd .global HST_DSMMEMSIZE ; demo5402cfg.h54;; module HWI () .global HWI$ ; == 1;; module SWI (EHOOKFXN, IHOOKFXN, EXECFXN, RUNFXN) .global SWI$ ; == 1 .global SWI_EHOOKFXN ; demo5402cfg.cmd .global SWI_IHOOKFXN ; demo5402cfg.cmd .global SWI_EXECFXN ; demo5402cfg.cmd .global SWI_RUNFXN ; demo5402cfg.cmd;; module TSK (STACKSIZE, STACKSEG, PRIORITY, VCREATEFXN, VDELETEFXN, VEXITFXN, SWITCHFXN, READYFXN, NUM_HOOKS) .global TSK$ ; == 1 .global TSK_STACKSIZE ; demo5402cfg.h54 .global TSK_STACKSEG ; demo5402cfg.cmd .global TSK_PRIORITY ; demo5402cfg.h54 .global TSK_VCREATEFXN ; demo5402cfg.cmd .global TSK_VDELETEFXN ; demo5402cfg.cmd .global TSK_VEXITFXN ; demo5402cfg.cmd .global TSK_SWITCHFXN ; demo5402cfg.h54 .global TSK_READYFXN ; demo5402cfg.h54 .global TSK_NUM_HOOKS ; demo5402cfg.h54;; module IDL (USECLKIDLTIME, CALIBRFXN) .global IDL$ ; == 1 .global IDL_USECLKIDLTIME ; demo5402cfg.h54 .global IDL_CALIBRFXN ; demo5402cfg.cmd;; module LOG (ENABLED) .global LOG$ ; == 1 .global LOG_ENABLED ; demo5402cfg.h54;; module PIP (gNumEmbed, gNextId) .global PIP$ ; == 0 .global PIP_gNumEmbed ; demo5402cfg.h54 .global PIP_gNextId ; demo5402cfg.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 ; demo5402cfg.cmd .global SYS_ERRORFXN ; demo5402cfg.cmd .global SYS_EXITFXN ; demo5402cfg.cmd .global SYS_PUTCFXN ; demo5402cfg.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 ; demo5402cfg.h54;; module DPI () .global DPI$ ; == 0;; module HOOK (KNLID) .global HOOK$ ; == 0 .global HOOK_KNLID ; demo5402cfg.h54;; MODULE CONFIGURATION;; ======== GBL_config ======== .asg 00H, _ROM .asg 00H, _CHIPTYPE5441 .asg 00H, _CHIPPRSC .asg 0a8H, _PMST .asg 02492H, _SWWSR .asg 02H, _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 00H, _gNumHeap .asg MEM_NULL, _SEGZERO .asg MEM_NULL, _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 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 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 _FXN_F_nop, _ABORTFXN .asg _FXN_F_nop, _ERRORFXN .asg _FXN_F_nop, _EXITFXN .asg _FXN_F_nop, _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 MEM_NULL, _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 MEM_NULL, _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 MEM_NULL, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, VECT, 0, _len, _iAllocHeap, _iSegZero, _iHeapId;; ======== MEM_Obj IDATA ========;; This object defines space for the DSP's on-chip memory and can't be deleted;;;; MEM_Obj IDATA (len, iAllocHeap, iSegZero, iHeapId) .global IDATA .asg 08000H, _len .asg 00H, _iAllocHeap .asg MEM_NULL, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, IDATA, 0, _len, _iAllocHeap, _iSegZero, _iHeapId;; ======== MEM_Obj IPROG ========;; <add comments here>;;;; MEM_Obj IPROG (len, iAllocHeap, iSegZero, iHeapId) .global IPROG .asg 07f00H, _len .asg 00H, _iAllocHeap .asg MEM_NULL, _iSegZero .asg segment_name, _iHeapId MEM_Obj 1, IPROG, 0, _len, _iAllocHeap, _iSegZero, _iHeapId
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -