xref: /haiku/headers/private/kernel/safemode.h (revision 24159a0c7d6d6dcba9f2a0c1a7c08d2c8167f21b)
1 /*
2  * Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _KERNEL_SAFEMODE_H
6 #define _KERNEL_SAFEMODE_H
7 
8 
9 #include <driver_settings.h>
10 
11 
12 // these are BeOS compatible additions to the safemode
13 // constants in the driver_settings.h header
14 
15 #define B_SAFEMODE_DISABLE_USER_ADD_ONS		"disableuseraddons"
16 #define B_SAFEMODE_DISABLE_IDE_DMA			"disableidedma"
17 #define B_SAFEMODE_DISABLE_SMP				"disable_smp"
18 #define B_SAFEMODE_DISABLE_HYPER_THREADING	"disable_hyperthreading"
19 
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 status_t get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSize);
26 status_t _user_get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSize);
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif	/* _KERNEL_SAFEMODE_H */
33