1 | ; $Id: env-bs2-r0.mac 98103 2023-01-17 14:15:46Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; Instruction Test Environment - Boot Sector Type 2, Ring-0.
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
8 | ;
|
---|
9 | ; This file is part of VirtualBox base platform packages, as
|
---|
10 | ; available from https://www.virtualbox.org.
|
---|
11 | ;
|
---|
12 | ; This program is free software; you can redistribute it and/or
|
---|
13 | ; modify it under the terms of the GNU General Public License
|
---|
14 | ; as published by the Free Software Foundation, in version 3 of the
|
---|
15 | ; License.
|
---|
16 | ;
|
---|
17 | ; This program is distributed in the hope that it will be useful, but
|
---|
18 | ; WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | ; General Public License for more details.
|
---|
21 | ;
|
---|
22 | ; You should have received a copy of the GNU General Public License
|
---|
23 | ; along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | ;
|
---|
25 | ; SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | ;
|
---|
27 |
|
---|
28 | %ifndef ___env_bs2_r0_mac
|
---|
29 | %define ___env_bs2_r0_mac
|
---|
30 |
|
---|
31 |
|
---|
32 | ;; Call RTTestISub like function.
|
---|
33 | %define VBINSTST_CALL_FN_SUB_TEST call TMPL_NM_CMN(TestSub)
|
---|
34 |
|
---|
35 | ;; Call RTTestIFailure like function with simple message.
|
---|
36 | %define VBINSTST_CALL_FN_FAILURE call TMPL_NM_CMN(TestFailedF)
|
---|
37 |
|
---|
38 | ;; Call RTTestIFailure like function with format message + 1 arg.
|
---|
39 | %define VBINSTST_CALL_FN_FAILURE_1 call TMPL_NM_CMN(TestFailedF)
|
---|
40 |
|
---|
41 | ;; Call RTTestIFailure like function with format message + 2 args.
|
---|
42 | %define VBINSTST_CALL_FN_FAILURE_2 call TMPL_NM_CMN(TestFailedF)
|
---|
43 |
|
---|
44 | ;; Call RTTestIFailure like function with format message + 3 args.
|
---|
45 | %define VBINSTST_CALL_FN_FAILURE_3 call TMPL_NM_CMN(TestFailedF)
|
---|
46 |
|
---|
47 | ;; Call RTTestIFailure like function with format message + 4 args.
|
---|
48 | %define VBINSTST_CALL_FN_FAILURE_4 call TMPL_NM_CMN(TestFailedF)
|
---|
49 |
|
---|
50 | ;; The image base label (used by the trap macros).
|
---|
51 | %define VBINSTST_IMAGE_BASE_LABLE start
|
---|
52 |
|
---|
53 | ;; Wrapper for calling TestInstallTrapRecs (used by the trap macros).
|
---|
54 | %define VBINSTST_CALL_TEST_INSTALL_TRAP_RECS call TMPL_NM_CMN(TestInstallTrapRecs)
|
---|
55 |
|
---|
56 |
|
---|
57 | ;
|
---|
58 | ; Include the common bits (contains code using above macros)
|
---|
59 | ;
|
---|
60 | %include "env-bs2-r0-common.mac"
|
---|
61 |
|
---|
62 | %endif
|
---|
63 |
|
---|