Optionally disable kernel debug code

This commit is contained in:
Arun Thomas
2011-08-16 17:18:55 +02:00
parent 4c3e216cbd
commit 40592de32d
9 changed files with 33 additions and 6 deletions
+2
View File
@@ -84,6 +84,7 @@ PUBLIC void cstart(
if(!value || system_hz < 2 || system_hz > 50000) /* sanity check */
system_hz = DEFAULT_HZ;
#if DEBUG_SERIAL
/* Intitialize serial debugging */
value = env_get(SERVARNAME);
if(value && atoi(value) == 0) {
@@ -92,6 +93,7 @@ PUBLIC void cstart(
value = env_get(SERBAUDVARNAME);
if (value) serial_debug_baud = atoi(value);
}
#endif
#ifdef USE_APIC
value = env_get("no_apic");