6#include "dawn/proto/dummy.hxx"
8#include "dawn/debug.hxx"
18 while (offset <
getDesc().getSize())
24 DAWNERR(
"dummy proto: unsupported cfg 0x%08" PRIx32
"\n", item->
cfgid.
v);
46 DAWNERR(
"dummy proto: unsupported cfg 0x%08" PRIx32
"\n", item->
cfgid.
v);
void setObjectMapItem(SObjectId::ObjectId id, CObject *obj)
Set an item in the object map.
SObjectCfg::SObjectCfgItem * objectCfgItemNext(size_t &offset) const
Get config item at current offset and advance past it.
CDescObject & getDesc()
Get descriptor object for this object.
@ PROTO_CLASS_DUMMY
Dummy protocol (test/helper).
@ PROTO_DUMMY_CFG_IOBIND
I/O binding configuration.
int configure()
Configure object from descriptor data.
Out-of-tree user-extension hooks for Dawn.
Single configuration item within object.
ObjectCfgData_t data[]
Configuration data array (flexible, size from cfgid.s.size).
UObjectCfgId cfgid
Configuration ID header (type, class, id, size, rw, dtype).
ObjectCfgId v
Raw 32-bit ConfigID value (for storage, comparison).
uint32_t cls
Object class (bits 21-29, max 511).
uint32_t id
Configuration identifier (bits 0-4, max 31).
uint32_t size
Configuration data size in 32-bit words (bits 5-14, max 1023).
struct dawn::SObjectCfg::UObjectCfgId::@10 s
Bit-field structure for named member access.
32-bit encoded object identifier (union with bit field).