2N/A; InnoTek Portable Runtime - No-CRT setjmp & longjmp - AMD64 & X86.
2N/A; Copyright (C) 2006 InnoTek Systemberatung GmbH
2N/A; This file is part of VirtualBox Open Source Edition (OSE), as
2N/A; you can redistribute it
and/or modify it under the terms of the GNU
2N/A; General Public License as published by the Free Software Foundation,
2N/A; in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
2N/A; distribution. VirtualBox OSE is distributed in the hope that it will
2N/A; be useful, but WITHOUT ANY WARRANTY of any kind.
2N/A; If you received this file as part of a commercial VirtualBox
2N/A; distribution, then only the terms of your commercial VirtualBox
2N/A; license agreement apply instead of the previous paragraph.
2N/ABEGINPROC RT_NOCRT(setjmp)
mov [rdi + 00h], rax ; rip
mov [rdi + 08h], rcx ; rsp
mov [edx + 00h], eax ; eip
mov [edx + 04h], ecx ; esp
BEGINPROC RT_NOCRT(longjmp)
ENDPROC RT_NOCRT(longjmp)