XWOS API
4.0
XWOS C/C++ API参考手册
|
XWOS内存管理:通用定义 更多...
结构体 | |
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:测试地址是否在内存区域内 | |
XWOS内存管理:通用定义
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
在文件 common.h 中定义.