svn commit: r208294 - stable/8/sys/amd64/amd64
Konstantin Belousov
kib at FreeBSD.org
Wed May 19 09:32:59 UTC 2010
Author: kib
Date: Wed May 19 09:32:59 2010
New Revision: 208294
URL: http://svn.freebsd.org/changeset/base/208294
Log:
MFC r207958:
Route all returns from the interrupts and faults through the doreti_iret
labeled iretq instruction.
MFC r208026:
Do not use .extern.
Modified:
stable/8/sys/amd64/amd64/apic_vector.S
stable/8/sys/amd64/amd64/exception.S
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/geom/sched/ (props changed)
Modified: stable/8/sys/amd64/amd64/apic_vector.S
==============================================================================
--- stable/8/sys/amd64/amd64/apic_vector.S Wed May 19 09:32:11 2010 (r208293)
+++ stable/8/sys/amd64/amd64/apic_vector.S Wed May 19 09:32:59 2010 (r208294)
@@ -81,7 +81,7 @@ IDTVEC(spuriousint)
/* No EOI cycle used here */
- iretq
+ jmp doreti_iret
ISR_VEC(1, apic_isr1)
ISR_VEC(2, apic_isr2)
@@ -135,7 +135,7 @@ IDTVEC(invltlb)
incl smp_tlb_wait
popq %rax
- iretq
+ jmp doreti_iret
/*
* Single page TLB shootdown
@@ -155,7 +155,7 @@ IDTVEC(invlpg)
incl smp_tlb_wait
popq %rax
- iretq
+ jmp doreti_iret
/*
* Page range TLB shootdown.
@@ -181,7 +181,7 @@ IDTVEC(invlrng)
popq %rdx
popq %rax
- iretq
+ jmp doreti_iret
/*
* Invalidate cache.
@@ -200,7 +200,7 @@ IDTVEC(invlcache)
incl smp_tlb_wait
popq %rax
- iretq
+ jmp doreti_iret
/*
* Handler for IPIs sent via the per-cpu IPI bitmap.
@@ -247,7 +247,7 @@ IDTVEC(cpususpend)
call cpususpend_handler
POP_FRAME
- iretq
+ jmp doreti_iret
/*
* Executed by a CPU when it receives a RENDEZVOUS IPI from another CPU.
Modified: stable/8/sys/amd64/amd64/exception.S
==============================================================================
--- stable/8/sys/amd64/amd64/exception.S Wed May 19 09:32:11 2010 (r208293)
+++ stable/8/sys/amd64/amd64/exception.S Wed May 19 09:32:59 2010 (r208294)
@@ -553,7 +553,7 @@ nmi_restoreregs:
movq TF_R14(%rsp),%r14
movq TF_R15(%rsp),%r15
addq $TF_RIP,%rsp
- iretq
+ jmp doreti_iret
ENTRY(fork_trampoline)
movq %r12,%rdi /* function */
More information about the svn-src-stable
mailing list