2 * Copyright 2004-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Copyright 2002-04, Thomas Kurschel. All rights reserved.
5 * Distributed under the terms of the MIT License.
11 #include <device_manager.h>
13 #include <util/DoublyLinkedList.h>
16 struct io_resource_private
: io_resource
,
17 DoublyLinkedListLinkImpl
<io_resource_private
> {
18 io_resource_private();
19 ~io_resource_private();
21 status_t
Acquire(const io_resource
& resource
);
26 static bool _IsValid(const io_resource
& resource
);
29 DoublyLinkedListLink
<io_resource_private
> fTypeLink
;
32 typedef DoublyLinkedList
<io_resource_private
> ResourceList
;
39 void dm_init_io_resources(void);
45 #endif /* IO_RESOURCES_H */