/* * Resources are tree-like, allowing * nesting etc.. */ struct resource { resource_size_t start; resource_size_t end;
const char *name; unsigned long flags; struct resource *parent, *sibling, *child;
};