8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; $Id$
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;; @file
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; VirtualBox Support Driver - Tracer Interface, Assembly bits.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; Copyright (C) 2012 Oracle Corporation
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; This file is part of VirtualBox Open Source Edition (OSE), as
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; available from http://www.virtualbox.org. This file is free software;
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; you can redistribute it and/or modify it under the terms of the GNU
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; General Public License (GPL) as published by the Free Software
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; Foundation, in version 2 as it comes in the "COPYING" file of the
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; The contents of this file may alternatively be used under the terms
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; of the Common Development and Distribution License Version 1.0
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; VirtualBox OSE distribution, in which case the provisions of the
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; CDDL are applicable instead of those of the GPL.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; You may elect to license modified versions of this file under the
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; terms and conditions of either the GPL or the CDDL or both.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;*******************************************************************************
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;* Header Files *
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;*******************************************************************************
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync%include "iprt/asmdefs.mac"
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync; External data.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsyncextern NAME(g_pfnSupdrvProbeFireKernel)
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsyncBEGINCODE
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;; Dummy stub function that just returns.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsyncBEGINPROC supdrvTracerProbeFireStub
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync ret
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsyncENDPROC supdrvTracerProbeFireStub
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync;; Tail jump function.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsyncEXPORTEDNAME SUPR0TracerFireProbe
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync%ifdef RT_ARCH_AMD64
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync mov rax, [NAME(g_pfnSupdrvProbeFireKernel) wrt rip]
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync jmp rax
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync%else
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync mov eax, [NAME(g_pfnSupdrvProbeFireKernel)]
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync jmp eax
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync%endif
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsyncENDPROC SUPR0TracerFireProbe
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync