XWOS API
4.0
XWOS C/C++ API参考手册
|
结构体 | |
struct | xwmm_zone |
XWOS内存区域 更多... | |
宏定义 | |
#define | XWMM_ALIGNMENT XWMMCFG_ALIGNMENT |
#define | XWMM_UNALIGNED_MASK (XWMM_ALIGNMENT - 1U) |
#define | XWMM_ALIGNMENT_MASK (~(XWMM_UNALIGNED_MASK)) |
#define | XWMM_STACK_ALIGNMENT XWMMCFG_STACK_ALIGNMENT |
#define | XWMM_STACK_UNALIGNED_MASK (XWMM_STACK_ALIGNMENT - 1U) |
#define | XWMM_STACK_ALIGNMENT_MASK (~(XWMM_STACK_UNALIGNED_MASK)) |
函数 | |
static bool | xwmm_in_zone (void *mem, xwptr_t origin, xwsz_t size) |
XWMM API:测试地址是否在内存区域内 | |
#define XWMM_ALIGNMENT_MASK (~(XWMM_UNALIGNED_MASK)) |
#define XWMM_STACK_ALIGNMENT_MASK (~(XWMM_STACK_UNALIGNED_MASK)) |
#define XWMM_STACK_UNALIGNED_MASK (XWMM_STACK_ALIGNMENT - 1U) |
#define XWMM_UNALIGNED_MASK (XWMM_ALIGNMENT - 1U) |
XWMM API:测试地址是否在内存区域内
true | 是 |
false | 否 |