0
|
1 /*
|
|
2
|
|
3 Package: dyncall
|
|
4 Library: dyncall
|
|
5 File: dyncall/dyncall_callvm_ppc64.h
|
|
6 Description:
|
|
7 License:
|
|
8
|
|
9 Copyright (c) 2014-2015 Masanori Mitsugi <mitsugi@linux.vnet.ibm.com>
|
|
10
|
|
11 Permission to use, copy, modify, and distribute this software for any
|
|
12 purpose with or without fee is hereby granted, provided that the above
|
|
13 copyright notice and this permission notice appear in all copies.
|
|
14
|
|
15 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
16 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
17 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
18 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
19 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
20 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
21 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
22
|
|
23 */
|
|
24
|
|
25
|
|
26 #ifndef DYNCALL_CALLVM_PPC64_H
|
|
27 #define DYNCALL_CALLVM_PPC64_H
|
|
28
|
|
29 /*
|
|
30
|
|
31 dyncall callvm for 64bit ppc architectures
|
|
32
|
|
33 SUPPORTED CALLING CONVENTIONS
|
|
34 standard and ... (ellipsis) calls
|
|
35
|
|
36 REVISION
|
|
37 2014/08/07 initial
|
|
38
|
|
39 */
|
|
40
|
|
41
|
|
42 #include "dyncall_call_ppc64.h"
|
|
43 #include "dyncall_callvm.h"
|
|
44 #include "dyncall_vector.h"
|
|
45
|
|
46 typedef struct DCCallVM_ppc64_ DCCallVM_ppc64;
|
|
47
|
|
48 struct DCCallVM_ppc64_
|
|
49 {
|
|
50 DCCallVM mInterface;
|
|
51 int mIntRegs;
|
|
52 int mFloatRegs;
|
|
53 struct DCRegData_ppc64_ mRegData;
|
|
54 DCVecHead mVecHead;
|
|
55 };
|
|
56
|
|
57 DCCallVM* dcNewCallVM_ppc64(DCsize size);
|
|
58
|
|
59 #endif /* DYNCALL_CALLVM_PPC64_H */
|
|
60
|