VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.mod.c@ 1890

Last change on this file since 1890 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1/** @file
2 *
3 * VBox host drivers - Ring-0 support drivers - Linux host:
4 * Linux host kernel module interfaces
5 */
6
7/*
8 * Copyright (C) 2006 InnoTek Systemberatung GmbH
9 *
10 * This file is part of VirtualBox Open Source Edition (OSE), as
11 * available from http://www.virtualbox.org. This file is free software;
12 * you can redistribute it and/or modify it under the terms of the GNU
13 * General Public License as published by the Free Software Foundation,
14 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
15 * distribution. VirtualBox OSE is distributed in the hope that it will
16 * be useful, but WITHOUT ANY WARRANTY of any kind.
17 *
18 * If you received this file as part of a commercial VirtualBox
19 * distribution, then only the terms of your commercial VirtualBox
20 * license agreement apply instead of the previous paragraph.
21 */
22
23#include "SUPDRV.h" /* for KBUILD_STR */
24#include <linux/module.h>
25#include <linux/vermagic.h>
26#include <linux/compiler.h>
27
28MODULE_INFO(vermagic, VERMAGIC_STRING);
29
30#undef unix
31struct module __this_module
32__attribute__((section(".gnu.linkonce.this_module"))) = {
33 .name = __stringify(KBUILD_MODNAME),
34 .init = init_module,
35#ifdef CONFIG_MODULE_UNLOAD
36 .exit = cleanup_module,
37#endif
38};
39
40static const struct modversion_info ____versions[]
41__attribute_used__
42__attribute__((section("__versions"))) = {
43 { 0, "cleanup_module" },
44 { 0, "init_module" },
45 { 0, "struct_module" },
46 { 0, "devfs_remove" },
47 { 0, "strpbrk" },
48 { 0, "__kmalloc" },
49 { 0, "mem_map" },
50 { 0, "vmalloc" },
51 { 0, "malloc_sizes" },
52 { 0, "vfree" },
53 { 0, "change_page_attr" },
54 { 0, "__might_sleep" },
55 { 0, "remap_page_range" },
56 { 0, "__alloc_pages" },
57 { 0, "printk" },
58 { 0, "__PAGE_KERNEL" },
59 { 0, "rwsem_wake" },
60 { 0, "copy_to_user" },
61 { 0, "devfs_mk_cdev" },
62 { 0, "preempt_schedule" },
63 { 0, "contig_page_data" },
64 { 0, "do_mmap_pgoff" },
65 { 0, "find_vma" },
66 { 0, "kmem_cache_alloc" },
67 { 0, "__free_pages" },
68 { 0, "do_munmap" },
69 { 0, "get_user_pages" },
70 { 0, "register_chrdev" },
71 { 0, "vsnprintf" },
72 { 0, "kfree" },
73 { 0, "memcpy" },
74 { 0, "unregister_chrdev" },
75 { 0, "put_page" },
76 { 0, "__up_wakeup" },
77 { 0, "__down_failed" },
78 { 0, "copy_from_user" },
79 { 0, "rwsem_down_read_failed" },
80};
81
82static const char __module_depends[]
83__attribute_used__
84__attribute__((section(".modinfo"))) =
85"depends=";
86
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