diff options
Diffstat (limited to 'src/VBox/Debugger/DBGPlugInLinuxModuleVerTmpl.cpp.h')
-rw-r--r-- | src/VBox/Debugger/DBGPlugInLinuxModuleVerTmpl.cpp.h | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/src/VBox/Debugger/DBGPlugInLinuxModuleVerTmpl.cpp.h b/src/VBox/Debugger/DBGPlugInLinuxModuleVerTmpl.cpp.h new file mode 100644 index 00000000..cc4593fb --- /dev/null +++ b/src/VBox/Debugger/DBGPlugInLinuxModuleVerTmpl.cpp.h @@ -0,0 +1,95 @@ +/* $Id: DBGPlugInLinuxModuleVerTmpl.cpp.h $ */ +/** @file + * DBGPlugInLinux - Instantiate LNX_TEMPLATE_HEADER for all different struct module versions. + */ + +/* + * Copyright (C) 2019-2022 Oracle and/or its affiliates. + * + * This file is part of VirtualBox base platform packages, as + * available from https://www.virtualbox.org. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, in version 3 of the + * License. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see <https://www.gnu.org/licenses>. + * + * SPDX-License-Identifier: GPL-3.0-only + */ + +/* + * Newest first so the list walker can select the right instance. + */ + +#define LNX_VER LNX_MK_VER(4,5,0) +#define LNX_SUFFIX RT_CONCAT(_4_5_0,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,6,27) +#define LNX_SUFFIX RT_CONCAT(_2_6_27,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,6,25) +#define LNX_SUFFIX RT_CONCAT(_2_6_25,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,6,24) +#define LNX_SUFFIX RT_CONCAT(_2_6_24,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,6,21) +#define LNX_SUFFIX RT_CONCAT(_2_6_21,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,6,20) +#define LNX_SUFFIX RT_CONCAT(_2_6_20,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,6,18) +#define LNX_SUFFIX RT_CONCAT(_2_6_18,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,6,17) +#define LNX_SUFFIX RT_CONCAT(_2_6_17,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,6,13) +#define LNX_SUFFIX RT_CONCAT(_2_6_13,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,6,11) +#define LNX_SUFFIX RT_CONCAT(_2_6_11,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,6,7) +#define LNX_SUFFIX RT_CONCAT(_2_6_7,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,5,67) /* Makes away with kernel_symbol_group and exception_table. */ +#define LNX_SUFFIX RT_CONCAT(_2_5_67,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,5,55) /* Adds gpl_symbols */ +#define LNX_SUFFIX RT_CONCAT(_2_5_55,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + +#define LNX_VER LNX_MK_VER(2,5,48) +#define LNX_SUFFIX RT_CONCAT(_2_5_48,LNX_BIT_SUFFIX) +#include LNX_TEMPLATE_HEADER + + +/* + * Cleanup. + */ +#undef LNX_PTR_T +#undef LNX_64BIT +#undef LNX_BIT_SUFFIX + |