Merge pull request #328 from DavidLin1577/master

tos_fault.c
This commit is contained in:
Supowang
2022-01-18 11:39:01 +08:00
committed by GitHub
7 changed files with 7 additions and 7 deletions

View File

@@ -114,7 +114,7 @@ __STATIC__ void fault_dump_cpu_frame(fault_cpu_frame_t *cpu_frame)
__STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth) __STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth)
{ {
cpu_addr_t sp = info->sp_before_fault;; cpu_addr_t sp = info->sp_before_fault;
k_fault_log_writer("\nTASK STACK DUMP:\n"); k_fault_log_writer("\nTASK STACK DUMP:\n");
while (sp <= info->stack_limit && depth--) { while (sp <= info->stack_limit && depth--) {

View File

@@ -114,7 +114,7 @@ __STATIC__ void fault_dump_cpu_frame(fault_cpu_frame_t *cpu_frame)
__STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth) __STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth)
{ {
cpu_addr_t sp = info->sp_before_fault;; cpu_addr_t sp = info->sp_before_fault;
k_fault_log_writer("\nTASK STACK DUMP:\n"); k_fault_log_writer("\nTASK STACK DUMP:\n");
while (sp <= info->stack_limit && depth--) { while (sp <= info->stack_limit && depth--) {

View File

@@ -114,7 +114,7 @@ __STATIC__ void fault_dump_cpu_frame(fault_cpu_frame_t *cpu_frame)
__STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth) __STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth)
{ {
cpu_addr_t sp = info->sp_before_fault;; cpu_addr_t sp = info->sp_before_fault;
k_fault_log_writer("\nTASK STACK DUMP:\n"); k_fault_log_writer("\nTASK STACK DUMP:\n");
while (sp <= info->stack_limit && depth--) { while (sp <= info->stack_limit && depth--) {

View File

@@ -114,7 +114,7 @@ __STATIC__ void fault_dump_cpu_frame(fault_cpu_frame_t *cpu_frame)
__STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth) __STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth)
{ {
cpu_addr_t sp = info->sp_before_fault;; cpu_addr_t sp = info->sp_before_fault;
k_fault_log_writer("\nTASK STACK DUMP:\n"); k_fault_log_writer("\nTASK STACK DUMP:\n");
while (sp <= info->stack_limit && depth--) { while (sp <= info->stack_limit && depth--) {

View File

@@ -69,7 +69,7 @@ __STATIC__ void fault_dump_cpu_frame(fault_cpu_frame_t *cpu_frame)
__STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth) __STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth)
{ {
cpu_addr_t sp = info->sp_before_fault;; cpu_addr_t sp = info->sp_before_fault;
k_fault_log_writer("\nTASK STACK DUMP:\n"); k_fault_log_writer("\nTASK STACK DUMP:\n");
while (sp <= info->stack_limit && depth--) { while (sp <= info->stack_limit && depth--) {

View File

@@ -114,7 +114,7 @@ __STATIC__ void fault_dump_cpu_frame(fault_cpu_frame_t *cpu_frame)
__STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth) __STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth)
{ {
cpu_addr_t sp = info->sp_before_fault;; cpu_addr_t sp = info->sp_before_fault;
k_fault_log_writer("\nTASK STACK DUMP:\n"); k_fault_log_writer("\nTASK STACK DUMP:\n");
while (sp <= info->stack_limit && depth--) { while (sp <= info->stack_limit && depth--) {

View File

@@ -69,7 +69,7 @@ __STATIC__ void fault_dump_cpu_frame(fault_cpu_frame_t *cpu_frame)
__STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth) __STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth)
{ {
cpu_addr_t sp = info->sp_before_fault;; cpu_addr_t sp = info->sp_before_fault;
k_fault_log_writer("\nTASK STACK DUMP:\n"); k_fault_log_writer("\nTASK STACK DUMP:\n");
while (sp <= info->stack_limit && depth--) { while (sp <= info->stack_limit && depth--) {