📄 os_probe.lst
字号:
##############################################################################
# #
# IAR ARM ANSI C/C++ Compiler V4.42A/W32 KICKSTART 13/Mar/2009 16:01:02 #
# Copyright 1999-2005 IAR Systems. All rights reserved. #
# #
# Cpu mode = thumb #
# Endian = little #
# Stack alignment = 4 #
# Source file = E:\UC_OS\Micrium\Software\uC-Probe\Target\Plugins\uC #
# OS-II\os_probe.c #
# Command line = E:\UC_OS\Micrium\Software\uC-Probe\Target\Plugins\uC #
# OS-II\os_probe.c -lCN E:\UC_OS\Micrium\Software\Eval #
# Boards\ST\STM3210B-EVAL\IAR\OS-Probe\Flash\List\ -o #
# E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\Flash\Obj\ -z6 --no_unroll #
# --no_inline --no_tbaa --no_scheduling --debug #
# --cpu_mode thumb --endian little --cpu cortex-M3 #
# --stack_align 4 -e --fpu None --dlib_config #
# "C:\Program Files\IAR Systems\Embedded Workbench #
# 4.0 Kickstart\arm\LIB\dl7mptnnl8n.h" -I #
# E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\ -I E:\UC_OS\Micrium\Software\EvalBoa #
# rds\ST\STM3210B-EVAL\IAR\OS-Probe\..\..\..\..\..\uco #
# s-ii\ports\arm-cortex-m3\generic\iar\ -I #
# E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\..\..\..\..\..\ucos-ii\source\ -I #
# E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\..\..\..\..\..\uc-lib\ -I #
# E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\..\..\..\..\..\uc-cpu\ -I #
# E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\..\..\..\..\..\uc-cpu\ARM-Cortex-M3\I #
# AR\ -I E:\UC_OS\Micrium\Software\EvalBoards\ST\STM32 #
# 10B-EVAL\IAR\OS-Probe\..\..\..\..\..\cpu\st\stm32\in #
# c\ -I E:\UC_OS\Micrium\Software\EvalBoards\ST\STM321 #
# 0B-EVAL\IAR\OS-Probe\..\BSP\ -I #
# E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\..\..\..\..\..\uC-Probe\Target\Commun #
# ication\Generic\RS-232\Source\ -I #
# E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\..\..\..\..\..\uC-Probe\Target\Commun #
# ication\Generic\RS-232\Ports\ST\STM32\ -I #
# E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\..\..\..\..\..\uC-Probe\Target\Commun #
# ication\Generic\Source\ -I #
# E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\..\..\..\..\..\uC-Probe\Target\Plugin #
# s\uCOS-II\ -I "C:\Program Files\IAR #
# Systems\Embedded Workbench 4.0 Kickstart\arm\INC\" #
# List file = E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\Flash\List\os_probe.lst #
# Object file = E:\UC_OS\Micrium\Software\EvalBoards\ST\STM3210B-EVA #
# L\IAR\OS-Probe\Flash\Obj\os_probe.r79 #
# #
# #
##############################################################################
E:\UC_OS\Micrium\Software\uC-Probe\Target\Plugins\uCOS-II\os_probe.c
1 /*
2 *********************************************************************************************************
3 * uC/Probe uC/OS-II Plug-in
4 *
5 * (c) Copyright 2003-2006; Micrium, Inc.; Weston, FL
6 *
7 * All rights reserved. Protected by international copyright laws.
8 * Knowledge of the source code may NOT be used to develop a similar product.
9 * Please help us continue to provide the Embedded community with the finest
10 * software available. Your honesty is greatly appreciated.
11 *********************************************************************************************************
12 */
13
14 /*
15 *********************************************************************************************************
16 *
17 * uC/Probe
18 *
19 * Plug-in for uC/OS-II
20 *
21 * Filename : os_probe.c
22 * Version : V1.20
23 * Programmer(s) : Brian Nagel
24 *********************************************************************************************************
25 */
26
27 /*
28 *********************************************************************************************************
29 * INCLUDE FILES
30 *********************************************************************************************************
31 */
32
33 #define OS_PROBE_GLOBALS
34 #include <app_cfg.h>
35 #include <ucos_ii.h>
36 #include <os_probe.h>
\ In segment DATA_Z, align 4, align-sorted
\ INT16U __data OSProbe_Delay
\ OSProbe_Delay:
\ 00000000 DS8 2
\ 00000002 DS8 2
\ void (*__data OSProbe_CallbackFnct)(void)
\ OSProbe_CallbackFnct:
\ 00000004 DS8 4
\ FP32 __data OSProbe_TaskCPUUsage[16]
\ OSProbe_TaskCPUUsage:
\ 00000008 DS8 64
37
38 /*
39 *********************************************************************************************************
40 * LOCAL CONSTANTS
41 *********************************************************************************************************
42 */
43
44
45 /*
46 *********************************************************************************************************
47 * LOCAL DATA TYPES
48 *********************************************************************************************************
49 */
50
51
52 /*
53 *********************************************************************************************************
54 * LOCAL TABLES
55 *********************************************************************************************************
56 */
57
58
59 /*
60 *********************************************************************************************************
61 * LOCAL GLOBAL VARIABLES
62 *********************************************************************************************************
63 */
64
65 #if OS_PROBE_TASK > 0
66 static OS_STK OSProbe_TaskStk[OS_PROBE_TASK_STK_SIZE];
67 #endif
68
69
70 /*
71 *********************************************************************************************************
72 * LOCAL FUNCTION PROTOTYPES
73 *********************************************************************************************************
74 */
75
76 #if OS_PROBE_TASK > 0
77 static void OSProbe_InitOS(void);
78 static void OSProbe_Task (void *p_arg);
79 #endif
80
81
82 /*
83 *********************************************************************************************************
84 * LOCAL CONFIGURATION ERRORS
85 *********************************************************************************************************
86 */
87
88
89 /*
90 *********************************************************************************************************
91 *********************************************************************************************************
92 ** GLOBAL FUNCTIONS
93 *********************************************************************************************************
94 *********************************************************************************************************
95 */
96
97 /*
98 *********************************************************************************************************
99 * Initialize uC/Probe Plug-In for uC/OS-II
100 *
101 * Description: This function initializes the uC/Probe Plug-In for uC/OS-II.
102 *
103 * Argument(s): None.
104 *
105 * Returns : None
106 *********************************************************************************************************
107 */
108
\ In segment CODE, align 4, keep-with-next
109 void OSProbe_Init (void)
110 {
\ OSProbe_Init:
\ 00000000 00B5 PUSH {LR}
111 #if OS_PROBE_TASK > 0
112 OSProbe_SetDelay(100);
\ 00000002 6420 MOVS R0,#+100
\ 00000004 ........ BL OSProbe_SetDelay
113 OSProbe_SetCallback((void (*)(void))0); /* Force terminal callback function to 'nothing' */
\ 00000008 0020 MOVS R0,#+0
\ 0000000A ........ BL OSProbe_SetCallback
114
115 (void)OSProbe_TaskCPUUsage;
116 (void)OSProbe_TaskStkUsage;
117
118 OSProbe_InitOS();
\ 0000000E ........ BL OSProbe_InitOS
119 #endif
120
121 #if OS_PROBE_HOOKS_EN > 0
122 OSProbe_TmrInit();
\ 00000012 ........ _BLF OSProbe_TmrInit,??OSProbe_TmrInit??rT
123
124 OSProbe_CyclesCtr = 0;
\ 00000016 .... LDR.N R0,??DataTable2 ;; OSProbe_TmrCntsPrev
\ 00000018 0021 MOVS R1,#+0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -