Terminate the backtrace that debug_backtrace() would output.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 9 Nov 2008 23:22:35 +0000 (15:22 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 9 Nov 2008 23:22:35 +0000 (15:22 -0800)
From Godmar, crossported from his usb-integration-aug08 branch.

src/threads/start.S

index 5a495c4651fecd6bf3d920130123f47f55f6588e..68c604cc276b33a6701dab250d16784de3d45bd0 100644 (file)
@@ -8,6 +8,9 @@
        
 .globl start
 .func start
+       # Terminate the backtrace that debug_backtrace() would output.
+       movl $0, %ebp
+
        # Call main.
 start: call main