1 /*
2  * Copyright (c) 2017, NVIDIA CORPORATION.  All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 
18 /* this is the dummy version of xfer_heap.c */
19 
20 #include "fioMacros.h"
21 
22 extern char *sbrk(int);
23 
24 /* sbrk */
25 
26 char *
__fort_sbrk(int len)27 __fort_sbrk(int len)
28 {
29   return (sbrk(len));
30 }
31 
32 /* verify block is in global heap */
33 
34 void
__fort_verghp(char * adr,int len,char * msg)35 __fort_verghp(char *adr, int len, char *msg)
36 {
37 }
38 
39 /* init global heap comm */
40 
41 void
__fort_hinit(void)42 __fort_hinit(void)
43 {
44 }
45 
46 /* send */
47 
48 int
__fort_hsend(int cpu,struct ents * e)49 __fort_hsend(int cpu, struct ents *e)
50 {
51   return (0);
52 }
53 
54 /* recv */
55 
56 int
__fort_hrecv(int cpu,struct ents * e)57 __fort_hrecv(int cpu, struct ents *e)
58 {
59   return (0);
60 }
61