VirtualBox

source: vbox/trunk/src/VBox/Debugger/DBGPlugInLinuxModuleVerTmpl.cpp.h@ 92973

Last change on this file since 92973 was 90408, checked in by vboxsync, 3 years ago

Debugger/DBGPlugInLinux: Fix loaded kernel module processing for kernels starting with 4.5.0, the struct module layout has changed significantly.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1/* $Id: DBGPlugInLinuxModuleVerTmpl.cpp.h 90408 2021-07-29 13:21:10Z vboxsync $ */
2/** @file
3 * DBGPlugInLinux - Instantiate LNX_TEMPLATE_HEADER for all different struct module versions.
4 */
5
6/*
7 * Copyright (C) 2019-2020 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18/*
19 * Newest first so the list walker can select the right instance.
20 */
21
22#define LNX_VER LNX_MK_VER(4,5,0)
23#define LNX_SUFFIX RT_CONCAT(_4_5_0,LNX_BIT_SUFFIX)
24#include LNX_TEMPLATE_HEADER
25
26#define LNX_VER LNX_MK_VER(2,6,27)
27#define LNX_SUFFIX RT_CONCAT(_2_6_27,LNX_BIT_SUFFIX)
28#include LNX_TEMPLATE_HEADER
29
30#define LNX_VER LNX_MK_VER(2,6,25)
31#define LNX_SUFFIX RT_CONCAT(_2_6_25,LNX_BIT_SUFFIX)
32#include LNX_TEMPLATE_HEADER
33
34#define LNX_VER LNX_MK_VER(2,6,24)
35#define LNX_SUFFIX RT_CONCAT(_2_6_24,LNX_BIT_SUFFIX)
36#include LNX_TEMPLATE_HEADER
37
38#define LNX_VER LNX_MK_VER(2,6,21)
39#define LNX_SUFFIX RT_CONCAT(_2_6_21,LNX_BIT_SUFFIX)
40#include LNX_TEMPLATE_HEADER
41
42#define LNX_VER LNX_MK_VER(2,6,20)
43#define LNX_SUFFIX RT_CONCAT(_2_6_20,LNX_BIT_SUFFIX)
44#include LNX_TEMPLATE_HEADER
45
46#define LNX_VER LNX_MK_VER(2,6,18)
47#define LNX_SUFFIX RT_CONCAT(_2_6_18,LNX_BIT_SUFFIX)
48#include LNX_TEMPLATE_HEADER
49
50#define LNX_VER LNX_MK_VER(2,6,17)
51#define LNX_SUFFIX RT_CONCAT(_2_6_17,LNX_BIT_SUFFIX)
52#include LNX_TEMPLATE_HEADER
53
54#define LNX_VER LNX_MK_VER(2,6,13)
55#define LNX_SUFFIX RT_CONCAT(_2_6_13,LNX_BIT_SUFFIX)
56#include LNX_TEMPLATE_HEADER
57
58#define LNX_VER LNX_MK_VER(2,6,11)
59#define LNX_SUFFIX RT_CONCAT(_2_6_11,LNX_BIT_SUFFIX)
60#include LNX_TEMPLATE_HEADER
61
62#define LNX_VER LNX_MK_VER(2,6,7)
63#define LNX_SUFFIX RT_CONCAT(_2_6_7,LNX_BIT_SUFFIX)
64#include LNX_TEMPLATE_HEADER
65
66#define LNX_VER LNX_MK_VER(2,5,67) /* Makes away with kernel_symbol_group and exception_table. */
67#define LNX_SUFFIX RT_CONCAT(_2_5_67,LNX_BIT_SUFFIX)
68#include LNX_TEMPLATE_HEADER
69
70#define LNX_VER LNX_MK_VER(2,5,55) /* Adds gpl_symbols */
71#define LNX_SUFFIX RT_CONCAT(_2_5_55,LNX_BIT_SUFFIX)
72#include LNX_TEMPLATE_HEADER
73
74#define LNX_VER LNX_MK_VER(2,5,48)
75#define LNX_SUFFIX RT_CONCAT(_2_5_48,LNX_BIT_SUFFIX)
76#include LNX_TEMPLATE_HEADER
77
78
79/*
80 * Cleanup.
81 */
82#undef LNX_PTR_T
83#undef LNX_64BIT
84#undef LNX_BIT_SUFFIX
85
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