- tkernel_2
- kernel/sysmgr/src/imalloc.c - 12.0KB - 441 lines
73: #define Mask(x) ( (QUEUE*)((UW)(x) & ~AREA_MASK) )
74: #define Assign(x, y) ( (x) = (QUEUE*)(((UW)(x) & AREA_MASK) | (UW)(y)) )
75:
- kernel/tkernel/src/mempool.c - 20.9KB - 791 lines
130: #define Mask(x) ( (QUEUE*)((UINT)(x) & ~AREA_MASK) )
131: #define Assign(x, y) ( (x) = (QUEUE*)(((UINT)(x) & AREA_MASK) | (UINT)(y)) )
132:
- lib/libtk/src/mem.h - 1.9KB - 61 lines
49: #define Mask(x) ( (QUEUE*)((UW)(x) & ~AREA_MASK) )
50: #define Assign(x, y) ( (x) = (QUEUE*)(((UW)(x) & AREA_MASK) | (UW)(y)) )
51: