Changeset 1a5fe4f in mainline for kernel/arch/amd64
- Timestamp:
- 2018-11-09T18:09:55Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1892d2c
- Parents:
- 3875f106 (diff), ef4218f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Jakub Jermář <jakub@…> (2018-11-09 18:09:55)
- git-committer:
- GitHub <noreply@…> (2018-11-09 18:09:55)
- Location:
- kernel/arch/amd64
- Files:
-
- 3 edited
-
Makefile.inc (modified) (1 diff)
-
include/arch/interrupt.h (modified) (1 diff)
-
src/interrupt.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/Makefile.inc
r3875f106 r1a5fe4f 85 85 arch/$(KARCH)/src/smp/ipi.c \ 86 86 arch/$(KARCH)/src/smp/mps.c \ 87 arch/$(KARCH)/src/smp/smp_call.c \88 87 arch/$(KARCH)/src/smp/smp.c 89 88 endif -
kernel/arch/amd64/include/arch/interrupt.h
r3875f106 r1a5fe4f 81 81 #define VECTOR_TLB_SHOOTDOWN_IPI (IVT_FREEBASE + 1) 82 82 #define VECTOR_DEBUG_IPI (IVT_FREEBASE + 2) 83 #define VECTOR_SMP_CALL_IPI (IVT_FREEBASE + 3)84 83 85 84 extern void (*disable_irqs_function)(uint16_t); -
kernel/arch/amd64/src/interrupt.c
r3875f106 r1a5fe4f 53 53 #include <symtab.h> 54 54 #include <stacktrace.h> 55 #include <smp/smp_call.h>56 55 57 56 /* … … 161 160 tlb_shootdown_ipi_recv(); 162 161 } 163 164 static void arch_smp_call_ipi_recv(unsigned int n, istate_t *istate)165 {166 trap_virtual_eoi();167 smp_call_ipi_recv();168 }169 162 #endif 170 163 … … 229 222 exc_register(VECTOR_TLB_SHOOTDOWN_IPI, "tlb_shootdown", true, 230 223 (iroutine_t) tlb_shootdown_ipi); 231 exc_register(VECTOR_SMP_CALL_IPI, "smp_call", true,232 (iroutine_t) arch_smp_call_ipi_recv);233 224 #endif 234 225 }
Note:
See TracChangeset
for help on using the changeset viewer.
