6#include "dawn/system/handler.hxx"
8#include "dawn/debug.hxx"
21 DAWNERR(
"Failed to create SYSTEM object 0x%" PRIx32
"\n", desc.
getObjectIdV());
22 t.allocError = -ENOMEM;
26 DAWNINFO(
"created SYSTEM: 0x%" PRIx32
" %p\n", desc.
getObjectIdV(), tmp);
33 if (userFactory !=
nullptr)
42 return factory.create(desc);
53 return objalloc(desc);
Descriptor wrapper for individual object configuration.
SObjectId::ObjectId getObjectIdV() const
Get object identifier as raw 32-bit value.
SObjectId::UObjectId & getObjectId() const
Get object identifier as union structure.
Binary device descriptor manager.
int registerObject(T *obj)
Register object.
int objalloc(CDescriptor &desc, CDescriptor::allocobj_func_t func)
Allocate objects from descriptor.
Base implementation of IHandler interface.
Base class for OBJTYPE_ANY configuration objects.
Handler for SYSTEM objects (OBJTYPE_ANY, cls != 0).
Interface for user-provided dev object factories.
Out-of-tree user-extension hooks for Dawn.
static bool objectIsSystem(const UObjectId &objid)
Check if object is a System object (raw 32-bit version).