VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/bootsectors/bs3kit/asmdefs-first.mac@ 106215

Last change on this file since 106215 was 106061, checked in by vboxsync, 3 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1; $Id: asmdefs-first.mac 106061 2024-09-16 14:03:52Z vboxsync $
2;; @file
3; BS3Kit - Included by asmdefs.mac when assembling IPRT code.
4;
5; This will only be included if asmdefs.mac is included before bs3kit.mac, so
6; it will not be used for bs3*.asm files, only IPRT ones.
7;
8
9;
10; Copyright (C) 2006-2024 Oracle and/or its affiliates.
11;
12; This file is part of VirtualBox base platform packages, as
13; available from https://www.virtualbox.org.
14;
15; This program is free software; you can redistribute it and/or
16; modify it under the terms of the GNU General Public License
17; as published by the Free Software Foundation, in version 3 of the
18; License.
19;
20; This program is distributed in the hope that it will be useful, but
21; WITHOUT ANY WARRANTY; without even the implied warranty of
22; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23; General Public License for more details.
24;
25; You should have received a copy of the GNU General Public License
26; along with this program; if not, see <https://www.gnu.org/licenses>.
27;
28; The contents of this file may alternatively be used under the terms
29; of the Common Development and Distribution License Version 1.0
30; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
31; in the VirtualBox distribution, in which case the provisions of the
32; CDDL are applicable instead of those of the GPL.
33;
34; You may elect to license modified versions of this file under the
35; terms and conditions of either the GPL or the CDDL or both.
36;
37; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
38;
39
40
41%ifndef ___asmdefs_first_mac
42%define ___asmdefs_first_mac
43
44%include "bs3kit-template-header.mac"
45
46;
47; Redefine some macros to suite us.
48;
49; We do near 16-bit code and produce far stubs separately as needed.
50;
51%define BEGINCODE TMPL_BEGIN_TEXT
52%define BEGINPROC_EXPORTED BS3_BEGINPROC_EXPORTED_WRAPPER
53%define ENDPROC BS3_PROC_END_CMN
54%undef NAME
55%define NAME(a) BS3_CMN_NM(a)
56
57%macro BS3_BEGINPROC_EXPORTED_WRAPPER 1-2 0 ; %2 is ignored as we don't do endbr32/64
58BS3_PROC_BEGIN_CMN %1, BS3_PBC_NEAR
59%endmacro
60
61%endif
62
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette