Enabled on-screen KDL by default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15681 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6aeb59944d
commit
447308b363
@ -14,8 +14,8 @@
|
||||
# enables syslog debug output - all debug output is also sent to
|
||||
# the syslog service
|
||||
|
||||
#bluescreen false
|
||||
# enables on-screen KDL
|
||||
#bluescreen true
|
||||
# enables/disables on-screen KDL (defaults to on)
|
||||
|
||||
#bochs_debug_output false
|
||||
# Activates Bochs debug output if enabled in the kernel
|
||||
|
@ -40,7 +40,7 @@ int dbg_register_file[B_MAX_CPU_COUNT][14];
|
||||
|
||||
static bool sSerialDebugEnabled = false;
|
||||
static bool sSyslogOutputEnabled = false;
|
||||
static bool sBlueScreenEnabled = false;
|
||||
static bool sBlueScreenEnabled = true;
|
||||
static bool sBlueScreenOutput = false;
|
||||
static spinlock sSpinlock = 0;
|
||||
static int32 sDebuggerOnCPU = -1;
|
||||
@ -427,14 +427,15 @@ debug_init_post_vm(kernel_args *args)
|
||||
sSerialDebugEnabled = true;
|
||||
if (get_driver_boolean_parameter(handle, "syslog_debug_output", false, false))
|
||||
sSyslogOutputEnabled = true;
|
||||
if (get_driver_boolean_parameter(handle, "bluescreen", false, false)) {
|
||||
if (blue_screen_init() == B_OK)
|
||||
sBlueScreenEnabled = true;
|
||||
}
|
||||
if (get_driver_boolean_parameter(handle, "bluescreen", true, true))
|
||||
sBlueScreenEnabled = true;
|
||||
|
||||
unload_driver_settings(handle);
|
||||
}
|
||||
|
||||
if (sBlueScreenEnabled && blue_screen_init() != B_OK)
|
||||
sBlueScreenEnabled = false;
|
||||
|
||||
return arch_debug_init(args);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user