VirtualBox

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

Last change on this file since 4163 was 4071, checked in by vboxsync, 17 years ago

Biggest check-in ever. New source code headers for all (C) innotek files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 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-2007 innotek 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
19#include "SUPDRV.h" /* for KBUILD_STR */
20#include <linux/module.h>
21#include <linux/vermagic.h>
22#include <linux/compiler.h>
23
24MODULE_INFO(vermagic, VERMAGIC_STRING);
25
26#undef unix
27struct module __this_module
28__attribute__((section(".gnu.linkonce.this_module"))) = {
29 .name = __stringify(KBUILD_MODNAME),
30 .init = init_module,
31#ifdef CONFIG_MODULE_UNLOAD
32 .exit = cleanup_module,
33#endif
34};
35
36static const struct modversion_info ____versions[]
37__attribute_used__
38__attribute__((section("__versions"))) = {
39 { 0, "cleanup_module" },
40 { 0, "init_module" },
41 { 0, "struct_module" },
42 { 0, "devfs_remove" },
43 { 0, "strpbrk" },
44 { 0, "__kmalloc" },
45 { 0, "mem_map" },
46 { 0, "vmalloc" },
47 { 0, "malloc_sizes" },
48 { 0, "vfree" },
49 { 0, "change_page_attr" },
50 { 0, "__might_sleep" },
51 { 0, "remap_page_range" },
52 { 0, "__alloc_pages" },
53 { 0, "printk" },
54 { 0, "__PAGE_KERNEL" },
55 { 0, "rwsem_wake" },
56 { 0, "copy_to_user" },
57 { 0, "devfs_mk_cdev" },
58 { 0, "preempt_schedule" },
59 { 0, "contig_page_data" },
60 { 0, "do_mmap_pgoff" },
61 { 0, "find_vma" },
62 { 0, "kmem_cache_alloc" },
63 { 0, "__free_pages" },
64 { 0, "do_munmap" },
65 { 0, "get_user_pages" },
66 { 0, "register_chrdev" },
67 { 0, "vsnprintf" },
68 { 0, "kfree" },
69 { 0, "memcpy" },
70 { 0, "unregister_chrdev" },
71 { 0, "put_page" },
72 { 0, "__up_wakeup" },
73 { 0, "__down_failed" },
74 { 0, "copy_from_user" },
75 { 0, "rwsem_down_read_failed" },
76};
77
78static const char __module_depends[]
79__attribute_used__
80__attribute__((section(".modinfo"))) =
81"depends=";
82
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