1 /* 2 * Copyright 2004, 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 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 status_t get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSize); 24 status_t _user_get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSize); 25 26 #ifdef __cplusplus 27 } 28 #endif 29 30 #endif /* _KERNEL_SAFEMODE_H */ 31