1 | /* $Id: SUPDrv-linux.mod.c 98103 2023-01-17 14:15:46Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * VBoxDrv - The VirtualBox Support Driver - Autogenerated Linux code.
|
---|
4 | *
|
---|
5 | * This is checked in to assist syntax checking the module.
|
---|
6 | */
|
---|
7 |
|
---|
8 | /*
|
---|
9 | * Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
10 | *
|
---|
11 | * This file is part of VirtualBox base platform packages, as
|
---|
12 | * available from https://www.virtualbox.org.
|
---|
13 | *
|
---|
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 | *
|
---|
27 | * The contents of this file may alternatively be used under the terms
|
---|
28 | * of the Common Development and Distribution License Version 1.0
|
---|
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
|
---|
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.
|
---|
35 | *
|
---|
36 | * SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
|
---|
37 | */
|
---|
38 |
|
---|
39 | #include "SUPDrvInternal.h" /* for KBUILD_STR */
|
---|
40 | #include "the-linux-kernel.h"
|
---|
41 | #include <linux/vermagic.h>
|
---|
42 |
|
---|
43 | MODULE_INFO(vermagic, VERMAGIC_STRING);
|
---|
44 |
|
---|
45 | #undef unix
|
---|
46 | struct module __this_module
|
---|
47 | __attribute__((section(".gnu.linkonce.this_module"))) = {
|
---|
48 | .name = __stringify(KBUILD_MODNAME),
|
---|
49 | .init = init_module,
|
---|
50 | #ifdef CONFIG_MODULE_UNLOAD
|
---|
51 | .exit = cleanup_module,
|
---|
52 | #endif
|
---|
53 | };
|
---|
54 |
|
---|
55 | static const struct modversion_info ____versions[]
|
---|
56 | __attribute_used__
|
---|
57 | __attribute__((section("__versions"))) = {
|
---|
58 | { 0, "cleanup_module" },
|
---|
59 | { 0, "init_module" },
|
---|
60 | { 0, "struct_module" },
|
---|
61 | { 0, "strpbrk" },
|
---|
62 | { 0, "__kmalloc" },
|
---|
63 | { 0, "mem_map" },
|
---|
64 | { 0, "vmalloc" },
|
---|
65 | { 0, "malloc_sizes" },
|
---|
66 | { 0, "vfree" },
|
---|
67 | { 0, "change_page_attr" },
|
---|
68 | { 0, "__might_sleep" },
|
---|
69 | { 0, "remap_page_range" },
|
---|
70 | { 0, "__alloc_pages" },
|
---|
71 | { 0, "printk" },
|
---|
72 | { 0, "__PAGE_KERNEL" },
|
---|
73 | { 0, "rwsem_wake" },
|
---|
74 | { 0, "copy_to_user" },
|
---|
75 | { 0, "preempt_schedule" },
|
---|
76 | { 0, "contig_page_data" },
|
---|
77 | { 0, "do_mmap_pgoff" },
|
---|
78 | { 0, "find_vma" },
|
---|
79 | { 0, "kmem_cache_alloc" },
|
---|
80 | { 0, "__free_pages" },
|
---|
81 | { 0, "do_munmap" },
|
---|
82 | { 0, "get_user_pages" },
|
---|
83 | { 0, "vsnprintf" },
|
---|
84 | { 0, "kfree" },
|
---|
85 | { 0, "memcpy" },
|
---|
86 | { 0, "put_page" },
|
---|
87 | { 0, "__up_wakeup" },
|
---|
88 | { 0, "__down_failed" },
|
---|
89 | { 0, "copy_from_user" },
|
---|
90 | { 0, "rwsem_down_read_failed" },
|
---|
91 | };
|
---|
92 |
|
---|
93 | static const char __module_depends[]
|
---|
94 | __attribute_used__
|
---|
95 | __attribute__((section(".modinfo"))) =
|
---|
96 | "depends=";
|
---|
97 |
|
---|