parent
c4253c00ba
commit
4bba678dce
|
@ -52,8 +52,12 @@ typedef unsigned int time_t;
|
|||
#define VALUE(x) VALUE_TO_STRING(x)
|
||||
#define VAR_NAME_VALUE(var) #var "=" VALUE(var)
|
||||
|
||||
// project-wide default thread stack size
|
||||
// see also PORT_INT_REQUIRED_STACK
|
||||
/**
|
||||
* project-wide default thread stack size
|
||||
* See also PORT_INT_REQUIRED_STACK
|
||||
* See getRemainingStack()
|
||||
* See getMaxUsedStack()
|
||||
*/
|
||||
#define UTILITY_THREAD_STACK_SIZE 400
|
||||
|
||||
#define EFI_ERROR_CODE 0xffffffff
|
||||
|
|
|
@ -40,6 +40,9 @@ efitime_t Overflow64Counter::update(uint32_t value) {
|
|||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* See also getRemainingStack()
|
||||
*/
|
||||
int getMaxUsedStack(uint8_t *ptr, int size) {
|
||||
/**
|
||||
* maximum used stack size total stack buffer size minus position of first modified byte
|
||||
|
|
Loading…
Reference in New Issue