[36190] | 1 | /** @file
|
---|
| 2 | * SUPDrv - Mangling of IPRT symbols for host drivers.
|
---|
| 3 | *
|
---|
| 4 | * This is included via a compiler directive on platforms with a global kernel
|
---|
| 5 | * symbol name space (i.e. not Windows, OS/2 and Mac OS X (?)).
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | /*
|
---|
[96407] | 9 | * Copyright (C) 2011-2022 Oracle and/or its affiliates.
|
---|
[36190] | 10 | *
|
---|
[96407] | 11 | * This file is part of VirtualBox base platform packages, as
|
---|
| 12 | * available from https://www.virtualbox.org.
|
---|
[36190] | 13 | *
|
---|
[96407] | 14 | * This program is free software; you can redistribute it and/or
|
---|
| 15 | * modify it under the terms of the GNU General Public License
|
---|
| 16 | * as published by the Free Software Foundation, in version 3 of the
|
---|
| 17 | * License.
|
---|
| 18 | *
|
---|
| 19 | * This program is distributed in the hope that it will be useful, but
|
---|
| 20 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 22 | * General Public License for more details.
|
---|
| 23 | *
|
---|
| 24 | * You should have received a copy of the GNU General Public License
|
---|
| 25 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
| 26 | *
|
---|
[36190] | 27 | * The contents of this file may alternatively be used under the terms
|
---|
| 28 | * of the Common Development and Distribution License Version 1.0
|
---|
[96407] | 29 | * (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
|
---|
| 30 | * in the VirtualBox distribution, in which case the provisions of the
|
---|
[36190] | 31 | * CDDL are applicable instead of those of the GPL.
|
---|
| 32 | *
|
---|
| 33 | * You may elect to license modified versions of this file under the
|
---|
| 34 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
[96407] | 35 | *
|
---|
| 36 | * SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
|
---|
[36190] | 37 | */
|
---|
| 38 |
|
---|
[76558] | 39 | #ifndef VBOX_INCLUDED_SUPDrvMangling_h
|
---|
| 40 | #define VBOX_INCLUDED_SUPDrvMangling_h
|
---|
[76507] | 41 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
| 42 | # pragma once
|
---|
| 43 | #endif
|
---|
[36190] | 44 |
|
---|
| 45 | #define RT_MANGLER(symbol) VBoxHost_##symbol
|
---|
| 46 | #include <iprt/mangling.h>
|
---|
| 47 |
|
---|
[76585] | 48 | #endif /* !VBOX_INCLUDED_SUPDrvMangling_h */
|
---|