kill some more []
This commit is contained in:
parent
c252674209
commit
20b33daf59
1 changed files with 31 additions and 23 deletions
|
|
@ -164,29 +164,37 @@ i386unwind(Map *map, Regs *regs, ulong *next)
|
||||||
static char FRAMENAME[] = ".frame";
|
static char FRAMENAME[] = ".frame";
|
||||||
static char *excname[] =
|
static char *excname[] =
|
||||||
{
|
{
|
||||||
[0] "divide error",
|
"divide error", /* 0 */
|
||||||
[1] "debug exception",
|
"debug exception", /* 1 */
|
||||||
[4] "overflow",
|
0,0, /* 2, 3 */
|
||||||
[5] "bounds check",
|
"overflow", /* 4 */
|
||||||
[6] "invalid opcode",
|
"bounds check", /* 5 */
|
||||||
[7] "math coprocessor emulation",
|
"invalid opcode", /* 6 */
|
||||||
[8] "double fault",
|
"math coprocessor emulation", /* 7 */
|
||||||
[9] "math coprocessor overrun",
|
"double fault", /* 8 */
|
||||||
[10] "invalid TSS",
|
"math coprocessor overrun", /* 9 */
|
||||||
[11] "segment not present",
|
"invalid TSS", /* 10 */
|
||||||
[12] "stack exception",
|
"segment not present", /* 11 */
|
||||||
[13] "general protection violation",
|
"stack exception", /* 12 */
|
||||||
[14] "page fault",
|
"general protection violation", /* 13 */
|
||||||
[16] "math coprocessor error",
|
"page fault", /* 14 */
|
||||||
[24] "clock",
|
0, /* 15 */
|
||||||
[25] "keyboard",
|
"math coprocessor error", /* 16 */
|
||||||
[27] "modem status",
|
0,0,0,0,0,0,0, /* 17-23 */
|
||||||
[28] "serial line status",
|
"clock", /* 24 */
|
||||||
[30] "floppy disk",
|
"keyboard", /* 25 */
|
||||||
[36] "mouse",
|
0, /* 26 */
|
||||||
[37] "math coprocessor",
|
"modem status", /* 27 */
|
||||||
[38] "hard disk",
|
"serial line status", /* 28 */
|
||||||
[64] "system call",
|
0, /* 29 */
|
||||||
|
"floppy disk", /* 30 */
|
||||||
|
0,0,0,0,0, /* 31-35 */
|
||||||
|
"mouse", /* 36 */
|
||||||
|
"math coprocessor", /* 37 */
|
||||||
|
"hard disk", /* 38 */
|
||||||
|
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,/* 39-54 */
|
||||||
|
0,0,0,0,0,0,0,0,0, /* 55-63 */
|
||||||
|
"system call", /* 64 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static char*
|
static char*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue