📄 irq_rtx.lst
字号:
ARM Macro Assembler Page 1
1 00000000 ;/*-----------------------------------------------------
-----------------------
2 00000000 ; * R T L - K e r n e l
3 00000000 ; *-----------------------------------------------------
-----------------------
4 00000000 ; * Name: IRQ_RTX.S
5 00000000 ; * Purpose: Tick timer interrupt handler
6 00000000 ; * Rev.: V3.00 / 17-mar-2006
7 00000000 ; *-----------------------------------------------------
-----------------------
8 00000000 ; * This code is part of the RealView Run-Time Libr
ary.
9 00000000 ; * Copyright (c) 2004-2006 KEIL - An ARM Company.
All rights reserved.
10 00000000 ; *-----------------------------------------------------
----------------------*/
11 00000000
12 00000000
13 00000000 PRESERVE8 ; 8-Byte aligned St
ack
14 00000000 AREA IRQ_Area, CODE, READONLY
15 00000000 ARM
16 00000000
17 00000000 IMPORT os_runtask
18 00000000 IMPORT os_clock_interrupt0
19 00000000 EXPORT os_clock_interrupt
20 00000000 ;/* Offsets from the 'struct OS_TCB' */
21 00000000 00000024
TCB_TSTACK
EQU 36
22 00000000
23 00000000 ;/*-------------------------- Tick time IRQ handler ----
----------------------*/
24 00000000 os_clock_interrupt
25 00000000
26 00000000 E92D0003 STMDB SP!,{R0-R1} ; Save Full Context
27 00000004 E94D2000 STMDB SP,{SP}^ ; User SP
28 00000008 E1A00000 NOP ; After User Bank R
egister Access
29 0000000C E91D0001 LDMDB SP,{R0}
30 00000010 E14F1000 MRS R1,SPSR ; User CPSR
31 00000014 E24EE004 SUB LR,LR,#0x4
32 00000018 E9204002 STMDB R0!,{R1,LR} ; Push PC, CPSR
33 0000001C E9404000 STMDB R0,{LR}^ ; Push User LR
34 00000020 E2400004 SUB R0,R0,#0x4 ; Write back proble
m !!
35 00000024 E9201FFC STMDB R0!,{R2-R12} ; Push R12-R2
36 00000028 E8BD000C LDMIA SP!,{R2-R3}
37 0000002C E920000C STMDB R0!,{R2-R3} ; Push R1-R0
38 00000030
39 00000030 E59F1030 LDR R1, =os_clock_interrupt0
40 00000034 E1A0E00F MOV LR, PC ; Return Address
41 00000038 E12FFF11 BX R1
42 0000003C
43 0000003C E8B01FF0 LDMIA R0!,{R4-R11,R12} ; Restore Redu
ced context
44 00000040 E16FF00C MSR SPSR_cxsf,R12
45 00000044 E8B01000 LDMIA R0!,{R12}
ARM Macro Assembler Page 2
46 00000048 E90D0001 STMDB SP,{R0} ; Set User SP
47 0000004C E95D2000 LDMDB SP,{SP}^
48 00000050 E1A00000 NOP ; After User Bank R
egister Access
49 00000054 E1B0F00C MOVS PC,R12 ; RETI
50 00000058
51 00000058 ;/*--------------------------- os_set_env --------------
----------------------*/
52 00000058 ;/* Fix up runtime environment to fit idle task. It is c
alled after the */
53 00000058 ;/* idle task TCB initialization. "p_TCB" identifies the
TCB to be used. */
54 00000058
55 00000058 ; void os_set_env (P_TCB p_TCB);
56 00000058
57 00000058 EXPORT os_set_env
58 00000058 os_set_env
59 00000058
60 00000058 E5900024 LDR R0,[R0,#TCB_TSTACK]
; p_TCB in R0
61 0000005C E1A0D000 MOV SP,R0
62 00000060 E28DD028 ADD SP,SP,#40 ; ignore default co
ntext
63 00000064 E12FFF1E BX LR
64 00000068
65 00000068
66 00000068 END
00000000
Command Line: --debug --xref --device=DARMP --apcs=interwork -oIRQ_RTX.o -ID:\K
eil\ARM\INC\Philips --list=IRQ_RTX.lst IRQ_RTX.s
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Relocatable symbols
IRQ_Area 00000000
Symbol: IRQ_Area
Definitions
At line 14 in file IRQ_RTX.s
Uses
None
Comment: IRQ_Area unused
os_clock_interrupt 00000000
Symbol: os_clock_interrupt
Definitions
At line 24 in file IRQ_RTX.s
Uses
At line 19 in file IRQ_RTX.s
Comment: os_clock_interrupt used once
os_set_env 00000058
Symbol: os_set_env
Definitions
At line 58 in file IRQ_RTX.s
Uses
At line 57 in file IRQ_RTX.s
Comment: os_set_env used once
3 symbols
ARM Macro Assembler Page 1 Alphabetic symbol ordering
Absolute symbols
TCB_TSTACK 00000024
Symbol: TCB_TSTACK
Definitions
At line 21 in file IRQ_RTX.s
Uses
At line 60 in file IRQ_RTX.s
Comment: TCB_TSTACK used once
1 symbol
ARM Macro Assembler Page 1 Alphabetic symbol ordering
External symbols
os_clock_interrupt0 00000000
Symbol: os_clock_interrupt0
Definitions
At line 18 in file IRQ_RTX.s
Uses
At line 39 in file IRQ_RTX.s
Comment: os_clock_interrupt0 used once
os_runtask 00000000
Symbol: os_runtask
Definitions
At line 17 in file IRQ_RTX.s
Uses
None
Comment: os_runtask unused
2 symbols
323 symbols in table
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -