1 | ; $Id: bs3kit-template-footer.mac 96407 2022-08-22 17:43:14Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; BS3Kit footer for multi-mode code templates.
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (C) 2007-2022 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 | ; The contents of this file may alternatively be used under the terms
|
---|
26 | ; of the Common Development and Distribution License Version 1.0
|
---|
27 | ; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
|
---|
28 | ; in the VirtualBox distribution, in which case the provisions of the
|
---|
29 | ; CDDL are applicable instead of those of the GPL.
|
---|
30 | ;
|
---|
31 | ; You may elect to license modified versions of this file under the
|
---|
32 | ; terms and conditions of either the GPL or the CDDL or both.
|
---|
33 | ;
|
---|
34 | ; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
|
---|
35 | ;
|
---|
36 |
|
---|
37 |
|
---|
38 | ;
|
---|
39 | ; Undefine macros defined by the header.
|
---|
40 | ;
|
---|
41 | ; Note! The following is useful for verifying that all macros are included here:
|
---|
42 | ;
|
---|
43 | ; for i in `grep "%define" bootsector2-template-header.mac \
|
---|
44 | ; | sed -e 's/^ *%define *//' -e 's/^\([^() ]*\).*$/\1/' \
|
---|
45 | ; | sort -u`
|
---|
46 | ; do
|
---|
47 | ; if ! grep -wF "%undef $i" bootsector2-template-footer.mac; then
|
---|
48 | ; echo $i
|
---|
49 | ; fi
|
---|
50 | ; done
|
---|
51 | ;
|
---|
52 | %undef TMPL_RM
|
---|
53 | %undef TMPL_PE16
|
---|
54 | %undef TMPL_PE16_32
|
---|
55 | %undef TMPL_PE16_V86
|
---|
56 | %undef TMPL_PE32
|
---|
57 | %undef TMPL_PE32_16
|
---|
58 | %undef TMPL_PEV86
|
---|
59 | %undef TMPL_PP16
|
---|
60 | %undef TMPL_PP16_32
|
---|
61 | %undef TMPL_PP16_V86
|
---|
62 | %undef TMPL_PP32
|
---|
63 | %undef TMPL_PP32_16
|
---|
64 | %undef TMPL_PPV86
|
---|
65 | %undef TMPL_PAE16
|
---|
66 | %undef TMPL_PAE16_32
|
---|
67 | %undef TMPL_PAE16_V86
|
---|
68 | %undef TMPL_PAE32
|
---|
69 | %undef TMPL_PAE32_16
|
---|
70 | %undef TMPL_PAEV86
|
---|
71 | %undef TMPL_LM16
|
---|
72 | %undef TMPL_LM32
|
---|
73 | %undef TMPL_LM64
|
---|
74 |
|
---|
75 | %undef TMPL_CMN_PE
|
---|
76 | %undef TMPL_SYS_PE16
|
---|
77 | %undef TMPL_SYS_PE32
|
---|
78 | %undef TMPL_CMN_PP
|
---|
79 | %undef TMPL_SYS_PP16
|
---|
80 | %undef TMPL_SYS_PP32
|
---|
81 | %undef TMPL_CMN_PAE
|
---|
82 | %undef TMPL_SYS_PAE16
|
---|
83 | %undef TMPL_SYS_PAE32
|
---|
84 | %undef TMPL_CMN_LM
|
---|
85 | %undef TMPL_CMN_V86
|
---|
86 | %undef TMPL_CMN_R86
|
---|
87 | %undef TMPL_CMN_PAGING
|
---|
88 | %undef TMPL_CMN_WEIRD
|
---|
89 | %undef TMPL_CMN_WEIRD_V86
|
---|
90 |
|
---|
91 | %undef TMPL_CMN_R86
|
---|
92 |
|
---|
93 | %undef TMPL_NM
|
---|
94 | %undef TMPL_NM_U
|
---|
95 | %undef TMPL_FAR_NM
|
---|
96 | %undef BS3_CMN_NM
|
---|
97 | %undef TMPL_UNDESCORE
|
---|
98 | %undef TMPL_MODE_UNAME
|
---|
99 | %undef TMPL_MODE_LNAME
|
---|
100 | %undef TMPL_MODE_STR
|
---|
101 | %undef TMPL_16BIT
|
---|
102 | %undef TMPL_32BIT
|
---|
103 | %undef TMPL_64BIT
|
---|
104 | %undef TMPL_BITS
|
---|
105 | %undef TMPL_PTR_DEF
|
---|
106 | %undef TMPL_HAVE_BIOS
|
---|
107 | %undef TMPL_BEGINCODE
|
---|
108 |
|
---|
109 | %undef xCB
|
---|
110 | %undef xDEF
|
---|
111 | %undef xRES
|
---|
112 | %undef xPRE
|
---|
113 | %undef xSP
|
---|
114 | %undef xBP
|
---|
115 | %undef xAX
|
---|
116 | %undef xBX
|
---|
117 | %undef xCX
|
---|
118 | %undef xDX
|
---|
119 | %undef xDI
|
---|
120 | %undef xSI
|
---|
121 | %undef xWrtRIP
|
---|
122 |
|
---|
123 | %undef sCB
|
---|
124 | %undef sDEF
|
---|
125 | %undef sRES
|
---|
126 | %undef sPRE
|
---|
127 | %undef sSP
|
---|
128 | %undef sBP
|
---|
129 | %undef sAX
|
---|
130 | %undef sBX
|
---|
131 | %undef sCX
|
---|
132 | %undef sDX
|
---|
133 | %undef sDI
|
---|
134 | %undef sSI
|
---|
135 |
|
---|
136 | %unmacro TONLY16 1+
|
---|
137 | %unmacro TONLY32 1+
|
---|
138 | %unmacro TONLY64 1+
|
---|
139 | %unmacro TNOT16 1+
|
---|
140 | %unmacro TNOT32 1+
|
---|
141 | %unmacro TNOT64 1+
|
---|
142 |
|
---|