x86_64: remove printk call from isr/irq handlers
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
#include <arch/irq.h>
|
#include <arch/irq.h>
|
||||||
#include <arch/ports.h>
|
#include <arch/ports.h>
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <socks/printk.h>
|
|
||||||
#include <socks/sched.h>
|
#include <socks/sched.h>
|
||||||
#include <socks/cpu.h>
|
#include <socks/cpu.h>
|
||||||
#include <socks/panic.h>
|
#include <socks/panic.h>
|
||||||
@@ -129,7 +128,6 @@ int idt_load(struct idt_ptr *ptr)
|
|||||||
|
|
||||||
void isr_dispatch(struct cpu_context *regs)
|
void isr_dispatch(struct cpu_context *regs)
|
||||||
{
|
{
|
||||||
printk("received ISR#%u on CPU %u", regs->int_no, this_cpu());
|
|
||||||
int_hook h = isr_handlers[regs->int_no];
|
int_hook h = isr_handlers[regs->int_no];
|
||||||
if (h) {
|
if (h) {
|
||||||
h(regs);
|
h(regs);
|
||||||
@@ -142,10 +140,6 @@ void irq_dispatch(struct cpu_context *regs)
|
|||||||
{
|
{
|
||||||
end_charge_period();
|
end_charge_period();
|
||||||
|
|
||||||
if (regs->int_no != IRQ0) {
|
|
||||||
printk("received IRQ#%u on CPU %u", regs->int_no - IRQ0, this_cpu());
|
|
||||||
}
|
|
||||||
|
|
||||||
irq_ack(regs->int_no);
|
irq_ack(regs->int_no);
|
||||||
struct queue *hooks = &irq_hooks[regs->int_no - IRQ0];
|
struct queue *hooks = &irq_hooks[regs->int_no - IRQ0];
|
||||||
queue_foreach(struct irq_hook, hook, hooks, irq_entry) {
|
queue_foreach(struct irq_hook, hook, hooks, irq_entry) {
|
||||||
|
|||||||
Reference in New Issue
Block a user