OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2009 NVIDIA Corporation. |
| 3 * All rights reserved. |
| 4 * |
| 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are met: |
| 7 * |
| 8 * Redistributions of source code must retain the above copyright notice, |
| 9 * this list of conditions and the following disclaimer. |
| 10 * |
| 11 * Redistributions in binary form must reproduce the above copyright notice, |
| 12 * this list of conditions and the following disclaimer in the documentation |
| 13 * and/or other materials provided with the distribution. |
| 14 * |
| 15 * Neither the name of the NVIDIA Corporation nor the names of its contributors |
| 16 * may be used to endorse or promote products derived from this software |
| 17 * without specific prior written permission. |
| 18 * |
| 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
| 23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 29 * POSSIBILITY OF SUCH DAMAGE. |
| 30 * |
| 31 */ |
| 32 |
| 33 #include "nvos.h" |
| 34 #include "nvutil.h" |
| 35 #include "nvassert.h" |
| 36 #if NVOS_IS_LINUX_KERNEL |
| 37 #include <linux/module.h> |
| 38 EXPORT_SYMBOL(NvOsBreakPoint); |
| 39 EXPORT_SYMBOL(NvOsFprintf); |
| 40 EXPORT_SYMBOL(NvOsSnprintf); |
| 41 EXPORT_SYMBOL(NvOsVfprintf); |
| 42 EXPORT_SYMBOL(NvOsVsnprintf); |
| 43 EXPORT_SYMBOL(NvOsDebugPrintf); |
| 44 EXPORT_SYMBOL(NvOsDebugVprintf); |
| 45 EXPORT_SYMBOL(NvOsDebugNprintf); |
| 46 EXPORT_SYMBOL(NvOsStrncpy); |
| 47 EXPORT_SYMBOL(NvOsStrlen); |
| 48 EXPORT_SYMBOL(NvOsStrcmp); |
| 49 EXPORT_SYMBOL(NvOsStrncmp); |
| 50 EXPORT_SYMBOL(NvOsStrGetSystemCodePage); |
| 51 EXPORT_SYMBOL(NvOsMemcpy); |
| 52 EXPORT_SYMBOL(NvOsMemcmp); |
| 53 EXPORT_SYMBOL(NvOsMemset); |
| 54 EXPORT_SYMBOL(NvOsMemmove); |
| 55 EXPORT_SYMBOL(NvOsCopyIn); |
| 56 EXPORT_SYMBOL(NvOsCopyOut); |
| 57 EXPORT_SYMBOL(NvOsFopen); |
| 58 EXPORT_SYMBOL(NvOsFclose); |
| 59 EXPORT_SYMBOL(NvOsFwrite); |
| 60 EXPORT_SYMBOL(NvOsFread); |
| 61 EXPORT_SYMBOL(NvOsFreadTimeout); |
| 62 EXPORT_SYMBOL(NvOsFgetc); |
| 63 EXPORT_SYMBOL(NvOsFseek); |
| 64 EXPORT_SYMBOL(NvOsFtell); |
| 65 EXPORT_SYMBOL(NvOsStat); |
| 66 EXPORT_SYMBOL(NvOsFstat); |
| 67 EXPORT_SYMBOL(NvOsFflush); |
| 68 EXPORT_SYMBOL(NvOsFsync); |
| 69 EXPORT_SYMBOL(NvOsIoctl); |
| 70 EXPORT_SYMBOL(NvOsOpendir); |
| 71 EXPORT_SYMBOL(NvOsReaddir); |
| 72 EXPORT_SYMBOL(NvOsClosedir); |
| 73 EXPORT_SYMBOL(NvOsSetFileHooks); |
| 74 EXPORT_SYMBOL(NvOsGetConfigU32); |
| 75 EXPORT_SYMBOL(NvOsGetConfigString); |
| 76 EXPORT_SYMBOL(NvOsAlloc); |
| 77 EXPORT_SYMBOL(NvOsRealloc); |
| 78 EXPORT_SYMBOL(NvOsFree); |
| 79 #if NV_DEBUG |
| 80 EXPORT_SYMBOL(NvOsAllocLeak); |
| 81 EXPORT_SYMBOL(NvOsReallocLeak); |
| 82 EXPORT_SYMBOL(NvOsFreeLeak); |
| 83 #endif |
| 84 EXPORT_SYMBOL(NvOsExecAlloc); |
| 85 EXPORT_SYMBOL(NvOsSharedMemAlloc); |
| 86 EXPORT_SYMBOL(NvOsSharedMemMap); |
| 87 EXPORT_SYMBOL(NvOsSharedMemUnmap); |
| 88 EXPORT_SYMBOL(NvOsSharedMemFree); |
| 89 EXPORT_SYMBOL(NvOsPhysicalMemMap); |
| 90 EXPORT_SYMBOL(NvOsPhysicalMemMapIntoCaller); |
| 91 EXPORT_SYMBOL(NvOsPhysicalMemUnmap); |
| 92 EXPORT_SYMBOL(NvOsPageAlloc); |
| 93 EXPORT_SYMBOL(NvOsPageFree); |
| 94 EXPORT_SYMBOL(NvOsPageLock); |
| 95 EXPORT_SYMBOL(NvOsPageMap); |
| 96 EXPORT_SYMBOL(NvOsPageMapIntoPtr); |
| 97 EXPORT_SYMBOL(NvOsPageUnmap); |
| 98 EXPORT_SYMBOL(NvOsPageAddress); |
| 99 EXPORT_SYMBOL(NvOsLibraryLoad); |
| 100 EXPORT_SYMBOL(NvOsLibraryGetSymbol); |
| 101 EXPORT_SYMBOL(NvOsLibraryUnload); |
| 102 EXPORT_SYMBOL(NvOsSleepMS); |
| 103 EXPORT_SYMBOL(NvOsWaitUS); |
| 104 EXPORT_SYMBOL(NvOsMutexCreate); |
| 105 EXPORT_SYMBOL(NvOsTraceLogPrintf); |
| 106 EXPORT_SYMBOL(NvOsTraceLogStart); |
| 107 EXPORT_SYMBOL(NvOsTraceLogEnd); |
| 108 EXPORT_SYMBOL(NvOsMutexLock); |
| 109 EXPORT_SYMBOL(NvOsMutexUnlock); |
| 110 EXPORT_SYMBOL(NvOsMutexDestroy); |
| 111 EXPORT_SYMBOL(NvOsIntrMutexCreate); |
| 112 EXPORT_SYMBOL(NvOsIntrMutexLock); |
| 113 EXPORT_SYMBOL(NvOsIntrMutexUnlock); |
| 114 EXPORT_SYMBOL(NvOsIntrMutexDestroy); |
| 115 EXPORT_SYMBOL(NvOsSpinMutexCreate); |
| 116 EXPORT_SYMBOL(NvOsSpinMutexLock); |
| 117 EXPORT_SYMBOL(NvOsSpinMutexUnlock); |
| 118 EXPORT_SYMBOL(NvOsSpinMutexDestroy); |
| 119 EXPORT_SYMBOL(NvOsSemaphoreCreate); |
| 120 EXPORT_SYMBOL(NvOsSemaphoreClone); |
| 121 EXPORT_SYMBOL(NvOsSemaphoreUnmarshal); |
| 122 EXPORT_SYMBOL(NvOsSemaphoreWait); |
| 123 EXPORT_SYMBOL(NvOsSemaphoreWaitTimeout); |
| 124 EXPORT_SYMBOL(NvOsSemaphoreSignal); |
| 125 EXPORT_SYMBOL(NvOsSemaphoreDestroy); |
| 126 EXPORT_SYMBOL(NvOsThreadCreate); |
| 127 EXPORT_SYMBOL(NvOsInterruptPriorityThreadCreate); |
| 128 EXPORT_SYMBOL(NvOsThreadSetLowPriority); |
| 129 EXPORT_SYMBOL(NvOsThreadJoin); |
| 130 EXPORT_SYMBOL(NvOsThreadYield); |
| 131 EXPORT_SYMBOL(NvOsGetTimeMS); |
| 132 EXPORT_SYMBOL(NvOsGetTimeUS); |
| 133 EXPORT_SYMBOL(NvOsInstrCacheInvalidate); |
| 134 EXPORT_SYMBOL(NvOsInstrCacheInvalidateRange); |
| 135 EXPORT_SYMBOL(NvOsFlushWriteCombineBuffer); |
| 136 EXPORT_SYMBOL(NvOsInterruptRegister); |
| 137 EXPORT_SYMBOL(NvOsInterruptUnregister); |
| 138 EXPORT_SYMBOL(NvOsInterruptEnable); |
| 139 EXPORT_SYMBOL(NvOsInterruptDone); |
| 140 EXPORT_SYMBOL(NvOsInterruptMask); |
| 141 EXPORT_SYMBOL(NvOsProfileApertureSizes); |
| 142 EXPORT_SYMBOL(NvOsProfileStart); |
| 143 EXPORT_SYMBOL(NvOsProfileStop); |
| 144 EXPORT_SYMBOL(NvOsProfileWrite); |
| 145 EXPORT_SYMBOL(NvOsBootArgSet); |
| 146 EXPORT_SYMBOL(NvOsBootArgGet); |
| 147 EXPORT_SYMBOL(NvOsGetOsInformation); |
| 148 EXPORT_SYMBOL(NvOsThreadMode); |
| 149 EXPORT_SYMBOL(NvOsAtomicCompareExchange32); |
| 150 EXPORT_SYMBOL(NvOsAtomicExchange32); |
| 151 EXPORT_SYMBOL(NvOsAtomicExchangeAdd32); |
| 152 #if (NVOS_TRACE || NV_DEBUG) |
| 153 EXPORT_SYMBOL(NvOsSetResourceAllocFileLine); |
| 154 #endif |
| 155 EXPORT_SYMBOL(NvOsTlsAlloc); |
| 156 EXPORT_SYMBOL(NvOsTlsFree); |
| 157 EXPORT_SYMBOL(NvOsTlsGet); |
| 158 EXPORT_SYMBOL(NvOsTlsSet); |
| 159 EXPORT_SYMBOL(NvULowestBitSet); |
| 160 EXPORT_SYMBOL(NvOsGetProcessInfo); |
| 161 #endif /* NVOS_IS_LINUX_KERNEL */ |
OLD | NEW |