NuttX:Track Stack naming changes

This commit is contained in:
David Sidrane
2021-04-20 13:18:41 -07:00
committed by Daniel Agar
parent 069130403d
commit 173e5c7554
2 changed files with 5 additions and 5 deletions
@@ -1,6 +1,6 @@
/**************************************************************************** /****************************************************************************
* *
* Copyright (C) 2017-2019 PX4 Development Team. All rights reserved. * Copyright (C) 2017-2019, 2021 PX4 Development Team. All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@@ -326,7 +326,7 @@ __EXPORT void board_crashdump(uintptr_t currentsp, FAR void *tcb, FAR const char
pdump->info.stacks.user.size = CONFIG_IDLETHREAD_STACKSIZE; pdump->info.stacks.user.size = CONFIG_IDLETHREAD_STACKSIZE;
} else { } else {
pdump->info.stacks.user.top = (uint32_t) rtcb->adj_stack_ptr; pdump->info.stacks.user.top = (uint32_t) rtcb->stack_base_ptr + rtcb->adj_stack_size;
pdump->info.stacks.user.size = (uint32_t) rtcb->adj_stack_size; pdump->info.stacks.user.size = (uint32_t) rtcb->adj_stack_size;
} }
@@ -334,7 +334,7 @@ __EXPORT void board_crashdump(uintptr_t currentsp, FAR void *tcb, FAR const char
/* Get the limits on the interrupt stack memory */ /* Get the limits on the interrupt stack memory */
pdump->info.stacks.interrupt.top = (uint32_t)&g_intstackbase; pdump->info.stacks.interrupt.top = (uint32_t)&g_intstacktop;
pdump->info.stacks.interrupt.size = (CONFIG_ARCH_INTERRUPTSTACK & ~3); pdump->info.stacks.interrupt.size = (CONFIG_ARCH_INTERRUPTSTACK & ~3);
/* If In interrupt Context save the interrupt stack data centered /* If In interrupt Context save the interrupt stack data centered
+2 -2
View File
@@ -1,6 +1,6 @@
/**************************************************************************** /****************************************************************************
* *
* Copyright (C) 2015 PX4 Development Team. All rights reserved. * Copyright (C) 2015, 2021 PX4 Development Team. All rights reserved.
* Author: @author David Sidrane <david_s5@nscdg.com> * Author: @author David Sidrane <david_s5@nscdg.com>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -272,7 +272,7 @@ static int write_stack_detail(bool inValid, _stack_s *si, char *sp_name,
#ifdef CONFIG_STACK_COLORATION #ifdef CONFIG_STACK_COLORATION
FAR struct tcb_s tcb; FAR struct tcb_s tcb;
tcb.adj_stack_ptr = (void *) sbot; tcb.stack_base_ptr = (void *) sbot;
tcb.adj_stack_size = si->size; tcb.adj_stack_size = si->size;
if (verify_ram_address(sbot, si->size)) { if (verify_ram_address(sbot, si->size)) {