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

📄 bioslabcfg.lst

📁 SEED_TMS320vc5402dsk是在TI的TMS320VC5402DSK板基础上简化开发出来的
💻 LST
📖 第 1 页 / 共 5 页
字号:
     296                      .asg IDATA, _DATAMEMSEG
     297                      .asg 0102H, _BUFMEMSIZE
     298 000003               RTDX_config  _USERTDX, _USERTEXECUTION, _DATAMEMSEG, _BUFMEMSIZE
1                             .if(RTDX_USERTDX = 1)
1                                 .global _RTDX_Buffer_Start, _RTDX_Buffer_End
1                     
1                                 ; reserve uninitialized space for RTDX buffer
1        000000       _RTDX_Buffer_Start .usect ".rtdx_data", 0102H, STD_TARGWORDMAUS
1                     
1                                 ; define _RTDX_Buffer_End 
1        000102       _RTDX_Buffer_End .usect ".rtdx_data", 0
1                     
1                             .endif
     299              
     300              ;; ======== SEM_config ========
     301 000003               SEM_config
1                     
1                             .global __SEM_dopost
     302              
     303              ;; ======== SIO_config ========
     304 000003               SIO_config
     305              
     306              ;; ======== STS_config ========
     307 000003               STS_config
1                             ; only expand if the STS module is configured by the user
1                             .if (STS$ = 1)
1                                 .if (STS$NUMOF > 0)
1                                 .endif
1                             .endif
1                             
     308              
     309              ;; ======== SWI_config ========
     310                      .asg GBL_NULL, _EHOOKFXN
     311                      .asg GBL_NULL, _IHOOKFXN
     312                      .asg SWI_F_exec, _EXECFXN
     313 000003               SWI_config  _EHOOKFXN, _IHOOKFXN, _EXECFXN
     314              
     315              ;; ======== SYS_config ========
     316                      .asg _UTL_doAbort, _ABORTFXN
TMS320C54x COFF Assembler         Version 3.50     Sun Apr 02 13:46:40 2000
Copyright (c) 1996-1999 Texas Instruments Incorporated
bioslabcfg.s54                                                       PAGE   10

     317                      .asg _UTL_doError, _ERRORFXN
     318                      .asg _UTL_halt, _EXITFXN
     319                      .asg _UTL_doPutc, _PUTCFXN
     320 000003               SYS_config  _ABORTFXN, _ERRORFXN, _EXITFXN, _PUTCFXN
1                             .global _SYS
1                     
1                             .if __far_mode
1                     SYS$config:     .usect  ".SYS$obj",8 * STD_TARGWORDMAUS, 0, 2
1                                                             ; note: must have even alignment of
1                                                             ; structure to properly access the
1                                                             ; two-word function pointers
1                                 .sect       ".cinit"
1                                 .align      STD_TARGALIGN
1                                 .word       8 * STD_TARGWORDMAUS,SYS$config
1                                 .xlong   :_abortfxn:
1                                 .xlong   :_errorfxn:
1                                 .xlong   :_exitfxn:
1                                 .xlong   :_putcfxn:
1                             .else
1        000000       SYS$config:     .usect  ".SYS$obj",4 * STD_TARGWORDMAUS, 0, STD_TARGWORDMAUS
1        000000                   .sect       ".cinit"
1                                 .align      STD_TARGALIGN
1        000000 0004              .word       4 * STD_TARGWORDMAUS,SYS$config
         000001 0000-
1        000002 0000!             .word   _UTL_doAbort
1        000003 0000!             .word   _UTL_doError
1        000004 0000!             .word   _UTL_halt
1        000005 0000!             .word   _UTL_doPutc
1                             .endif
1                     
1                     ;
1                     ;  Set up pointer to SYS configuration parameters
1                     ;
1        000006               .sect   ".cinit"
1                             .align  STD_TARGALIGN
1        000006 0001          .word   1 * STD_TARGWORDMAUS
1        000007 0000!         .word   _SYS
1        000008 0000-         .word   SYS$config
1                     
     321              
     322              ;; ======== TSK_config ========
     323                      .asg 0100H, _STACKSIZE
     324                      .asg IDATA, _STACKSEG
     325                      .asg 01H, _PRIORITY
     326                      .asg _FXN_F_nop, _CREATEFXN
     327                      .asg _FXN_F_nop, _DELETEFXN
     328                      .asg _FXN_F_nop, _EXITFXN
     329                      .asg 00H, _SWITCHFXN
     330                      .asg 00H, _READYFXN
     331 000009               TSK_config  _STACKSIZE, _STACKSEG, _PRIORITY, _CREATEFXN, _DELETEFXN, _EXITFXN, _SWITCHFXN, _READYFXN
1                     
1                             ;; If MEM_NOHEAPS then put in an err value in for TSK$stackseg
1                             .if (01H == 0)
1                                     .asg    ":_stackseg:$idx", TSK$stackseg
1                             .else 
TMS320C54x COFF Assembler         Version 3.50     Sun Apr 02 13:46:40 2000
Copyright (c) 1996-1999 Texas Instruments Incorporated
bioslabcfg.s54                                                       PAGE   11

