2 Copyright (c) 2014 Intel Corporation. All Rights Reserved.
4 Redistribution and use in source and binary forms, with or without
5 modification, are permitted provided that the following conditions
8 * Redistributions of source code must retain the above copyright
9 notice, this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above copyright
11 notice, this list of conditions and the following disclaimer in the
12 documentation and/or other materials provided with the distribution.
13 * Neither the name of Intel Corporation nor the names of its
14 contributors may be used to endorse or promote products derived
15 from this software without specific prior written permission.
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 #include "myo_service.h"
32 #include "myo_version_asm.h"
39 SYMBOL_VERSION (myoAcquire
, 1) ()
41 MYOTRACE ("myoAcquire");
50 SYMBOL_VERSION (myoRelease
, 1) ()
52 MYOTRACE ("myoRelease");
61 SYMBOL_VERSION (myoSharedAlignedFree
, 1) (void *ptr
)
63 MYOTRACE ("myoSharedAlignedFree");
70 SYMBOL_VERSION (myoSharedAlignedMalloc
, 1) (size_t size
,
73 MYOTRACE ("myoSharedAlignedMalloc");
82 SYMBOL_VERSION (myoSharedFree
, 1) (void *ptr
)
84 MYOTRACE ("myoSharedFree");
91 SYMBOL_VERSION (myoSharedMalloc
, 1) (size_t size
)
93 MYOTRACE ("myoSharedMalloc");
101 MYOACCESSAPI MyoError
102 SYMBOL_VERSION (myoiLibInit
, 1) (void *args
,
105 MYOTRACE ("myoiLibInit");
114 SYMBOL_VERSION (myoiLibFini
, 1) ()
116 MYOTRACE ("myoiLibFini");
123 SYMBOL_VERSION (myoiMicVarTableRegister
, 1) (void *table
,
126 MYOTRACE ("myoiMicVarTableRegister");
134 MYOACCESSAPI MyoError
135 SYMBOL_VERSION (myoiRemoteFuncRegister
, 1) (MyoiRemoteFuncType type
,
138 MYOTRACE ("myoiRemoteFuncRegister");
140 /* Looks like we have nothing to do here. */
147 SYMBOL_VERSION (myoiTargetFptrTableRegister
, 1) (void *table
,
151 MYOTRACE ("myoiTargetFptrTableRegister");