Commit 575ca735 authored by Vegard Nossum's avatar Vegard Nossum Committed by Ingo Molnar

x86: fix early-BUG message

The .asciz directive takes any number of strings, but each one is zero-
terminated, and string pasting is not done as in C. That results in only the
first line being output.

Replace .asciz with multiple .ascii directives and terminate with .asciz.
Signed-off-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent b4cdc430
...@@ -656,15 +656,16 @@ int_msg: ...@@ -656,15 +656,16 @@ int_msg:
.asciz "Unknown interrupt or fault at EIP %p %p %p\n" .asciz "Unknown interrupt or fault at EIP %p %p %p\n"
fault_msg: fault_msg:
.asciz \ /* fault info: */
/* fault info: */ "BUG: Int %d: CR2 %p\n" \ .ascii "BUG: Int %d: CR2 %p\n"
/* pusha regs: */ " EDI %p ESI %p EBP %p ESP %p\n" \ /* pusha regs: */
" EBX %p EDX %p ECX %p EAX %p\n" \ .ascii " EDI %p ESI %p EBP %p ESP %p\n"
/* fault frame: */ " err %p EIP %p CS %p flg %p\n" \ .ascii " EBX %p EDX %p ECX %p EAX %p\n"
\ /* fault frame: */
"Stack: %p %p %p %p %p %p %p %p\n" \ .ascii " err %p EIP %p CS %p flg %p\n"
" %p %p %p %p %p %p %p %p\n" \ .ascii "Stack: %p %p %p %p %p %p %p %p\n"
" %p %p %p %p %p %p %p %p\n" .ascii " %p %p %p %p %p %p %p %p\n"
.asciz " %p %p %p %p %p %p %p %p\n"
#include "../../x86/xen/xen-head.S" #include "../../x86/xen/xen-head.S"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment