only:sdlow
This commit is contained in:
parent
0de3033d09
commit
811b249d0c
|
@ -45,7 +45,6 @@
|
||||||
|
|
||||||
#define EFI_CONFIGURATION_STORAGE (EFI_STORAGE_INT_FLASH == TRUE) || (EFI_STORAGE_MFS == TRUE)
|
#define EFI_CONFIGURATION_STORAGE (EFI_STORAGE_INT_FLASH == TRUE) || (EFI_STORAGE_MFS == TRUE)
|
||||||
|
|
||||||
// see also validateStack
|
|
||||||
#define hasLotsOfRemainingStack() (getCurrentRemainingStack() > EXPECTED_REMAINING_STACK)
|
#define hasLotsOfRemainingStack() (getCurrentRemainingStack() > EXPECTED_REMAINING_STACK)
|
||||||
|
|
||||||
// this macro helps locate all board Public API methods
|
// this macro helps locate all board Public API methods
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
#define UTILITY_THREAD_STACK_SIZE 400
|
#define UTILITY_THREAD_STACK_SIZE 400
|
||||||
#endif /* UTILITY_THREAD_STACK_SIZE */
|
#endif /* UTILITY_THREAD_STACK_SIZE */
|
||||||
|
|
||||||
// see also validateStack
|
// CH_DBG_ENABLE_STACK_CHECK
|
||||||
#define getCurrentRemainingStack() getRemainingStack(chThdGetSelfX())
|
#define getCurrentRemainingStack() getRemainingStack(chThdGetSelfX())
|
||||||
|
|
||||||
#define EFI_ERROR_CODE 0xffffffff
|
#define EFI_ERROR_CODE 0xffffffff
|
||||||
|
|
|
@ -82,7 +82,7 @@ struct SdLogBufferWriter final : public BufferedWriter<512> {
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t bytesWritten;
|
size_t bytesWritten;
|
||||||
|
efiAssert(ObdCode::CUSTOM_STACK_6627, hasLotsOfRemainingStack(), "sdlow#3", 0);
|
||||||
FRESULT err = f_write(m_fd, buffer, count, &bytesWritten);
|
FRESULT err = f_write(m_fd, buffer, count, &bytesWritten);
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Reference in New Issue