0
|
1 /*
|
|
2
|
|
3 Package: dyncall
|
|
4 Library: dyncall
|
|
5 File: dyncall/dyncall_callvm_sparc.h
|
|
6 Description: Call VM for sparc processor architecture.
|
|
7 License:
|
|
8
|
281
|
9 Copyright (c) 2011-2018 Daniel Adler <dadler@uni-goettingen.de>
|
0
|
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
|
|
27 #ifndef DYNCALL_CALLVM_SPARC_H
|
|
28 #define DYNCALL_CALLVM_SPARC_H
|
|
29
|
|
30 #include "dyncall_callvm.h"
|
|
31 #include "dyncall_vector.h"
|
|
32
|
|
33 /* NOTE: if something changes here, update offset marks in dyncall_call_sparc.S */
|
|
34
|
|
35 typedef struct DCCallVM_sparc_ DCCallVM_sparc;
|
|
36 struct DCCallVM_sparc_
|
|
37 {
|
|
38 DCCallVM mInterface; /* 8 bytes (vtable,errorid) */
|
|
39 DCVecHead mVecHead; /* 8 bytes (max,size) */
|
|
40 };
|
|
41
|
|
42 #endif /* DYNCALL_CALLVM_SPARC_H */
|
|
43
|