env-common.mac revision f372af8e6ee2a011213b11cc69f4a29530ff7ce5
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd; Instruction Test Environment - Common Bits.
d209ecb5fe6393098ebb1f1afeea3648b1bf89eafielding; Copyright (C) 2006-2013 Oracle Corporation
d209ecb5fe6393098ebb1f1afeea3648b1bf89eafielding; This file is part of VirtualBox Open Source Edition (OSE), as
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd; available from http://www.virtualbox.org. This file is free software;
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd; you can redistribute it and/or modify it under the terms of the GNU
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd; General Public License (GPL) as published by the Free Software
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd; Foundation, in version 2 as it comes in the "COPYING" file of the
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd%ifndef ___env_common_mac
bfb214f8ec1b83a124e7a8caa495e3e8f19e9c75nd%define ___env_common_mac
44568d2972696810da90828aef56e24dac466c06slive;*******************************************************************************
3c56725151a46fef84ce376d709b5339da28e10fnd;* Defined Constants And Macros *
44568d2972696810da90828aef56e24dac466c06slive;*******************************************************************************
5fa8671cb225dacefd0b5dde0d9876bbb30862d8slive%ifdef RT_ARCH_AMD64
44568d2972696810da90828aef56e24dac466c06slive %define MY_PUSH_FLAGS pushfq
f1110149b5b6c28ecc39d1958d98ad9cfa8e41f3nd %define MY_POP_FLAGS popfq
f1110149b5b6c28ecc39d1958d98ad9cfa8e41f3nd %define MY_PUSH_FLAGS_SIZE 8
44568d2972696810da90828aef56e24dac466c06slive %macro MY_PUSH_ALL 0
5fa8671cb225dacefd0b5dde0d9876bbb30862d8slive mov rbp, rsp
44568d2972696810da90828aef56e24dac466c06slive %macro MY_POP_ALL 0
f32e3f62baf7948fee690b8f319e435370e79443nd %define MY_PUSH_FLAGS pushfd
f2e55f27f49e34dcd7a066d1486a623a02a93ec7erikabele %define MY_POP_FLAGS popfd
2e809a50cd648587cde45e41c8a3b3c9f48bd3cand %define MY_PUSH_FLAGS_SIZE 4
d1b2e36420ade1a362f0410de47143e0a1c63964slive %macro MY_PUSH_ALL 0
2e809a50cd648587cde45e41c8a3b3c9f48bd3cand mov xBP, xSP