xref: /haiku/headers/private/kernel/safemode.h (revision b028e77473189065f2baefc6f5e10d451cf591e2)
1 /*
2  * Copyright 2004-2007, 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 #define B_SAFEMODE_FAIL_SAFE_VIDEO_MODE		"fail_safe_video_mode"
21 
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 status_t get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSize);
28 status_t _user_get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSize);
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif	/* _KERNEL_SAFEMODE_H */
35