Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/interrupt.c

    r4b0206c rb2fa1204  
    4545#include <mm/as.h>
    4646#include <arch.h>
     47#include <arch/asm.h>
    4748#include <proc/scheduler.h>
    4849#include <proc/thread.h>
     
    5455#include <symtab.h>
    5556#include <stacktrace.h>
    56 #include <smp/smp_call.h>
    5757
    5858/*
     
    161161        trap_virtual_eoi();
    162162        tlb_shootdown_ipi_recv();
    163 }
    164 
    165 static void arch_smp_call_ipi_recv(unsigned int n, istate_t *istate)
    166 {
    167         trap_virtual_eoi();
    168         smp_call_ipi_recv();
    169163}
    170164#endif
     
    222216        }
    223217       
    224         exc_register(VECTOR_DE, "de_fault", true, (iroutine_t) de_fault);
    225         exc_register(VECTOR_NM, "nm_fault", true, (iroutine_t) nm_fault);
    226         exc_register(VECTOR_SS, "ss_fault", true, (iroutine_t) ss_fault);
    227         exc_register(VECTOR_GP, "gp_fault", true, (iroutine_t) gp_fault);
     218        exc_register(0, "de_fault", true, (iroutine_t) de_fault);
     219        exc_register(7, "nm_fault", true, (iroutine_t) nm_fault);
     220        exc_register(12, "ss_fault", true, (iroutine_t) ss_fault);
     221        exc_register(13, "gp_fault", true, (iroutine_t) gp_fault);
    228222       
    229223#ifdef CONFIG_SMP
    230224        exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown", true,
    231225            (iroutine_t) tlb_shootdown_ipi);
    232         exc_register(VECTOR_SMP_CALL_IPI, "smp_call", true,
    233                 (iroutine_t) arch_smp_call_ipi_recv);
    234226#endif
    235227}
Note: See TracChangeset for help on using the changeset viewer.