haiku/headers/private/kernel/safemode.h

31 lines
725 B
C

/*
* Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_SAFEMODE_H
#define _KERNEL_SAFEMODE_H
#include <driver_settings.h>
// these are BeOS compatible additions to the safemode
// constants in the driver_settings.h header
#define B_SAFEMODE_DISABLE_USER_ADD_ONS "disableuseraddons"
#define B_SAFEMODE_DISABLE_IDE_DMA "disableidedma"
#ifdef __cplusplus
extern "C" {
#endif
status_t get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSize);
status_t _user_get_safemode_option(const char *parameter, char *buffer, size_t *_bufferSize);
#ifdef __cplusplus
}
#endif
#endif /* _KERNEL_SAFEMODE_H */