Rev 663 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 663 | Rev 666 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
29 | .text |
29 | .text |
30 | 30 | ||
- | 31 | #include <arch/stack.h> |
|
- | 32 | ||
31 | .global panic_printf |
33 | .global panic_printf |
32 | panic_printf: |
34 | panic_printf: |
- | 35 | save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp |
|
33 | call printf |
36 | call printf |
34 | nop |
37 | nop |
35 | call halt |
38 | call halt |
36 | nop |
39 | nop |
37 | /* Not reached. */ |
40 | /* Not reached. */ |
- | 41 | restore |
|
- | 42 |