Rename backtrace_kframe -> backtrace_hwtf [2/2]
[akaros.git] / kern / arch / x86 / init.c
index 126d75b..fe35276 100644 (file)
@@ -42,7 +42,7 @@ static void irq_console(struct hw_trapframe *hw_tf, void *data)
                                return;
                        }
                        print_trapframe(hw_tf);
-                       backtrace_kframe(hw_tf);
+                       backtrace_hwtf(hw_tf);
                        return;
        }
        /* Do our work in an RKM, instead of interrupt context.  Note the RKM will
@@ -91,6 +91,10 @@ void arch_init()
        perfmon_init();
        cons_irq_init();
        intel_lpc_init();
+#ifdef CONFIG_ENABLE_LEGACY_USB
+       printk("Legacy USB support enabled, expect SMM interference!\n");
+#else
        usb_disable_legacy();
+#endif
        check_timing_stability();
 }