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

📄 bioslabcfg.lst

📁 SEED_TMS320vc5402dsk是在TI的TMS320VC5402DSK板基础上简化开发出来的
💻 LST
📖 第 1 页 / 共 5 页
字号:
     211              ;; module DHL (gChannelsAvailable)
     212                      .global DHL$                     ; == 0
     213                      .global DHL_gChannelsAvailable   ; bioslabcfg.h54
     214              
     215              ;; module DPI ()
     216                      .global DPI$                     ; == 0
     217              
     218              ;; MODULE CONFIGURATION
     219              
     220              ;; ======== GBL_config ========
     221                      .asg 00H, _ROM
     222                      .asg 0ffe0H, _PMST
     223                      .asg 0209H, _SWWSR
     224                      .asg 02H, _BSCR
     225                      .asg 00H, _MODIFYCLKMD
     226                      .asg 04007H, _CLKMD
     227                      .asg 00H, _USERINIT
     228                      .asg _FXN_F_nop, _USERINITFXN
     229                      .asg 01H, _ENABLEINST
     230                      .asg 00H, _FARMODE
     231 000000               GBL_config  _ROM, _PMST, _SWWSR, _BSCR, _MODIFYCLKMD, _CLKMD, _USERINIT, _USERINITFXN, _ENABLEINST, _
1                             .asg    _FXN_F_nop, USERINITFXN ; used by GBL_init
1                     
1                             ; initialize 'gblinit' variable, used in GBL_init
1        000000       gblinit .sect ".gblinit"
1                     
1                             ;
1                             ; fill stack with '0xbeef'
1                             ;
1                             ; Don't overwrite the bottom 8 words to avoid trashing
1                             ; valid stack data. (Only one of these cells is contains
1                             ; valid data, but just to be safe we leave 8 protected).
1                             ;
1                             ; (stacksize / wordsize) since size is in words
1                             ;
1        000000 0000%         .word ( (GBL_stackend-GBL_stackbeg+1) / STD_TARGWORDMAUS ) - 8 ; nwords
1        000001 0000!         .word GBL_stackbeg                      ; addr
1        000002 BEEF          .word 0xbeef                            ; value
1                     
     232              
     233              ;; ======== OBJ_config ========
     234 000003               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
TMS320C54x COFF Assembler         Version 3.50     Sun Apr 02 13:46:40 2000
Copyright (c) 1996-1999 Texas Instruments Incorporated
bioslabcfg.s54                                                       PAGE    6

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                     
     235              
     236              ;; ======== CLK_config ========
     237                      .asg 00H, _REGS
     238                      .asg 01H, _USETIMER
     239                      .asg 020H, _TCR
     240                      .asg 09c3fH, _PRD
     241                      .asg 09c40H, _COUNTSPMS
     242                      .asg CLK_F_getshtime, _TIMEFXN
     243                      .asg CLK_F_run, _HOOKFXN
     244 000003               CLK_config  _REGS, _USETIMER, _TCR, _PRD, _COUNTSPMS, _TIMEFXN, _HOOKFXN
1                             ; only expand if the CLK module is configured by the user
1                             .if (CLK$ = 1)
1                             .else
1                                 .wmsg "CLK Clock Services are not available"
1                             .endif
     245              
     246              ;; ======== HST_config ========
     247                      .asg 01H, _RTDX
     248                      .asg 00H, _DSM
     249                      .asg 00H, _NONE
     250                      .asg 040H, _MAXFRAMESET
     251                      .asg 0100H, _MAXFRAMEALLOWED
     252                      .asg IDATA, _DSMBUFSEG
     253                      .asg 0400H, _DSMMEMSIZE
     254 000003               HST_config  _RTDX, _DSM, _NONE, _MAXFRAMESET, _MAXFRAMEALLOWED, _DSMBUFSEG, _DSMMEMSIZE
1                             .asg    0, HST$hstCount
1                             .asg    0, chanId
1                     
1                             .if(HST$ != 0)
1        000003                   LNK_config                  ; do any reqd LNK config 
2                             .ref LNK_D_fromHostMask, LNK_D_dataReadyMask
1                             .endif
TMS320C54x COFF Assembler         Version 3.50     Sun Apr 02 13:46:40 2000
Copyright (c) 1996-1999 Texas Instruments Incorporated
bioslabcfg.s54                                                       PAGE    7

1                     
     255              
     256              ;; ======== HWI_config ========
     257 000003               HWI_config
