Linux Audio

Check our new training course

Linux kernel drivers training

Mar 31-Apr 9, 2025, special US time zones
Register
Loading...
Note: File does not exist in v6.13.7.
 1/*
 2 * Copyright 2010 Tilera Corporation. All Rights Reserved.
 3 *
 4 *   This program is free software; you can redistribute it and/or
 5 *   modify it under the terms of the GNU General Public License
 6 *   as published by the Free Software Foundation, version 2.
 7 *
 8 *   This program is distributed in the hope that it will be useful, but
 9 *   WITHOUT ANY WARRANTY; without even the implied warranty of
10 *   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
11 *   NON INFRINGEMENT.  See the GNU General Public License for
12 *   more details.
13 *
14 * Exports from assembler code and from libtile-cc.
15 */
16
17#include <linux/module.h>
18
19/* arch/tile/lib/usercopy.S */
20#include <linux/uaccess.h>
21EXPORT_SYMBOL(strnlen_user_asm);
22EXPORT_SYMBOL(strncpy_from_user_asm);
23EXPORT_SYMBOL(clear_user_asm);
24EXPORT_SYMBOL(flush_user_asm);
25EXPORT_SYMBOL(inv_user_asm);
26EXPORT_SYMBOL(finv_user_asm);
27
28/* arch/tile/kernel/entry.S */
29#include <linux/kernel.h>
30#include <asm/processor.h>
31EXPORT_SYMBOL(current_text_addr);
32EXPORT_SYMBOL(dump_stack);
33
34/* arch/tile/kernel/head.S */
35EXPORT_SYMBOL(empty_zero_page);
36
37/* arch/tile/lib/, various memcpy files */
38EXPORT_SYMBOL(memcpy);
39EXPORT_SYMBOL(__copy_to_user_inatomic);
40EXPORT_SYMBOL(__copy_from_user_inatomic);
41EXPORT_SYMBOL(__copy_from_user_zeroing);
42#ifdef __tilegx__
43EXPORT_SYMBOL(__copy_in_user_inatomic);
44#endif
45
46/* hypervisor glue */
47#include <hv/hypervisor.h>
48EXPORT_SYMBOL(hv_dev_open);
49EXPORT_SYMBOL(hv_dev_pread);
50EXPORT_SYMBOL(hv_dev_pwrite);
51EXPORT_SYMBOL(hv_dev_preada);
52EXPORT_SYMBOL(hv_dev_pwritea);
53EXPORT_SYMBOL(hv_dev_poll);
54EXPORT_SYMBOL(hv_dev_poll_cancel);
55EXPORT_SYMBOL(hv_dev_close);
56EXPORT_SYMBOL(hv_sysconf);
57EXPORT_SYMBOL(hv_confstr);
58
59/* libgcc.a */
60uint32_t __udivsi3(uint32_t dividend, uint32_t divisor);
61EXPORT_SYMBOL(__udivsi3);
62int32_t __divsi3(int32_t dividend, int32_t divisor);
63EXPORT_SYMBOL(__divsi3);
64uint64_t __udivdi3(uint64_t dividend, uint64_t divisor);
65EXPORT_SYMBOL(__udivdi3);
66int64_t __divdi3(int64_t dividend, int64_t divisor);
67EXPORT_SYMBOL(__divdi3);
68uint32_t __umodsi3(uint32_t dividend, uint32_t divisor);
69EXPORT_SYMBOL(__umodsi3);
70int32_t __modsi3(int32_t dividend, int32_t divisor);
71EXPORT_SYMBOL(__modsi3);
72uint64_t __umoddi3(uint64_t dividend, uint64_t divisor);
73EXPORT_SYMBOL(__umoddi3);
74int64_t __moddi3(int64_t dividend, int64_t divisor);
75EXPORT_SYMBOL(__moddi3);
76#ifndef __tilegx__
77int64_t __muldi3(int64_t, int64_t);
78EXPORT_SYMBOL(__muldi3);
79uint64_t __lshrdi3(uint64_t, unsigned int);
80EXPORT_SYMBOL(__lshrdi3);
81uint64_t __ashrdi3(uint64_t, unsigned int);
82EXPORT_SYMBOL(__ashrdi3);
83uint64_t __ashldi3(uint64_t, unsigned int);
84EXPORT_SYMBOL(__ashldi3);
85#endif