mirror of https://github.com/rusefi/rusefi-1.git
Stack usage is still all over the place #1662
This commit is contained in:
parent
efcf0532da
commit
ede4616614
|
@ -21,7 +21,7 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "global.h"
|
#include "globalaccess.h"
|
||||||
#include "os_access.h"
|
#include "os_access.h"
|
||||||
#include "eficonsole.h"
|
#include "eficonsole.h"
|
||||||
#include "console_io.h"
|
#include "console_io.h"
|
||||||
|
|
|
@ -92,3 +92,11 @@
|
||||||
#define EXPECTED_REMAINING_STACK 128
|
#define EXPECTED_REMAINING_STACK 128
|
||||||
|
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Stack debugging
|
||||||
|
* See also getMaxUsedStack()
|
||||||
|
*/
|
||||||
|
EXTERNC int getRemainingStack(thread_t *otp);
|
||||||
|
int CountFreeStackSpace(const void* wabase);
|
||||||
|
void validateStack(const char*msg, obd_code_e code, int stackUnusedSize);
|
||||||
|
|
|
@ -24,12 +24,4 @@ extern "C"
|
||||||
|
|
||||||
#include "io_pins.h"
|
#include "io_pins.h"
|
||||||
|
|
||||||
/*
|
|
||||||
* Stack debugging
|
|
||||||
* See also getMaxUsedStack()
|
|
||||||
*/
|
|
||||||
EXTERNC int getRemainingStack(thread_t *otp);
|
|
||||||
int CountFreeStackSpace(const void* wabase);
|
|
||||||
void validateStack(const char*msg, obd_code_e code, int stackUnusedSize);
|
|
||||||
|
|
||||||
#define HAS_OS_ACCESS
|
#define HAS_OS_ACCESS
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "global.h"
|
#include "globalaccess.h"
|
||||||
|
|
||||||
#if ! EFI_UNIT_TEST
|
#if ! EFI_UNIT_TEST
|
||||||
#include "os_access.h"
|
#include "os_access.h"
|
||||||
|
|
Loading…
Reference in New Issue