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

📄 h263_loopbackcfg.lst

📁 实现于SEED VPM642 V1.2平台的H.263
💻 LST
📖 第 1 页 / 共 5 页
字号:
     308                            .asg SDRAM, _MALLOCSEG
     309 0000000c                   MEM_config  _gNumHeap, _SEGZERO, _MALLOCSEG
1                           
1                               ;
1                               ; Proceed only if there are heaps declared.
1                               ;
1                               .if 02H
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", 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 MALLOCSEG = MEM_NULL then put in an err value in for MALLOCSEG$idx
1                                   .if ($symcmp("SDRAM", "MEM_NULL") == 0)
1                                       .word -1
1                                   .else
1        00000008 00000000              .word SDRAM$idx
1                                   .endif
1                           
1        0000000c                   .sect ".cinit"
1                                   .align STD_TARGALIGN
1        00000010 00000004          .word 1 * STD_TARGWORDMAUS
1        00000014 00000000!         .word _MEM   
1        00000018 00000000-         .word MEM_config
1                           
1                                   ;
1                                   ; This declares space for the array of configured heaps, the .cinit
1                                   ; parts are defined for each task in MEM_Obj.  This space has to be
1                                   ; reserved NOW, before the MEM_Obj macro is called and the elements
1                                   ; of the table are defined.
1                                   ;
1        00000000                   .bss _MEM_memtab, 02H * 3 * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1                           
1                                   ;
TMS320C6x COFF Assembler PC Version 4.32 Wed Jan 04 14:25:55 2006

Tools Copyright (c) 1996-2002 Texas Instruments Incorporated
h263_loopbackcfg.s62                                                 PAGE    9

1                                   ; Set MEM_tabIdx to 1 if _segzero is set to a MEM segment other then
1                                   ; MEM_NULL because the MEM segment will in the 0th place.
1                                   ; If _segzero is MEM_NULL then set MEM_tabIdx to 0 since MEM_NULL is
1                                   ; only a place holder and not a real MEM segment with a heap.
1                                   ;
1                                   .if $symcmp("MEM_NULL", "SDRAM") == 0
1                                       .asg    0, MEM_tabIdx        ; Index into MEM_memtab
1                                   .else
1                                       .asg    1, MEM_tabIdx        ; Index into MEM_memtab
1                                   .endif
1                           
1                               ;
1                               ; _MEM_memtab needs to be set to zero if no heap are defined
1                               ;
1                               .else
1                               .global _MEM_memtab
1                           _MEM_memtab .set 00h
1                               .endif        ; .if :_gNumHeap:
1                           
     310                    
     311                    ;; ======== OBJ_config ========
     312 0000001c                   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_DEV
1                                   .asg    "_OBJ_table + 12 * STD_TARGWORDMAUS",   OBJ_TAB_BUF
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_dev$next
1                                   .asg _OBJ_table + 12 * STD_TARGWORDMAUS,  OBJ_buf$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_dev$prev
1                                   .asg _OBJ_table + 12 * STD_TARGWORDMAUS, OBJ_buf$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,      DEV$sernum
1                                   .asg    1,      BUF$sernum
TMS320C6x COFF Assembler PC Version 4.32 Wed Jan 04 14:25:55 2006

Tools Copyright (c) 1996-2002 Texas Instruments Incorporated
h263_loopbackcfg.s62                                                 PAGE   10

1                           
     313                    
     314                    ;; ======== BUF_config ========
     315                            .asg 01H, _ENABLED
     316 0000001c                   BUF_config  _ENABLED
     317                    
     318                    ;; ======== CLK_config ========
     319                            .asg 04000H, _INTBIT
     320                            .asg 01940000H, _REGS
     321                            .asg 00H, _TIMERNUM
     322                            .asg 01H, _USETIMER
     323                            .asg 020H, _TCR
     324                            .asg 00H, _TDDR
     325                            .asg 00H, _TDDRHIGH
     326                            .asg 0124f8H, _PRD
     327                            .asg 01H, _PRDHIGH
     328                            .asg 0124f8H, _COUNTSPMS
     329                            .asg 01H, _COUNTSPMSHIGH
     330                            .asg CLK_F_getshtime, _TIMEFXN
     331                            .asg HWI_F_dispatch, _HOOKFXN
     332 0000001c                   CLK_config  _INTBIT, _REGS, _TIMERNUM, _USETIMER, _TCR, _TDDR, _TDDRHIGH, _PRD, _PRDHIGH, _COU
