mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +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:
@@ -62,7 +62,7 @@ SpuriousInterruptHandler::~SpuriousInterruptHandler()
|
||||
void SpuriousInterruptHandler::handle_interrupt(RegisterState&)
|
||||
{
|
||||
// FIXME: Actually check if IRQ7 or IRQ15 are spurious, and if not, call the real handler to handle the IRQ.
|
||||
kprintf("Spurious Interrupt, vector %d\n", interrupt_number());
|
||||
klog() << "Spurious Interrupt, vector " << interrupt_number();
|
||||
}
|
||||
|
||||
void SpuriousInterruptHandler::enable_interrupt_vector()
|
||||
|
||||
Reference in New Issue
Block a user