SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
stk::memory::BytePool::BlockHeader Struct Reference

Header preceding every block (free or used) inside the pool area. More...

Collaboration diagram for stk::memory::BytePool::BlockHeader:

Public Attributes

uint32_t size
 total block size including this header (multiple of BLOCK_ALIGN)
uint32_t state
 STATE_FREE / STATE_USED, anything else is treated as corruption.

Detailed Description

Header preceding every block (free or used) inside the pool area.

Definition at line 445 of file stk_memory_bytepool.h.

Member Data Documentation

◆ size

uint32_t stk::memory::BytePool::BlockHeader::size

◆ state

uint32_t stk::memory::BytePool::BlockHeader::state

STATE_FREE / STATE_USED, anything else is treated as corruption.

Definition at line 448 of file stk_memory_bytepool.h.

Referenced by stk::memory::BytePool::Free(), stk::memory::BytePool::IsSane(), and stk::memory::BytePool::ScanRange().


The documentation for this struct was generated from the following file: