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

📄 nucstub.s

📁 4200_boot 这个程序很重要
💻 S
字号:
;
;   Start of Oak Standard Header
;   Copyright (c) 2003 Oak Technology, Inc.
;   
;   
;   All rights reserved.  Proprietary and confidential.
;   
;   DESCRIPTION for nucstub.s
;   	Nucleus stub functions for non-nucleus code
;   
;   NEW HISTORY COMMENT (description must be followed by a blank line)
;   <Enter change description here>

;   ===== HISTORY of changes in //depot/misc/projects/tps/boot/nucstub.s
;   
;   22/Aug/03 #1 jgregor Created it
;   
;   End of Oak Standard Header
;
        CODE32

        AREA ||.text||, CODE, READONLY

	EXPORT TCC_Dispatch_LISR
	EXPORT TCT_Interrupt_Context_Save
	EXPORT TCT_Interrupt_Context_Restore
	EXPORT TMT_Timer_Interrupt

TCC_Dispatch_LISR PROC
        mov      pc,lr
        ENDP

TMT_Timer_Interrupt PROC
        mov      pc,lr
        ENDP

TCT_Interrupt_Context_Save PROC
	stmdb    sp!,{a4}
        mov      pc,lr
        ENDP

TCT_Interrupt_Context_Restore PROC
	ldmfd	sp!,{lr}
	ldmfd	sp!,{a1-a4}
	mov	pc,lr
	ENDP

        AREA ||.bss||, NOINIT, ALIGN=2

        EXPORT TMD_HISR_Priority
        EXPORT TMD_HISR_Stack_Size
        EXPORT TMD_HISR_Stack_Ptr
        EXPORT TCD_System_Stack

TCD_System_Stack
        space 4

TMD_HISR_Stack_Ptr
        space 4

TMD_HISR_Stack_Size
        space 4

TMD_HISR_Priority
        space 4

        AREA |C$$data|,DATA
|x$dataseg|
;
;/* Define a variable for saving the system stack limit in.  This value is
;   intialized in INT.S and is in effect whenever the system stack is in 
;   use.  */
;
;VOID    *TCT_System_Limit;
;
;/* Define internal variables so the C compiler can provide meaningful 
;   code with offsets into data structures.  Typically, this section is
;   removed after this file is compiled down to assembly language.  */
;   
;BYTE_PTR        REG_Stack_Base;
;BYTE_PTR        REG_Stack_End;
;BYTE_PTR        REG_Stack_Ptr;
;UNSIGNED        REG_Stack_Size;
;TC_TCB         *REG_Thread_Ptr;
;TC_HCB         *REG_HISR_Ptr;
;TC_PROTECT     *REG_Protect_Ptr;
;VOID           *REG_Function_Ptr;
;
        EXPORT  TCT_System_Limit
TCT_System_Limit
        DCD     &00000000

	END

⌨️ 快捷键说明

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