08fc4eb537ed24136b05660d0aa038b336516961vboxsync; $Id$
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;; @file
08fc4eb537ed24136b05660d0aa038b336516961vboxsync; Instruction Test Environment - Boot Sector Type 2, Ring-0.
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;
08fc4eb537ed24136b05660d0aa038b336516961vboxsync; Copyright (C) 2006-2013 Oracle Corporation
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;
08fc4eb537ed24136b05660d0aa038b336516961vboxsync; This file is part of VirtualBox Open Source Edition (OSE), as
08fc4eb537ed24136b05660d0aa038b336516961vboxsync; available from http://www.virtualbox.org. This file is free software;
08fc4eb537ed24136b05660d0aa038b336516961vboxsync; you can redistribute it and/or modify it under the terms of the GNU
08fc4eb537ed24136b05660d0aa038b336516961vboxsync; General Public License (GPL) as published by the Free Software
08fc4eb537ed24136b05660d0aa038b336516961vboxsync; Foundation, in version 2 as it comes in the "COPYING" file of the
08fc4eb537ed24136b05660d0aa038b336516961vboxsync; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
08fc4eb537ed24136b05660d0aa038b336516961vboxsync; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync%ifndef ___env_bs2_r0_mac
08fc4eb537ed24136b05660d0aa038b336516961vboxsync%define ___env_bs2_r0_mac
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;; Call RTTestISub like function.
08fc4eb537ed24136b05660d0aa038b336516961vboxsync%define VBINSTST_CALL_FN_SUB_TEST call TMPL_NM_CMN(TestSub)
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;; Call RTTestIFailure like function with simple message.
08fc4eb537ed24136b05660d0aa038b336516961vboxsync%define VBINSTST_CALL_FN_FAILURE call TMPL_NM_CMN(TestFailedF)
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;; Call RTTestIFailure like function with format message + 1 arg.
08fc4eb537ed24136b05660d0aa038b336516961vboxsync%define VBINSTST_CALL_FN_FAILURE_1 call TMPL_NM_CMN(TestFailedF)
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;; Call RTTestIFailure like function with format message + 2 args.
08fc4eb537ed24136b05660d0aa038b336516961vboxsync%define VBINSTST_CALL_FN_FAILURE_2 call TMPL_NM_CMN(TestFailedF)
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;; Call RTTestIFailure like function with format message + 3 args.
08fc4eb537ed24136b05660d0aa038b336516961vboxsync%define VBINSTST_CALL_FN_FAILURE_3 call TMPL_NM_CMN(TestFailedF)
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;; Call RTTestIFailure like function with format message + 4 args.
08fc4eb537ed24136b05660d0aa038b336516961vboxsync%define VBINSTST_CALL_FN_FAILURE_4 call TMPL_NM_CMN(TestFailedF)
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
7528d4a15800321b4013826ce35ad184898dba21vboxsync;; The image base label (used by the trap macros).
7528d4a15800321b4013826ce35ad184898dba21vboxsync%define VBINSTST_IMAGE_BASE_LABLE start
7528d4a15800321b4013826ce35ad184898dba21vboxsync
7528d4a15800321b4013826ce35ad184898dba21vboxsync;; Wrapper for calling TestInstallTrapRecs (used by the trap macros).
7528d4a15800321b4013826ce35ad184898dba21vboxsync%define VBINSTST_CALL_TEST_INSTALL_TRAP_RECS call TMPL_NM_CMN(TestInstallTrapRecs)
7528d4a15800321b4013826ce35ad184898dba21vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;
08fc4eb537ed24136b05660d0aa038b336516961vboxsync; Include the common bits (contains code using above macros)
08fc4eb537ed24136b05660d0aa038b336516961vboxsync;
7528d4a15800321b4013826ce35ad184898dba21vboxsync%include "env-bs2-r0-common.mac"
08fc4eb537ed24136b05660d0aa038b336516961vboxsync
08fc4eb537ed24136b05660d0aa038b336516961vboxsync%endif
08fc4eb537ed24136b05660d0aa038b336516961vboxsync