1                                     .asg    "-1", TSK$stackseg
1                             .endif
1                     
1                             .ref    _FXN_F_nop, _FXN_F_nop, _FXN_F_nop
1                     
1                             .if $isname("00H")
1                                 .ref        :_switchfxn:
1                             .endif
1                     
1                             .if $isname("00H")
1                                 .ref :_readyfxn:
1                             .endif
1                     
1                             .global _TSK_exit
1                     
1                             ;
1                             ; Initialize counter for use in TSK_Obj
1                             ;
1                             .eval 0, TSK$strCount
1                     
     332              
     333              ;; ======== DEV_config ========
     334 000009               DEV_config
1                             .asg    0,      DEV$devCount
1                             .asg    0,      DEV$initCount
     335              
     336              ;; ======== UDEV_config ========
     337 000009               UDEV_config
     338              
     339              ;; ======== DGN_config ========
     340 000009               DGN_config
1                     
1               0000  DGN_FLOATDSP    .set 0
1                             .if ($isdefed("STD_FLOATDSP") = 1)
1                                 .if (STD_FLOATDSP = 1)
1                     DGN_FLOATDSP    .set 1
1                                 .endif
1                             .endif
1                             
1                             .if (DGN_FLOATDSP == 1)
1                     
1                             .global _DGN_fconst
1                             .global _DGN_frand
1                             .global _DGN_fsine
1                             .global _DGN_user
1                     
1                             .asg    _DGN_fconst  DGN_CONST
1                             .asg    _DGN_frand,  DGN_RAND
1                             .asg    _DGN_fsine,  DGN_SINE
1                             .asg    _DGN_user,   DGN_USER
1                     
1                             .else
1                     
1                             .global _DGN_iconst
1                             .global _DGN_irand
TMS320C54x COFF Assembler         Version 3.50     Sun Apr 02 13:46:40 2000
Copyright (c) 1996-1999 Texas Instruments Incorporated
bioslabcfg.s54                                                       PAGE   12

1                             .global _DGN_isine
1                             .global _DGN_user
1                     
1                             .asg    _DGN_iconst, DGN_CONST
1                             .asg    _DGN_irand,  DGN_RAND
1                             .asg    _DGN_isine,  DGN_SINE
1                             .asg    _DGN_user,   DGN_USER
1                     
1                             .endif
1                     
     341              
     342              ;; ======== DHL_config ========
     343                      .asg 00H, _gChannelsAvailable
     344 000009               DHL_config  _gChannelsAvailable
1                     
1                             .global _DHL_notify
1                     
1                             .asg    0, DHL$count
1                     
     345              
     346              ;; ======== DPI_config ========
     347 000009               DPI_config
1                             .asg    0, DPI$devid
     348              
     349              ;; ======== CLK_Obj PRD_clock ========
     350              ;; This clock function calls PRD_tick from within the on-chip timer ISR
     351              ;;
     352              ;; CLK_Obj PRD_clock (function)
     353                      .global PRD_clock
     354                      .asg PRD_F_tick, _function
     355 000009               CLK_Obj 1, PRD_clock, 0, _function
1        000009               CHK_nargs "CLK_Obj", fxn
1                             .if ($symcmp("", "error") = 0)
1                                 .emsg "CLK_OBJ parameter error."
1                             .endif
1                     
1                             .var fxnlen
1                             .eval $symlen("PRD_F_tick"),fxnlen
1                     
1                             .if (1 = 0)
1                                 .mexit
1                             .endif
1                     
1                             .global PRD_clock
1                     
1                             .if ($symcmp("PRD_F_tick", "0") != 0)
1                             .global PRD_F_tick
1                             .endif
1                     
1                             ;
1                             ; If 'fxn' is a C functions then create a "stub" that
1                             ; calls these functions; otherwise simply call these functions
1                             ; directly.
1                             ;
1                             ; HACK: we currently rely on the C convention of putting a
TMS320C54x COFF Assembler         Version 3.50     Sun Apr 02 13:46:40 2000
Copyright (c) 1996-1999 Texas Instruments Incorporated
bioslabcfg.s54                                                       PAGE   13

1                             ; leading underscore on all functions to determine if fxn
1                             ; is a C function; we assume here that no assembly
1                             ; language functions used for fxn begins with a '_'.
1                             ;
1                             .if ($symcmp("P", "_") = 0)
1                                 .var cfxn
1                                 .asg "CLK$glue_:fxn(2,fxnlen):",cfxn
1                                 CLK_glue cfxn, fxn
1                                 .asg :cfxn:, fxn
1                             .endif
1                      
1                     PRD_clock  .tag    CLK_Obj         ; declare name as having type CLK_Obj
1                     
1                     ; allocate all CLK objs contiguously in ".clk"
1        000000       PRD_clock       .usect ".clk", STD_TARGWORDMAUS * 1
1                     
1        000009               .sect ".cinit"
1                     
1        000009 0001          .field  STD_TARGWORDMAUS * 1
1                     
1        00000a 0000-         .field  PRD_clock    
1                     
1        00000b 0000!         .field  PRD_F_tick           ; fxn
1                     
     356              
     357              ;; ======== HST_Obj RTA_fromHost ========

⌨️ 快捷键说明

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