diff options
| author | Jake Mannens <jakem_5@hotmail.com> | 2020-03-18 14:01:12 +1100 |
|---|---|---|
| committer | Jake Mannens <jakem_5@hotmail.com> | 2020-03-18 14:01:12 +1100 |
| commit | 4d6fe1c317f0a541922f4cf945365fd31e608e10 (patch) | |
| tree | b78f721d50924094d4926ee90131a98ba12eb95e /kernel/traps.s | |
| parent | eda36531e8daedd045fb02c9c590cdf4dddd957f (diff) | |
Added decimal and octal conversion specifiers ('%d' and '%o') to
vsprintf().
Coverted all printk()/printf() functions to capatalised hex for
readability.
Tidied up some code.
Diffstat (limited to 'kernel/traps.s')
| -rw-r--r-- | kernel/traps.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/traps.s b/kernel/traps.s index 408a650..ca083dd 100644 --- a/kernel/traps.s +++ b/kernel/traps.s @@ -199,7 +199,7 @@ exc_gprot: RESTORE_ERR .fmt: - db "General Protection Fault (0x%08x)", 10, 0 + db "General Protection Fault (0x%08X)", 10, 0 exc_pagef: SAVE_ERR @@ -242,7 +242,7 @@ exc_pagef: RESTORE_ERR .fmt: - db "Page Fault (illegal memory access: 0x%08x:0x%02x)", 10, 0 + db "Page Fault (illegal memory access: 0x%08X:0x%02X)", 10, 0 exc_mathf: SAVE |
