mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
Kernel: Use klog() instead of kprintf()
Also, duplicate data in dbg() and klog() calls were removed. In addition, leakage of virtual address to kernel log is prevented. This is done by replacing kprintf() calls to dbg() calls with the leaked data instead. Also, other kprintf() calls were replaced with klog().
This commit is contained in:
parent
19aa53e1f9
commit
0fc60e41dd
53 changed files with 397 additions and 573 deletions
|
@ -81,7 +81,7 @@ static void load_ksyms_from_data(const ByteBuffer& buffer)
|
|||
s_ksyms = static_cast<KSym*>(kmalloc_eternal(sizeof(KSym) * ksym_count));
|
||||
++bufptr; // skip newline
|
||||
|
||||
kprintf("Loading ksyms...");
|
||||
klog() << "Loading ksyms...";
|
||||
|
||||
unsigned current_ksym_index = 0;
|
||||
|
||||
|
@ -110,7 +110,7 @@ static void load_ksyms_from_data(const ByteBuffer& buffer)
|
|||
++bufptr;
|
||||
++current_ksym_index;
|
||||
}
|
||||
kprintf("ok\n");
|
||||
klog() << "ok";
|
||||
ksyms_ready = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue