summaryrefslogtreecommitdiffstats
path: root/sys/amd64/ia32/ia32_exception.S
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-05-23 19:06:15 +0000
committerbde <bde@FreeBSD.org>2004-05-23 19:06:15 +0000
commitaead6fc9921c390656d761462e2198cb0b1fda3d (patch)
treed1b6058928bb44cdd45e72f339becfab3f32798c /sys/amd64/ia32/ia32_exception.S
parent2b2f469df0b622eeff37e7c139cd8d53258613c8 (diff)
downloadFreeBSD-src-aead6fc9921c390656d761462e2198cb0b1fda3d.zip
FreeBSD-src-aead6fc9921c390656d761462e2198cb0b1fda3d.tar.gz
Added profiling support for Xint0x80_syscall.
Diffstat (limited to 'sys/amd64/ia32/ia32_exception.S')
-rw-r--r--sys/amd64/ia32/ia32_exception.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/ia32/ia32_exception.S b/sys/amd64/ia32/ia32_exception.S
index 6b57be9..052678a 100644
--- a/sys/amd64/ia32/ia32_exception.S
+++ b/sys/amd64/ia32/ia32_exception.S
@@ -63,5 +63,7 @@ IDTVEC(int0x80_syscall)
movq %r13,TF_R13(%rsp)
movq %r14,TF_R14(%rsp)
movq %r15,TF_R15(%rsp)
+ FAKE_MCOUNT(TF_RIP(%rsp))
call ia32_syscall
+ MEXITCOUNT
jmp doreti
OpenPOWER on IntegriCloud