Added driver_settings support to the kernel_args structure.

The driver settings are put into the kernel_args memory section and
copied on kernel startup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10635 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-01-10 07:36:08 +00:00
parent 78c5ef46fc
commit 0d4ea07bd7
3 changed files with 49 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
/*
* Copyright 2005, Axel Dörfler, [email protected]. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_DRIVER_SETTINGS_H
#define _KERNEL_DRIVER_SETTINGS_H
#include <SupportDefs.h>
struct kernel_args;
#ifdef __cplusplus
extern "C" {
#endif
status_t driver_settings_init(struct kernel_args *args);
status_t driver_settings_init_post_sem(struct kernel_args *args);
#ifdef __cplusplus
}
#endif
#endif /* _KRENEL_DRIVER_SETTINGS_H */