Changeset 2ee1ccc in mainline for kernel/arch
- Timestamp:
- 2012-07-01T05:18:27Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d71331b
- Parents:
- 49e6c6b4
- Location:
- kernel/arch
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/Makefile.inc
r49e6c6b4 r2ee1ccc 104 104 arch/$(KARCH)/src/smp/ipi.c \ 105 105 arch/$(KARCH)/src/smp/mps.c \ 106 arch/$(KARCH)/src/smp/smp_call.c \ 106 107 arch/$(KARCH)/src/smp/smp.c 107 108 endif -
kernel/arch/amd64/include/interrupt.h
r49e6c6b4 r2ee1ccc 69 69 #define VECTOR_TLB_SHOOTDOWN_IPI (IVT_FREEBASE + 1) 70 70 #define VECTOR_DEBUG_IPI (IVT_FREEBASE + 2) 71 #define VECTOR_SMP_CALL_IPI (IVT_FREEBASE + 3) 71 72 72 73 extern void (* disable_irqs_function)(uint16_t); -
kernel/arch/amd64/src/interrupt.c
r49e6c6b4 r2ee1ccc 54 54 #include <symtab.h> 55 55 #include <stacktrace.h> 56 #include <smp/smp_call.h> 56 57 57 58 /* … … 161 162 tlb_shootdown_ipi_recv(); 162 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(); 169 } 163 170 #endif 164 171 … … 222 229 exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown", true, 223 230 (iroutine_t) tlb_shootdown_ipi); 231 exc_register(VECTOR_SMP_CALL_IPI, "smp_call", true, 232 (iroutine_t) arch_smp_call_ipi_recv); 224 233 #endif 225 234 } -
kernel/arch/ia32/Makefile.inc
r49e6c6b4 r2ee1ccc 86 86 arch/$(KARCH)/src/smp/mps.c \ 87 87 arch/$(KARCH)/src/smp/smp.c \ 88 arch/$(KARCH)/src/smp/smp_call.c \ 88 89 arch/$(KARCH)/src/atomic.S \ 89 90 arch/$(KARCH)/src/smp/ipi.c \ -
kernel/arch/ia32/include/interrupt.h
r49e6c6b4 r2ee1ccc 69 69 #define VECTOR_TLB_SHOOTDOWN_IPI (IVT_FREEBASE + 1) 70 70 #define VECTOR_DEBUG_IPI (IVT_FREEBASE + 2) 71 #define VECTOR_SMP_CALL_IPI (IVT_FREEBASE + 3) 71 72 72 73 extern void (* disable_irqs_function)(uint16_t); -
kernel/arch/ia32/src/interrupt.c
r49e6c6b4 r2ee1ccc 54 54 #include <symtab.h> 55 55 #include <stacktrace.h> 56 #include <smp/smp_call.h> 56 57 57 58 /* … … 170 171 tlb_shootdown_ipi_recv(); 171 172 } 173 174 static void arch_smp_call_ipi_recv(unsigned int n, istate_t *istate) 175 { 176 trap_virtual_eoi(); 177 smp_call_ipi_recv(); 178 } 172 179 #endif 173 180 … … 230 237 exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown", true, 231 238 (iroutine_t) tlb_shootdown_ipi); 239 exc_register(VECTOR_SMP_CALL_IPI, "smp_call", true, 240 (iroutine_t) arch_smp_call_ipi_recv); 232 241 #endif 233 242 }
Note:
See TracChangeset
for help on using the changeset viewer.