26 lines
503 B
C
26 lines
503 B
C
#ifndef INCLUDED_OS_STACK_H
|
|||
|
|
#define INCLUDED_OS_STACK_H
|
||
|
|
|
||
|
|
#ifndef INCLUDED_OS_TYPES_H
|
||
|
|
#include <os_types.h>
|
||
|
|
#endif /*INCLUDED_OS_TYPES_H*/
|
||
|
|
|
||
|
|
|
||
|
|
/* ------------------------------------------------------------------------------------------------------------------ */
|
||
|
|
/* */
|
||
|
|
|
||
|
|
typedef enum{
|
||
|
|
kOsStackType_MinToMax,
|
||
|
|
kOsStackType_MaxToMin,
|
||
|
|
}os_stack_type_t;
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
void* sp;
|
||
|
|
os_uintptr_t min;
|
||
|
|
os_uintptr_t max;
|
||
|
|
os_stack_type_t type;
|
||
|
|
}os_stack_t;
|
||
|
|
|
||
|
|
|
||
|
|
#endif /*INCLUDED_OS_STACK_H*/
|