From 4d6fe1c317f0a541922f4cf945365fd31e608e10 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Wed, 18 Mar 2020 14:01:12 +1100 Subject: 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. --- kernel/traps.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/traps.s') 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 -- cgit v1.3