1                     
     258              
     259              ;; ======== IDL_config ========
     260                      .asg 01H, _USECLKIDLTIME
     261                      .asg IDL_F_calibrate, _CALIBRFXN
     262 000003               IDL_config  _USECLKIDLTIME, _CALIBRFXN
1                             .asg 01H,USECLKIDLTIME  ; used by IDL_init
     263              
     264              ;; ======== LCK_config ========
     265 000003               LCK_config
     266              
     267              ;; ======== LOG_config ========
     268                      .asg 01H, _ENABLED
     269 000003               LOG_config  _ENABLED
     270              
     271              ;; ======== MBX_config ========
     272 000003               MBX_config
     273              
     274              ;; ======== MEM_config ========
     275                      .asg 00H, _gNumHeap
     276                      .asg 01H, _NOHEAPS
     277                      .asg IDATA, _MALLOCSEG
     278 000003               MEM_config  _gNumHeap, _NOHEAPS, _MALLOCSEG
1                     
1                         ;
1                         ; Proceed only if there are heaps declared.
1                         ;
1                         .if 00H
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                     MEM_config    .usect    ".MEM$obj", 1 * STD_TARGWORDMAUS
1                     
1                             .sect ".cinit"
1                             .align STD_TARGALIGN
1                             .word 1 * STD_TARGWORDMAUS
1                             .word MEM_config   
1                     
1                             ;; If MEM_NOHEAPS then put in an err value in for MALLOCSEG$idx
1                             .if (_NOHEAPS == 0)
1                                 .word :_MALLOCSEG:$idx
1                             .else
1                                 .word -1
1                             .endif
1                     
1                             .sect ".cinit"
TMS320C54x COFF Assembler         Version 3.50     Sun Apr 02 13:46:40 2000
Copyright (c) 1996-1999 Texas Instruments Incorporated
bioslabcfg.s54                                                       PAGE    8

1                             .align STD_TARGALIGN
1                             .word 1 * STD_TARGWORDMAUS
1                             .word _MEM   
1                             .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                             .bss _MEM_memtab, :_gNumHeap: * 3 * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1                     
1                             .sect ".cinit"        ; init pointer to _MEM_memtab
1                             .global _MEM_D_memtab
1                             .align STD_TARGALIGN
1                             .word 1 * STD_TARGWORDMAUS
1                             .word _MEM_D_memtab   
1                             .word _MEM_memtab 
1                     
1                             ;
1                             ; This makes the number of memory heaps available to a C program.
1                             ;
1                             .bss __MEM_NUMSEGMENTS, 1 * STD_TARGWORDMAUS, STD_TARGWORDMAUS
1                     
1                             .sect ".cinit"
1                             .align STD_TARGALIGN
1                             .word 1 * STD_TARGWORDMAUS
1                             .word __MEM_NUMSEGMENTS   
1                             .word :_gNumHeap:
1                     
1                             .sect ".cinit"        ; init pointer to __MEM_NUMSEGMENTS
1                             .global __MEM_D_NUMSEGMENTS
1                             .align STD_TARGALIGN
1                             .word 1 * STD_TARGWORDMAUS
1                             .word __MEM_D_NUMSEGMENTS   
1                             .word __MEM_NUMSEGMENTS 
1                     
1                         .endif        ; .if :_gNumHeap:
1                     
     279              
     280              ;; ======== PIP_config ========
     281                      .asg 04H, _gNumEmbed
     282                      .asg 02H, _gNextId
     283 000003               PIP_config  _gNumEmbed, _gNextId
1                             .asg    0, PIP$pipCount
     284              
     285              ;; ======== PRD_config ========
     286                      .asg 08H, _SCALAR
     287                      .asg FXN_F_nop, _THOOKFXN
     288 000003               PRD_config  _SCALAR, _THOOKFXN
1                             ; only expand if the PRD module is configured by the user
1                             .asg 0, PRD_swihandle
1                             .asg 0, PRD$prdCount
1                             .if (PRD$ = 1)
TMS320C54x COFF Assembler         Version 3.50     Sun Apr 02 13:46:40 2000
Copyright (c) 1996-1999 Texas Instruments Incorporated
bioslabcfg.s54                                                       PAGE    9

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                             
     289              
     290              ;; ======== QUE_config ========
     291 000003               QUE_config
     292              
     293              ;; ======== RTDX_config ========
     294                      .asg 01H, _USERTDX
     295                      .asg 00H, _USERTEXECUTION

⌨️ 快捷键说明

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