Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 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> |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 21 | EXPORT_SYMBOL(strnlen_user_asm); |
| 22 | EXPORT_SYMBOL(strncpy_from_user_asm); |
| 23 | EXPORT_SYMBOL(clear_user_asm); |
Chris Metcalf | 00dce0313 | 2011-02-28 15:51:25 -0500 | [diff] [blame] | 24 | EXPORT_SYMBOL(flush_user_asm); |
| 25 | EXPORT_SYMBOL(inv_user_asm); |
| 26 | EXPORT_SYMBOL(finv_user_asm); |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 27 | |
| 28 | /* arch/tile/kernel/entry.S */ |
| 29 | #include <linux/kernel.h> |
| 30 | #include <asm/processor.h> |
| 31 | EXPORT_SYMBOL(current_text_addr); |
| 32 | EXPORT_SYMBOL(dump_stack); |
| 33 | |
Chris Metcalf | 3989efb | 2011-12-01 11:37:20 -0500 | [diff] [blame] | 34 | /* arch/tile/kernel/head.S */ |
| 35 | EXPORT_SYMBOL(empty_zero_page); |
| 36 | |
Chris Metcalf | c745a8a | 2010-08-13 08:52:19 -0400 | [diff] [blame] | 37 | /* arch/tile/lib/, various memcpy files */ |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 38 | EXPORT_SYMBOL(memcpy); |
| 39 | EXPORT_SYMBOL(__copy_to_user_inatomic); |
| 40 | EXPORT_SYMBOL(__copy_from_user_inatomic); |
| 41 | EXPORT_SYMBOL(__copy_from_user_zeroing); |
Chris Metcalf | c745a8a | 2010-08-13 08:52:19 -0400 | [diff] [blame] | 42 | #ifdef __tilegx__ |
| 43 | EXPORT_SYMBOL(__copy_in_user_inatomic); |
| 44 | #endif |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 45 | |
| 46 | /* hypervisor glue */ |
| 47 | #include <hv/hypervisor.h> |
| 48 | EXPORT_SYMBOL(hv_dev_open); |
| 49 | EXPORT_SYMBOL(hv_dev_pread); |
| 50 | EXPORT_SYMBOL(hv_dev_pwrite); |
Chris Metcalf | c745a8a | 2010-08-13 08:52:19 -0400 | [diff] [blame] | 51 | EXPORT_SYMBOL(hv_dev_preada); |
| 52 | EXPORT_SYMBOL(hv_dev_pwritea); |
| 53 | EXPORT_SYMBOL(hv_dev_poll); |
| 54 | EXPORT_SYMBOL(hv_dev_poll_cancel); |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 55 | EXPORT_SYMBOL(hv_dev_close); |
Chris Metcalf | c745a8a | 2010-08-13 08:52:19 -0400 | [diff] [blame] | 56 | EXPORT_SYMBOL(hv_sysconf); |
| 57 | EXPORT_SYMBOL(hv_confstr); |
Chris Metcalf | 7c63e1e | 2013-02-01 15:06:06 -0500 | [diff] [blame] | 58 | EXPORT_SYMBOL(hv_get_rtc); |
| 59 | EXPORT_SYMBOL(hv_set_rtc); |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 60 | |
Chris Metcalf | c745a8a | 2010-08-13 08:52:19 -0400 | [diff] [blame] | 61 | /* libgcc.a */ |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 62 | uint32_t __udivsi3(uint32_t dividend, uint32_t divisor); |
| 63 | EXPORT_SYMBOL(__udivsi3); |
| 64 | int32_t __divsi3(int32_t dividend, int32_t divisor); |
| 65 | EXPORT_SYMBOL(__divsi3); |
| 66 | uint64_t __udivdi3(uint64_t dividend, uint64_t divisor); |
| 67 | EXPORT_SYMBOL(__udivdi3); |
| 68 | int64_t __divdi3(int64_t dividend, int64_t divisor); |
| 69 | EXPORT_SYMBOL(__divdi3); |
| 70 | uint32_t __umodsi3(uint32_t dividend, uint32_t divisor); |
| 71 | EXPORT_SYMBOL(__umodsi3); |
| 72 | int32_t __modsi3(int32_t dividend, int32_t divisor); |
| 73 | EXPORT_SYMBOL(__modsi3); |
| 74 | uint64_t __umoddi3(uint64_t dividend, uint64_t divisor); |
| 75 | EXPORT_SYMBOL(__umoddi3); |
| 76 | int64_t __moddi3(int64_t dividend, int64_t divisor); |
| 77 | EXPORT_SYMBOL(__moddi3); |
| 78 | #ifndef __tilegx__ |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 79 | int64_t __muldi3(int64_t, int64_t); |
| 80 | EXPORT_SYMBOL(__muldi3); |
| 81 | uint64_t __lshrdi3(uint64_t, unsigned int); |
| 82 | EXPORT_SYMBOL(__lshrdi3); |
Chris Metcalf | 00dce0313 | 2011-02-28 15:51:25 -0500 | [diff] [blame] | 83 | uint64_t __ashrdi3(uint64_t, unsigned int); |
| 84 | EXPORT_SYMBOL(__ashrdi3); |
| 85 | uint64_t __ashldi3(uint64_t, unsigned int); |
| 86 | EXPORT_SYMBOL(__ashldi3); |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 87 | #endif |