2 * Copyright 2004-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _KERNEL_SAFEMODE_H
6 #define _KERNEL_SAFEMODE_H
9 #include <driver_settings.h>
11 #include <safemode_defs.h>
22 status_t
get_safemode_option(const char* parameter
, char* buffer
,
24 bool get_safemode_boolean(const char* parameter
, bool defaultValue
);
26 // before driver_settings_init() has been called (limited parsing support)
27 status_t
get_safemode_option_early(struct kernel_args
* args
,
28 const char* parameter
, char* buffer
, size_t* _bufferSize
);
29 bool get_safemode_boolean_early(struct kernel_args
* args
,
30 const char* parameter
, bool defaultValue
);
32 status_t
_user_get_safemode_option(const char* parameter
, char* buffer
,
41 #endif /* _KERNEL_SAFEMODE_H */