16e5cac2dSAxel Dörfler /* 2368167edSAxel Dörfler * Copyright 2004-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3aedf4f43SAxel Dörfler * Distributed under the terms of the MIT License. 46e5cac2dSAxel Dörfler */ 56e5cac2dSAxel Dörfler #ifndef _KERNEL_DEVICE_MANAGER_H 66e5cac2dSAxel Dörfler #define _KERNEL_DEVICE_MANAGER_H 76e5cac2dSAxel Dörfler 86e5cac2dSAxel Dörfler 977ca5763SAxel Dörfler #include <device_manager.h> 10*0450e7b8SAugustin Cavalier #include <lock.h> 1177ca5763SAxel Dörfler 1277ca5763SAxel Dörfler struct kernel_args; 136e5cac2dSAxel Dörfler 14368167edSAxel Dörfler 155ed66da0SAxel Dörfler #ifdef __cplusplus 165ed66da0SAxel Dörfler extern "C" { 175ed66da0SAxel Dörfler #endif 186e5cac2dSAxel Dörfler 19368167edSAxel Dörfler void legacy_driver_add_preloaded(struct kernel_args *args); 206e5cac2dSAxel Dörfler 21368167edSAxel Dörfler status_t device_manager_probe(const char *path, uint32 updateCycle); 22368167edSAxel Dörfler status_t device_manager_init(struct kernel_args *args); 23368167edSAxel Dörfler status_t device_manager_init_post_modules(struct kernel_args *args); 24bef4e1fcSJérôme Duval 25*0450e7b8SAugustin Cavalier recursive_lock* device_manager_get_lock(); 26*0450e7b8SAugustin Cavalier 275ed66da0SAxel Dörfler #ifdef __cplusplus 285ed66da0SAxel Dörfler } 295ed66da0SAxel Dörfler #endif 305ed66da0SAxel Dörfler 31368167edSAxel Dörfler #endif /* _KERNEL_DEVICE_MANAGER_H */ 32