History log of /haiku/headers/private/kernel/safemode.h
Revision Date Author Comments
# 04dbe5b1 28-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

safemode.h: make it usable from C code.


# 9bdb5e0a 10-Dec-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

kernel safemode: Add functions to get options early

Add get_safemode_option_early() and get_safemode_boolean_early() to get
safemode options before the kernel heap has been initialized. They use a
simplified parser.


# 7a1e706d 10-Dec-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

safemode.h: Update coding style


# 6b202f4e 13-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Introduced new header directory headers/private/system which is supposed
to contain headers shared by kernel and userland (mainly libroot).
* Moved quite a few private kernel headers to the new location. Split
several kernel headers into a shared part and one that is still kernel
private. Adjusted all affected Jamfiles and source in the standard x86
build accordingly. The build for other architectures and for test code
may be broken.
* Quite a bit of userland code still includes private kernel headers.
Mostly those are <util/*> headers. The ones that aren't strictly
kernel-only should be moved to some other place (maybe
headers/private/shared/util).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25486 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7c8ddc97 06-May-2008 Jérôme Duval <korli@users.berlios.de>

added B_SAFEMODE_DISABLE_APM


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25334 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 637eef89 08-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

* Added a get_safemode_boolean() function for easy access to the safemode
options.
* module_init() now sets sDisableUserAddOns to whatever the safemode settings
say, ie. the B_SAFEMODE_DISABLE_USER_ADD_ONS setting is now respected by
the module code.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24315 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b2ed0e7a 03-Jun-2007 Axel Dörfler <axeld@pinc-software.de>

Implemented "fail_safe_video_mode" boot option; if you're using it, the app_server
will not load any graphics driver (other than VESA).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21310 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5efe9479 13-Jan-2007 Jérôme Duval <korli@users.berlios.de>

ACPI boot menu item is for bios_ia32
added a kernel settings option to disable ACPI



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19791 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 173acea7 12-Jan-2007 Jérôme Duval <korli@users.berlios.de>

added a boot menu option "Disable ACPI" and code to avoid loading the ACPI module when it's active. untested (because of sudden reboots when boot menu is used).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19777 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8fcd6b8e 26-Oct-2005 Axel Dörfler <axeld@pinc-software.de>

* renamed smp_boot.c to smp.cpp
* there is now a "Disable Hyper-Threading" safemode in the boot loader
* the SMP & HT menu items are now added in smp.cpp - and are only added
if the system supports one of them.
* more cleanup to smp_apic.h
* removed cpuid() from the boot loader's support.S - instead, it will now
use the one from the kernel.
* added a very weak HT detection: if the MP config only listed one CPU,
and this CPU supports HT, we enable the other logic processor manually -
as this currently doesn't work, it's disabled, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14536 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0c67510a 24-Oct-2005 Axel Dörfler <axeld@pinc-software.de>

Enabled SMP detection again - since it's very likely that it doesn't work on
your system, I've also added a "Disable SMP" safemode option. The NO_SMP
define is still there, and will be removed once SMP works flawlessly.
Prints out infos about the interrupt entries in the MP config.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14499 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 04169a30 26-Nov-2004 Axel Dörfler <axeld@pinc-software.de>

Added header for additional safemode definitions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10256 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 04dbe5b1c5241d34cca45b27d4c7cefc6639505f 28-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

safemode.h: make it usable from C code.


# 9bdb5e0a928dcaa7d44f3111cb44e7a3a6d9bae2 10-Dec-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

kernel safemode: Add functions to get options early

Add get_safemode_option_early() and get_safemode_boolean_early() to get
safemode options before the kernel heap has been initialized. They use a
simplified parser.


# 7a1e706df778d7cc0d5a10a20f8397660c274e2a 10-Dec-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

safemode.h: Update coding style


# 6b202f4e3da73d4c131355fcd82b792d153f84f6 13-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Introduced new header directory headers/private/system which is supposed
to contain headers shared by kernel and userland (mainly libroot).
* Moved quite a few private kernel headers to the new location. Split
several kernel headers into a shared part and one that is still kernel
private. Adjusted all affected Jamfiles and source in the standard x86
build accordingly. The build for other architectures and for test code
may be broken.
* Quite a bit of userland code still includes private kernel headers.
Mostly those are <util/*> headers. The ones that aren't strictly
kernel-only should be moved to some other place (maybe
headers/private/shared/util).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25486 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7c8ddc9795f3fdabed1327aa579971bc486f6a22 06-May-2008 Jérôme Duval <korli@users.berlios.de>

added B_SAFEMODE_DISABLE_APM


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25334 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 637eef896befc9681c81cf04fda10ff556c7ca3e 08-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

* Added a get_safemode_boolean() function for easy access to the safemode
options.
* module_init() now sets sDisableUserAddOns to whatever the safemode settings
say, ie. the B_SAFEMODE_DISABLE_USER_ADD_ONS setting is now respected by
the module code.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24315 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b2ed0e7acfba7cc638619b8ea6b953ae6831a13a 03-Jun-2007 Axel Dörfler <axeld@pinc-software.de>

Implemented "fail_safe_video_mode" boot option; if you're using it, the app_server
will not load any graphics driver (other than VESA).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21310 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5efe9479fe2d64624e32112d1a246865952d8a65 13-Jan-2007 Jérôme Duval <korli@users.berlios.de>

ACPI boot menu item is for bios_ia32
added a kernel settings option to disable ACPI



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19791 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 173acea776e8c550648dfb3ef00430eabd520d4f 12-Jan-2007 Jérôme Duval <korli@users.berlios.de>

added a boot menu option "Disable ACPI" and code to avoid loading the ACPI module when it's active. untested (because of sudden reboots when boot menu is used).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19777 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8fcd6b8e61e367a9f832f7e9fe60f8d7c6868313 26-Oct-2005 Axel Dörfler <axeld@pinc-software.de>

* renamed smp_boot.c to smp.cpp
* there is now a "Disable Hyper-Threading" safemode in the boot loader
* the SMP & HT menu items are now added in smp.cpp - and are only added
if the system supports one of them.
* more cleanup to smp_apic.h
* removed cpuid() from the boot loader's support.S - instead, it will now
use the one from the kernel.
* added a very weak HT detection: if the MP config only listed one CPU,
and this CPU supports HT, we enable the other logic processor manually -
as this currently doesn't work, it's disabled, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14536 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0c67510ae1a020d857fb5581ac7c521c584558de 24-Oct-2005 Axel Dörfler <axeld@pinc-software.de>

Enabled SMP detection again - since it's very likely that it doesn't work on
your system, I've also added a "Disable SMP" safemode option. The NO_SMP
define is still there, and will be removed once SMP works flawlessly.
Prints out infos about the interrupt entries in the MP config.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14499 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 04169a304b9f8c3c87eaff1a57b82cac257688c3 26-Nov-2004 Axel Dörfler <axeld@pinc-software.de>

Added header for additional safemode definitions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10256 a95241bf-73f2-0310-859d-f6bbb57e9c96