File tree Expand file tree Collapse file tree 5 files changed +6
-12
lines changed
platform/TARGET_CORTEX/TARGET_CORTEX_M Expand file tree Collapse file tree 5 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ UsageFault_Handler\
68
68
Fault_Handler PROC
69
69
EXPORT Fault_Handler
70
70
#if (DOMAIN_NS == 1 )
71
- IMPORT osRtxInfo
72
71
IMPORT mbed_fault_handler
73
72
IMPORT mbed_fault_context
74
73
@@ -152,7 +151,6 @@ Fault_Handler_Continue2
152
151
LDR R3 , =mbed_fault_handler ; Load address of mbedFaultHandler
153
152
MOV R0 , R12
154
153
LDR R1 , =mbed_fault_context
155
- LDR R2 , =osRtxInfo
156
154
BLX R3
157
155
#endif
158
156
B . ; Just in case we come back here
Original file line number Diff line number Diff line change @@ -184,7 +184,6 @@ Fault_Handler_Continue2:
184
184
LDR R3 , =mbed_fault_handler // Load address of mbedFaultHandler
185
185
MOV R0 , R12
186
186
LDR R1 , =mbed_fault_context
187
- LDR R2 , =osRtxInfo
188
187
BLX R3
189
188
#endif
190
189
B . // Just in case we come back here
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ UsageFault_Handler
63
63
Fault_Handler
64
64
EXPORT Fault_Handler
65
65
#if (DOMAIN_NS == 1 )
66
- IMPORT osRtxInfo
67
66
IMPORT mbed_fault_context
68
67
IMPORT mbed_fault_handler
69
68
@@ -147,7 +146,6 @@ Fault_Handler_Continue2
147
146
LDR R3 , =mbed_fault_handler ; Load address of mbedFaultHandler
148
147
MOV R0 , R12
149
148
LDR R1 , =mbed_fault_context
150
- LDR R2 , =osRtxInfo
151
149
BLX R3
152
150
#endif
153
151
B . ; Just in case we come back here
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- #include "rtx_os.h"
18
17
#include "device.h"
19
18
#include "platform/mbed_error.h"
20
19
#include "platform/mbed_interface.h"
21
20
22
21
#ifndef MBED_FAULT_HANDLER_DISABLED
23
- #include "mbed_rtx_fault_handler .h"
22
+ #include "mbed_fault_handler .h"
24
23
25
24
//Functions Prototypes
26
25
void print_context_info (void );
@@ -30,7 +29,7 @@ mbed_fault_context_t mbed_fault_context;
30
29
31
30
//This is a handler function called from Fault handler to print the error information out.
32
31
//This runs in fault context and uses special functions(defined in mbed_rtx_fault_handler.c) to print the information without using C-lib support.
33
- void mbed_fault_handler (uint32_t fault_type , void * mbed_fault_context_in , void * osRtxInfoIn )
32
+ void mbed_fault_handler (uint32_t fault_type , void * mbed_fault_context_in )
34
33
{
35
34
mbed_error_status_t faultStatus = MBED_SUCCESS ;
36
35
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- #ifndef MBED_RTX_FAULT_HANDLER_H
18
- #define MBED_RTX_FAULT_HANDLER_H
17
+ #ifndef MBED_FAULT_HANDLER_H
18
+ #define MBED_FAULT_HANDLER_H
19
19
20
20
//Fault context struct
21
21
//WARNING: DO NOT CHANGE THIS STRUCT WITHOUT MAKING CORRESPONDING CHANGES in except.S files.
@@ -52,7 +52,7 @@ typedef struct {
52
52
#define USAGE_FAULT_EXCEPTION (0x40)
53
53
54
54
//This is a handler function called from Fault handler to print the error information out.
55
- //This runs in fault context and uses special functions(defined in mbed_rtx_fault_handler .c) to print the information without using C-lib support.
56
- void mbed_fault_handler (uint32_t fault_type , void * mbed_fault_context_in , void * osRtxInfoIn );
55
+ //This runs in fault context and uses special functions(defined in mbed_fault_handler .c) to print the information without using C-lib support.
56
+ void mbed_fault_handler (uint32_t fault_type , void * mbed_fault_context_in );
57
57
58
58
#endif
You can’t perform that action at this time.
0 commit comments