sys.h62

来自「SEED的VPM642测试程序-板级支持库」· H62 代码 · 共 118 行

H62
118
字号
;
;  Copyright 2003 by Texas Instruments Incorporated.
;  All rights reserved. Property of Texas Instruments Incorporated.
;  Restricted rights to use, duplicate or disclose this code are
;  granted through contract.
;  
;
; "@(#) DSP/BIOS 4.90.270 12-18-03 (barracuda-o04)"
;
;  ======== sys.h62 ========
;
;

	.if ($isdefed("SYS_") = 0)  ; prevent multiple includes of this file
SYS_	.set	1

	.include std.h62

;
;# ======== SYS_Obj ========
;
;#
;# Preconditions:
;#      none
;#
;# Postconditions:
;#      none
;#
;

	.asg    "", SYS_Obj$regs
SYS_Obj	.macro
	.endm

;
;# ======== SYS_config ========
;  Static configuration of the SYS module
;
;#
;# Preconditions:
;#      none
;#
;# Postconditions:
;#      none
;#
;
	.asg    "", SYS_config$regs
SYS_config	.macro _abortfxn, _errorfxn, _exitfxn, _putcfxn
	.global SYS$config

SYS$config:	.usect	".sys",4 * STD_TARGWORDMAUS, STD_TARGWORDMAUS

	.sect	".cinit"
	.align	STD_TARGALIGN
	.word	4 * STD_TARGWORDMAUS
	.word	SYS$config
        .word   :_abortfxn:
        .word   :_errorfxn:
        .word   :_exitfxn:
        .word   :_putcfxn:

	.endm

;
;# ======== SYS_end ========
;  Invoked at the end of all other configuration
;  declarations.
;
;#
;# Preconditions:
;#      none
;#
;# Postconditions:
;#      none
;#
;
        .asg    "", SYS_end$regs
SYS_end .macro
        .endm

;
;# ======== SYS_init ========
;  Runtime initialization of the SYS module
;
;#
;# Preconditions: 
;#	none
;#
;# Postconditions:
;#	none
;#
;
	.asg    "", SYS_init$regs
SYS_init	.macro

	; only expand if the SYS module is configured
	.if (SYS$ = 1)
	.endif

	.endm

;
;# ======== SYS_startup ========
;
;#
;# Preconditions:
;#      none
;#
;# Postconditions:
;#      none
;#
	.asg    "", SYS_startup$regs
SYS_startup        .macro
	.endm

	.endif		; if SYS_ is not defined
    

⌨️ 快捷键说明

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