1                           
1                                   ;
1                                   ; NOTE! BIOS and SPOX overlap still needs resolution
1                                   ;
1                                   
     333                    
     334                    ;; ======== PRD_config ========
     335                            .asg 04000H, _SCALAR
     336                            .asg _KNL_tick, _THOOKFXN
     337 0000001c                   PRD_config  _SCALAR, _THOOKFXN
1                                   ; only expand if the PRD module is configured by the user
1                                   .asg 0, PRD_swihandle
1                                   .if (PRD$ = 1)
1                                       .if (PRD$NUMOF > 0)
1                                           .if (SWI$ != 1)
1                                               .emsg "PRD objects require the configuration of SWI"
1                                               .mexit
1                                           .endif
1                                           .asg "PRD_swi", PRD_swihandle
1                                       .endif
1                                   .endif
1                                   
     338                    
     339                    ;; ======== RTDX_config ========
     340                            .asg 01H, _USERTDX
     341                            .asg 00H, _USERTEXECUTION
     342                            .asg SDRAM, _DATAMEMSEG
     343                            .asg 0408H, _BUFMEMSIZE
     344 0000001c                   RTDX_config  _USERTDX, _USERTEXECUTION, _DATAMEMSEG, _BUFMEMSIZE
1                                   .if(RTDX_USERTDX = 1)
1                                       .global _RTDX_Buffer, _RTDX_Buffer_Start, _RTDX_Buffer_End
1                           
1                                       ; reserve uninitialized space for RTDX buffer
1        00000000           _RTDX_Buffer    .usect ".rtdx_data", 0408H, STD_TARGWORDMAUS
TMS320C6x COFF Assembler PC Version 4.32 Wed Jan 04 14:25:55 2006

Tools Copyright (c) 1996-2002 Texas Instruments Incorporated
h263_loopbackcfg.s62                                                 PAGE   11

1                           
1                                       ; define _RTDX_Buffer_Start
1        00000408           _RTDX_Buffer_Start  .usect ".rtdx_data", 1 * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1                           
1        0000001c                   .sect ".cinit"
1                                   .align STD_TARGALIGN
1        00000020 00000004          .field  1 * STD_TARGWORDMAUS
1        00000024 00000408-         .field  _RTDX_Buffer_Start
1        00000028 00000000-         .field  _RTDX_Buffer
1                                   
1                                       ; define _RTDX_Buffer_End 
1        0000040c           _RTDX_Buffer_End  .usect ".rtdx_data", 1 * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1                           
1        0000002c                   .sect ".cinit"
1                                   .align STD_TARGALIGN
1        00000030 00000004          .field  1 * STD_TARGWORDMAUS
1        00000034 0000040C-         .field  _RTDX_Buffer_End
1        00000038 00000404-         .field  _RTDX_Buffer + 0408H - (1 * STD_TARGWORDMAUS)
1                           
1                                   .endif
     345                    
     346                    ;; ======== HST_config ========
     347                            .asg 01H, _RTDX
     348                            .asg 00H, _DSM
     349                            .asg 00H, _NONE
     350                            .asg 040H, _MAXFRAMESET
     351                            .asg 0100H, _MAXFRAMEALLOWED
     352                            .asg SDRAM, _DSMBUFSEG
     353                            .asg 0400H, _DSMMEMSIZE
     354 0000003c                   HST_config  _RTDX, _DSM, _NONE, _MAXFRAMESET, _MAXFRAMEALLOWED, _DSMBUFSEG, _DSMMEMSIZE
1                                   .asg    0, HST$hstCount
1                                   .asg    0, chanId
1                           
1                                   .if(HST$ != 0)
1        0000003c                       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                           

⌨️ 快捷键说明

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