mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Fix messages
This commit is contained in:
parent
75ffab6fa1
commit
545e2aef7d
2 changed files with 48 additions and 48 deletions
|
@ -8,38 +8,38 @@ struct IsrRegisters {
|
|||
};
|
||||
|
||||
static const char *const messages[] = {
|
||||
"Unhandled interrupt: 0x0",
|
||||
"Unhandled interrupt: 0x1",
|
||||
"Unhandled interrupt: 0x2",
|
||||
"Unhandled interrupt: 0x3",
|
||||
"Unhandled interrupt: 0x4",
|
||||
"Unhandled interrupt: 0x5",
|
||||
"Unhandled interrupt: 0x6",
|
||||
"Unhandled interrupt: 0x7",
|
||||
"Unhandled interrupt: 0x8",
|
||||
"Unhandled interrupt: 0x9",
|
||||
"Unhandled interrupt: 0xA",
|
||||
"Unhandled interrupt: 0xB",
|
||||
"Unhandled interrupt: 0xC",
|
||||
"Unhandled interrupt: 0xD",
|
||||
"Unhandled interrupt: 0xE",
|
||||
"Unhandled interrupt: 0xF",
|
||||
"Unhandled interrupt: 0x10",
|
||||
"Unhandled interrupt: 0x11",
|
||||
"Unhandled interrupt: 0x12",
|
||||
"Unhandled interrupt: 0x13",
|
||||
"Unhandled interrupt: 0x14",
|
||||
"Unhandled interrupt: 0x15",
|
||||
"Unhandled interrupt: 0x16",
|
||||
"Unhandled interrupt: 0x17",
|
||||
"Unhandled interrupt: 0x18",
|
||||
"Unhandled interrupt: 0x19",
|
||||
"Unhandled interrupt: 0x1A",
|
||||
"Unhandled interrupt: 0x1B",
|
||||
"Unhandled interrupt: 0x1C",
|
||||
"Unhandled interrupt: 0x1D",
|
||||
"Unhandled interrupt: 0x1E",
|
||||
"Unhandled interrupt: 0x1F",
|
||||
"Unhandled protected-mode exception: 0x0",
|
||||
"Unhandled protected-mode exception: 0x1",
|
||||
"Unhandled protected-mode exception: 0x2",
|
||||
"Unhandled protected-mode exception: 0x3",
|
||||
"Unhandled protected-mode exception: 0x4",
|
||||
"Unhandled protected-mode exception: 0x5",
|
||||
"Unhandled protected-mode exception: 0x6",
|
||||
"Unhandled protected-mode exception: 0x7",
|
||||
"Unhandled protected-mode exception: 0x8",
|
||||
"Unhandled protected-mode exception: 0x9",
|
||||
"Unhandled protected-mode exception: 0xA",
|
||||
"Unhandled protected-mode exception: 0xB",
|
||||
"Unhandled protected-mode exception: 0xC",
|
||||
"Unhandled protected-mode exception: 0xD",
|
||||
"Unhandled protected-mode exception: 0xE",
|
||||
"Unhandled protected-mode exception: 0xF",
|
||||
"Unhandled protected-mode exception: 0x10",
|
||||
"Unhandled protected-mode exception: 0x11",
|
||||
"Unhandled protected-mode exception: 0x12",
|
||||
"Unhandled protected-mode exception: 0x13",
|
||||
"Unhandled protected-mode exception: 0x14",
|
||||
"Unhandled protected-mode exception: 0x15",
|
||||
"Unhandled protected-mode exception: 0x16",
|
||||
"Unhandled protected-mode exception: 0x17",
|
||||
"Unhandled protected-mode exception: 0x18",
|
||||
"Unhandled protected-mode exception: 0x19",
|
||||
"Unhandled protected-mode exception: 0x1A",
|
||||
"Unhandled protected-mode exception: 0x1B",
|
||||
"Unhandled protected-mode exception: 0x1C",
|
||||
"Unhandled protected-mode exception: 0x1D",
|
||||
"Unhandled protected-mode exception: 0x1E",
|
||||
"Unhandled protected-mode exception: 0x1F",
|
||||
};
|
||||
|
||||
void exception_handler(struct IsrRegisters regs)
|
||||
|
|
32
arch/hwint.c
32
arch/hwint.c
|
@ -8,22 +8,22 @@ struct IsrRegisters {
|
|||
};
|
||||
|
||||
static const char *const messages[] = {
|
||||
"Unhandled hwint: 0",
|
||||
"Unhandled hwint: 1",
|
||||
"Unhandled hwint: 2",
|
||||
"Unhandled hwint: 3",
|
||||
"Unhandled hwint: 4",
|
||||
"Unhandled hwint: 5",
|
||||
"Unhandled hwint: 6",
|
||||
"Unhandled hwint: 7",
|
||||
"Unhandled hwint: 8",
|
||||
"Unhandled hwint: 9",
|
||||
"Unhandled hwint: 10",
|
||||
"Unhandled hwint: 11",
|
||||
"Unhandled hwint: 12",
|
||||
"Unhandled hwint: 13",
|
||||
"Unhandled hwint: 14",
|
||||
"Unhandled hwint: 15",
|
||||
"Unhandled hardware interrupt: 0",
|
||||
"Unhandled hardware interrupt: 1",
|
||||
"Unhandled hardware interrupt: 2",
|
||||
"Unhandled hardware interrupt: 3",
|
||||
"Unhandled hardware interrupt: 4",
|
||||
"Unhandled hardware interrupt: 5",
|
||||
"Unhandled hardware interrupt: 6",
|
||||
"Unhandled hardware interrupt: 7",
|
||||
"Unhandled hardware interrupt: 8",
|
||||
"Unhandled hardware interrupt: 9",
|
||||
"Unhandled hardware interrupt: 10",
|
||||
"Unhandled hardware interrupt: 11",
|
||||
"Unhandled hardware interrupt: 12",
|
||||
"Unhandled hardware interrupt: 13",
|
||||
"Unhandled hardware interrupt: 14",
|
||||
"Unhandled hardware interrupt: 15",
|
||||
};
|
||||
|
||||
void hwint_handler(struct IsrRegisters regs)
|
||||
|
|
Loading…
Reference in a new issue