⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edmacfg.s64

📁 用c实现的dsp的edma功能
💻 S64
📖 第 1 页 / 共 3 页
字号:
;;   Do *not* directly modify this file.  It was   
;;   generated by the Configuration Tool; any 
;;   changes risk being overwritten.               

;; INPUT edma.cdb

;; CONFIGURATION/VERSION INFORMATION
        .asg "Mon Jan  5 18:06:20 2004", VERS$DATE

;; PROLOGUE
        .include edmacfg.h62
        .copy confbeg.s62

;; TYPE HEADERS
        .include gbl.h62
        .include mem.h62
        .include obj.h62
        .include buf.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 sio.h62
        .include sts.h62
        .include sys.h62
        .include gio.h62
        .include dev.h62
        .include udev.h62
        .include dgn.h62
        .include dhl.h62
        .include dpi.h62
        .include hook.h62
        .include dio.h62

;; TYPE ATTRIBUTES
MEM$NUMOF           .set 1
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 2
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 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
DIO$NUMOF           .set 0
DIO$SETOF           .set 00H

;; module GBL (ROM, 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                  ; edmacfg.h62
        .global GBL_BIGENDIAN            ; edmacfg.h62
        .global GBL_USERINIT             ; edmacfg.h62
        .global GBL_USERINITFXN          ; edmacfg.cmd
        .global GBL_ENABLEINST           ; edmacfg.h62
        .global GBL_CACHE                ; edmacfg.h62
        .global GBL_L2CONFIGURE          ; edmacfg.h62
        .global GBL_L2MODE               ; edmacfg.h62
        .global GBL_L2PRIORITY           ; edmacfg.h62
        .global GBL_L2MARMASK            ; edmacfg.h62
        .global GBL_SUPPORTCSL           ; edmacfg.h62
        .global GBL_TRCMASKVALUE         ; edmacfg.h62
        .global GBL_CALLCSLCFGINIT       ; edmacfg.h62
        .global GBL_C641XL2PRIORITY      ; edmacfg.h62
        .global GBL_L2MARMASK1           ; edmacfg.h62
        .global GBL_L2MARMASK2           ; edmacfg.h62
        .global GBL_L2MARMASK3           ; edmacfg.h62
        .global GBL_L2MARMASK4           ; edmacfg.h62
        .global GBL_L2MARMASK5           ; edmacfg.h62
        .global GBL_L2CONFIGALLOC        ; edmacfg.h62
        .global GBL_L2ALLOC              ; edmacfg.h62

;; module MEM (gNumHeap, SEGZERO, MALLOCSEG)
        .global MEM$                     ; == 1
        .global MEM_gNumHeap             ; edmacfg.h62
        .global MEM_SEGZERO              ; edmacfg.cmd
        .global MEM_MALLOCSEG            ; edmacfg.cmd

;; module OBJ ()
        .global OBJ$                     ; == 0

;; module BUF (ENABLED)
        .global BUF$                     ; == 0
        .global BUF_ENABLED              ; edmacfg.h62

;; module CLK (INTBIT, REGS, TIMERNUM, USETIMER, TCR, TDDR, TDDRHIGH, PRD, PRDHIGH, COUNTSPMS, COUNTSPMSHIGH, TIMEFXN, HOOKFXN)
        .global CLK$                     ; == 1
        .global CLK_INTBIT               ; edmacfg.h62
        .global CLK_REGS                 ; edmacfg.h62
        .global CLK_TIMERNUM             ; edmacfg.h62
        .global CLK_USETIMER             ; edmacfg.h62
        .global CLK_TCR                  ; edmacfg.h62
        .global CLK_TDDR                 ; edmacfg.h62
        .global CLK_TDDRHIGH             ; edmacfg.h62
        .global CLK_PRD                  ; edmacfg.h62
        .global CLK_PRDHIGH              ; edmacfg.h62
        .global CLK_COUNTSPMS            ; edmacfg.h62
        .global CLK_COUNTSPMSHIGH        ; edmacfg.h62
        .global CLK_TIMEFXN              ; edmacfg.cmd
        .global CLK_HOOKFXN              ; edmacfg.cmd

;; module PRD (SCALAR, THOOKFXN)
        .global PRD$                     ; == 1
        .global PRD_SCALAR               ; edmacfg.h62
        .global PRD_THOOKFXN             ; edmacfg.cmd

;; module RTDX (USERTDX, USERTEXECUTION, DATAMEMSEG, BUFMEMSIZE)
        .global RTDX$                    ; == 0
        .global RTDX_USERTDX             ; edmacfg.h62
        .global RTDX_USERTEXECUTION      ; edmacfg.h62
        .global RTDX_DATAMEMSEG          ; edmacfg.cmd
        .global RTDX_BUFMEMSIZE          ; edmacfg.h62

;; module HST (RTDX, DSM, NONE, MAXFRAMESET, MAXFRAMEALLOWED, DSMBUFSEG, DSMMEMSIZE)
        .global HST$                     ; == 1
        .global HST_RTDX                 ; edmacfg.h62
        .global HST_DSM                  ; edmacfg.h62
        .global HST_NONE                 ; edmacfg.h62
        .global HST_MAXFRAMESET          ; edmacfg.h62
        .global HST_MAXFRAMEALLOWED      ; edmacfg.h62
        .global HST_DSMBUFSEG            ; edmacfg.cmd
        .global HST_DSMMEMSIZE           ; edmacfg.h62

;; module HWI (ZEROTAB, GENERATE_RESET_VEC, POLARITYMASK, INTRMULTLOW, INTRMULTHIGH)
        .global HWI$                     ; == 1
        .global HWI_ZEROTAB              ; edmacfg.h62
        .global HWI_GENERATE_RESET_VEC   ; edmacfg.h62
        .global HWI_POLARITYMASK         ; edmacfg.h62
        .global HWI_INTRMULTLOW          ; edmacfg.h62
        .global HWI_INTRMULTHIGH         ; edmacfg.h62

;; module SWI (EHOOKFXN, IHOOKFXN, EXECFXN, RUNFXN)
        .global SWI$                     ; == 1
        .global SWI_EHOOKFXN             ; edmacfg.cmd
        .global SWI_IHOOKFXN             ; edmacfg.cmd
        .global SWI_EXECFXN              ; edmacfg.cmd
        .global SWI_RUNFXN               ; edmacfg.cmd

;; module TSK (STACKSIZE, STACKSEG, PRIORITY, VCREATEFXN, VDELETEFXN, VEXITFXN, SWITCHFXN, READYFXN, NUM_HOOKS)
        .global TSK$                     ; == 1
        .global TSK_STACKSIZE            ; edmacfg.h62
        .global TSK_STACKSEG             ; edmacfg.cmd
        .global TSK_PRIORITY             ; edmacfg.h62
        .global TSK_VCREATEFXN           ; edmacfg.cmd
        .global TSK_VDELETEFXN           ; edmacfg.cmd
        .global TSK_VEXITFXN             ; edmacfg.cmd
        .global TSK_SWITCHFXN            ; edmacfg.h62
        .global TSK_READYFXN             ; edmacfg.h62
        .global TSK_NUM_HOOKS            ; edmacfg.h62

;; module IDL (USECLKIDLTIME, CALIBRFXN)
        .global IDL$                     ; == 1
        .global IDL_USECLKIDLTIME        ; edmacfg.h62
        .global IDL_CALIBRFXN            ; edmacfg.cmd

;; module ISRC ()
        .global ISRC$                    ; == 1

;; module LOG (ENABLED)
        .global LOG$                     ; == 1
        .global LOG_ENABLED              ; edmacfg.h62

;; module PIP (gNumEmbed, gNextId)
        .global PIP$                     ; == 0
        .global PIP_gNumEmbed            ; edmacfg.h62
        .global PIP_gNextId              ; edmacfg.h62

;; 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             ; edmacfg.cmd
        .global SYS_ERRORFXN             ; edmacfg.cmd
        .global SYS_EXITFXN              ; edmacfg.cmd
        .global SYS_PUTCFXN              ; edmacfg.cmd

;; module GIO (CREATEFXN, DELETEFXN, PENDFXN, POSTFXN)
        .global GIO$                     ; == 0
        .global GIO_CREATEFXN            ; edmacfg.cmd
        .global GIO_DELETEFXN            ; edmacfg.cmd
        .global GIO_PENDFXN              ; edmacfg.cmd
        .global GIO_POSTFXN              ; edmacfg.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   ; edmacfg.h62

;; module DPI ()
        .global DPI$                     ; == 0

;; module HOOK (KNLID)
        .global HOOK$                    ; == 0
        .global HOOK_KNLID               ; edmacfg.h62

;; module DIO (STATIC, NUMTSKBASE, NUMSWIBASE)
        .global DIO$                     ; == 0
        .global DIO_STATIC               ; edmacfg.h62
        .global DIO_NUMTSKBASE           ; edmacfg.h62
        .global DIO_NUMSWIBASE           ; edmacfg.h62

;; MODULE CONFIGURATION

;; ======== GBL_config ========
        .asg 00H, _ROM
        .asg 00H, _BIGENDIAN
        .asg 00H, _USERINIT
        .asg _FXN_F_nop, _USERINITFXN
        .asg 01H, _ENABLEINST
        .asg 00H, _CACHE
        .asg 01H, _L2CONFIGURE
        .asg 00H, _L2MODE
        .asg 00H, _L2PRIORITY
        .asg 00H, _L2MARMASK
        .asg 01H, _SUPPORTCSL
        .asg 0dbefH, _TRCMASKVALUE
        .asg 01H, _CALLCSLCFGINIT
        .asg 00H, _C641XL2PRIORITY
        .asg 01H, _L2MARMASK1
        .asg 00H, _L2MARMASK2
        .asg 00H, _L2MARMASK3
        .asg 00H, _L2MARMASK4
        .asg 00H, _L2MARMASK5
        .asg 00H, _L2CONFIGALLOC
        .asg 02226H, _L2ALLOC
        GBL_config  _ROM, _BIGENDIAN, _USERINIT, _USERINITFXN, _ENABLEINST, _CACHE, _L2CONFIGURE, _L2MODE, _L2PRIORITY, _L2MARMASK, _SUPPORTCSL, _TRCMASKVALUE, _CALLCSLCFGINIT, _C641XL2PRIORITY, _L2MARMASK1, _L2MARMASK2, _L2MARMASK3, _L2MARMASK4, _L2MARMASK5, _L2CONFIGALLOC, _L2ALLOC

;; ======== MEM_config ========
        .asg 01H, _gNumHeap
        .asg ISRAM, _SEGZERO
        .asg ISRAM, _MALLOCSEG
        MEM_config  _gNumHeap, _SEGZERO, _MALLOCSEG

;; ======== OBJ_config ========
        OBJ_config

;; ======== BUF_config ========
        .asg 01H, _ENABLED
        BUF_config  _ENABLED

;; ======== CLK_config ========
        .asg 04000H, _INTBIT
        .asg 01940000H, _REGS
        .asg 00H, _TIMERNUM
        .asg 01H, _USETIMER
        .asg 020H, _TCR
        .asg 00H, _TDDR
        .asg 00H, _TDDRHIGH
        .asg 0124f8H, _PRD
        .asg 01H, _PRDHIGH
        .asg 0124f8H, _COUNTSPMS
        .asg 01H, _COUNTSPMSHIGH
        .asg CLK_F_getshtime, _TIMEFXN
        .asg HWI_F_dispatch, _HOOKFXN
        CLK_config  _INTBIT, _REGS, _TIMERNUM, _USETIMER, _TCR, _TDDR, _TDDRHIGH, _PRD, _PRDHIGH, _COUNTSPMS, _COUNTSPMSHIGH, _TIMEFXN, _HOOKFXN

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -