xref: /haiku/headers/private/kernel/safemode.h (revision 1e36cfc2721ef13a187c6f7354dc9cbc485e89d3)
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_ACPI				"disable_acpi"
18 #define B_SAFEMODE_DISABLE_SMP				"disable_smp"
19 #define B_SAFEMODE_DISABLE_HYPER_THREADING	"disable_hyperthreading"
20 
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 status_t get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSize);
27 status_t _user_get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSize);
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 
33 #endif	/* _KERNEL_SAFEMODE_H */
34