📄 newechocfg.lst
字号:
190 .global SWI_EHOOKFXN ; newechocfg.cmd
191 .global SWI_IHOOKFXN ; newechocfg.cmd
192 .global SWI_EXECFXN ; newechocfg.cmd
193 .global SWI_RUNFXN ; newechocfg.cmd
194
195 ;; module SYS (ABORTFXN, ERRORFXN, EXITFXN, PUTCFXN)
196 .global SYS$ ; == 1
197 .global SYS_ABORTFXN ; newechocfg.cmd
198 .global SYS_ERRORFXN ; newechocfg.cmd
199 .global SYS_EXITFXN ; newechocfg.cmd
200 .global SYS_PUTCFXN ; newechocfg.cmd
201
TMS320C6x COFF Assembler Version 4.00 Fri Sep 15 10:21:28 2000
Copyright (c) 1996-2000 Texas Instruments Incorporated
newechocfg.s62 PAGE 5
202 ;; module TSK (STACKSIZE, STACKSEG, PRIORITY, CREATEFXN, DELETEFXN, EXITFXN, SWITCHFXN, READYFXN)
203 .global TSK$ ; == 1
204 .global TSK_STACKSIZE ; newechocfg.h62
205 .global TSK_STACKSEG ; newechocfg.cmd
206 .global TSK_PRIORITY ; newechocfg.h62
207 .global TSK_CREATEFXN ; newechocfg.cmd
208 .global TSK_DELETEFXN ; newechocfg.cmd
209 .global TSK_EXITFXN ; newechocfg.cmd
210 .global TSK_SWITCHFXN ; newechocfg.h62
211 .global TSK_READYFXN ; newechocfg.h62
212
213 ;; module DEV ()
214 .global DEV$ ; == 0
215
216 ;; module UDEV ()
217 .global UDEV$ ; == 1
218
219 ;; module DGN ()
220 .global DGN$ ; == 0
221
222 ;; module DHL (gChannelsAvailable)
223 .global DHL$ ; == 0
224 .global DHL_gChannelsAvailable ; newechocfg.h62
225
226 ;; module DPI ()
227 .global DPI$ ; == 0
228
229 ;; MODULE CONFIGURATION
230
231 ;; ======== GBL_config ========
232 .asg 00H, _ROM
233 .asg 00H, _USERINIT
234 .asg _FXN_F_nop, _USERINITFXN
235 .asg 01H, _ENABLEINST
236 .asg 00H, _CACHE
237 .asg 00H, _L2CONFIGURE
238 .asg 00H, _L2MODE
239 .asg 00H, _L2PRIORITY
240 .asg 00H, _L2MARMASK
241 00000000 GBL_config _ROM, _USERINIT, _USERINITFXN, _ENABLEINST, _CACHE, _L2CONFIGURE, _L2MODE, _L2PRIO
1 .asg _FXN_F_nop, USERINITFXN ; used by GBL_init
1
1 ; initialize 'gblinit' variable, used in GBL_init
1 00000000 gblinit .sect ".gblinit"
1
1 ;
1 ; fill stack with '0xc0ffee'
1 ;
1 ; Don't overwrite the bottom 8 words to avoid trashing
1 ; valid stack data. (Only one of these words contains
1 ; valid data, but just to be safe we leave 8 untouched).
1 ;
1 ; (stacksize / wordsize) since size is in words
1 ;
1 00000000 00000000% .word ( (GBL_stackend-GBL_stackbeg+1) / STD_TARGWORDMAUS ) - 8 ; nwords
TMS320C6x COFF Assembler Version 4.00 Fri Sep 15 10:21:28 2000
Copyright (c) 1996-2000 Texas Instruments Incorporated
newechocfg.s62 PAGE 6
1 00000004 00000000! .word GBL_stackbeg ; addr
1 00000008 00C0FFEE .word 0xc0ffee ; value
1
242
243 ;; ======== OBJ_config ========
244 0000000c OBJ_config
1
1
1 .asg "_OBJ_table + 0 * STD_TARGWORDMAUS", OBJ_TAB_SEM
1 .asg "_OBJ_table + 2 * STD_TARGWORDMAUS", OBJ_TAB_SWI
1 .asg "_OBJ_table + 4 * STD_TARGWORDMAUS", OBJ_TAB_TSK
1 .asg "_OBJ_table + 6 * STD_TARGWORDMAUS", OBJ_TAB_MBX
1 .asg "_OBJ_table + 8 * STD_TARGWORDMAUS", OBJ_TAB_SIO
1 .asg "_OBJ_table + 10 * STD_TARGWORDMAUS", OBJ_TAB_SA
1
1 .asg _OBJ_table + 0 * STD_TARGWORDMAUS, OBJ_sem$next
1 .asg _OBJ_table + 2 * STD_TARGWORDMAUS, OBJ_swi$next
1 .asg _OBJ_table + 4 * STD_TARGWORDMAUS, OBJ_tsk$next
1 .asg _OBJ_table + 6 * STD_TARGWORDMAUS, OBJ_mbx$next
1 .asg _OBJ_table + 8 * STD_TARGWORDMAUS, OBJ_sio$next
1 .asg _OBJ_table + 10 * STD_TARGWORDMAUS, OBJ_sa$next
1
1 .asg _OBJ_table + 0 * STD_TARGWORDMAUS, OBJ_sem$prev
1 .asg _OBJ_table + 2 * STD_TARGWORDMAUS, OBJ_swi$prev
1 .asg _OBJ_table + 4 * STD_TARGWORDMAUS, OBJ_tsk$prev
1 .asg _OBJ_table + 6 * STD_TARGWORDMAUS, OBJ_mbx$prev
1 .asg _OBJ_table + 8 * STD_TARGWORDMAUS, OBJ_sio$prev
1 .asg _OBJ_table + 10 * STD_TARGWORDMAUS, OBJ_sa$prev
1
1 .asg 1, SEM$sernum
1 .asg 1, SWI$sernum
1 .asg 1, TSK$sernum
1 .asg 1, MBX$sernum
1 .asg 1, SIO$sernum
1 .asg 1, SA$sernum
1
245
246 ;; ======== CLK_config ========
247 .asg 04000H, _INTBIT
248 .asg 01940000H, _REGS
249 .asg 01H, _USETIMER
250 .asg 020H, _TCR
251 .asg 081e2H, _PRD
252 .asg 081e2H, _COUNTSPMS
253 .asg CLK_F_getshtime, _TIMEFXN
254 .asg HWI_F_dispatch, _HOOKFXN
255 0000000c CLK_config _INTBIT, _REGS, _USETIMER, _TCR, _PRD, _COUNTSPMS, _TIMEFXN, _HOOKFXN
1
1 ;
1 ; NOTE! BIOS and SPOX overlap still needs resolution
1 ;
1
256
257 ;; ======== HST_config ========
258 .asg 01H, _RTDX
TMS320C6x COFF Assembler Version 4.00 Fri Sep 15 10:21:28 2000
Copyright (c) 1996-2000 Texas Instruments Incorporated
newechocfg.s62 PAGE 7
259 .asg 00H, _DSM
260 .asg 00H, _NONE
261 .asg 040H, _MAXFRAMESET
262 .asg 0100H, _MAXFRAMEALLOWED
263 .asg IDRAM, _DSMBUFSEG
264 .asg 0400H, _DSMMEMSIZE
265 0000000c HST_config _RTDX, _DSM, _NONE, _MAXFRAMESET, _MAXFRAMEALLOWED, _DSMBUFSEG, _DSMMEMSIZE
1 .asg 0, HST$hstCount
1 .asg 0, chanId
1
1 .if(HST$ != 0)
1 0000000c LNK_config _dsm, _dsmbufseg, _dsmmemsize ; do any reqd LNK config
2 .ref LNK_dspFrameRequestMask, LNK_dspFrameReadyMask
2
2 .if(00H = 1)
2
2 .global LNK_outputBuf, LNK_inputBuf
2
2 ; reserve uninitialized space for DSP output buffer
2 LNK_outputBuf .usect ".dsm", _dsmmemsize, STD_TARGWORDMAUS
2
2 ; reserve uninitialized space for DSP input buffer
2 LNK_inputBuf .usect ".dsm", _dsmmemsize, STD_TARGWORDMAUS
2
2 .endif
2
1 .endif
1
266
267 ;; ======== HWI_config ========
268 .asg 01H, _ZEROTAB
269 .asg 00H, _POLARITYMASK
270 .asg 0250718a4H, _INTRMULTLOW
271 .asg 08202da3H, _INTRMULTHIGH
272 0000000c HWI_config _ZEROTAB, _POLARITYMASK, _INTRMULTLOW, _INTRMULTHIGH
1
273
274 ;; ======== IDL_config ========
275 .asg 01H, _USECLKIDLTIME
276 .asg IDL_F_stub, _CALIBRFXN
277 0000000c IDL_config _USECLKIDLTIME, _CALIBRFXN
1 .asg 01H,USECLKIDLTIME ; used by IDL_init
278
279 ;; ======== ISRC_config ========
280 0000000c ISRC_config
281
282 ;; ======== LCK_config ========
283 0000000c LCK_config
284
285 ;; ======== LOG_config ========
286 .asg 01H, _ENABLED
287 0000000c LOG_config _ENABLED
288
289 ;; ======== MBX_config ========
290 0000000c MBX_config
TMS320C6x COFF Assembler Version 4.00 Fri Sep 15 10:21:28 2000
Copyright (c) 1996-2000 Texas Instruments Incorporated
newechocfg.s62 PAGE 8
291
292 ;; ======== MEM_config ========
293 .asg 01H, _gNumHeap
294 .asg 00H, _NOHEAPS
295 .asg IDRAM, _MALLOCSEG
296 0000000c MEM_config _gNumHeap, _NOHEAPS, _MALLOCSEG
1
1 ;
1 ; Proceed only if there are heaps declared.
1 ;
1 .if 01H
1 .global _MEM ; Pointer to configuration parameters
1 .global _MEM_memtab ; Array of memory heaps
1 .global __MEM_NUMSEGMENTS ; Number of memory heaps
1
1 ;
1 ; The following two .bss/.cinit sets make configured values readable
1 ; in the established SPOX manner, e.g., MEM->MALLOCSEG.
1 ;
1 00000000 MEM_config .usect ".MEM$obj", 1 * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1
1 00000000 .sect ".cinit"
1 .align STD_TARGALIGN
1 00000000 00000004 .word 1 * STD_TARGWORDMAUS
1 00000004 00000000- .word MEM_config
1
1 ;; If MEM_NOHEAPS then put in an err value in for MALLOCSEG$idx
1 .if (00H == 0)
1 00000008 00000000 .word IDRAM$idx
1 .else
1 .word -1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -