obj: object header is no longer allocated automatically

This commit is contained in:
2023-05-06 19:48:14 +01:00
parent 79c30e5393
commit f52ca2f1e2
13 changed files with 97 additions and 66 deletions

View File

@@ -3,6 +3,7 @@
#include <socks/queue.h>
#include <socks/status.h>
#include <socks/object.h>
struct device;
@@ -67,6 +68,7 @@ struct bus_device {
};
struct device {
struct object dev_base;
enum device_type dev_type;
struct device *dev_parent;
struct queue dev_children;