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