FreeBSD/ppc host patches
cover FreeBSD/ppc host patches
Hi!
These are patches submitted by Andreas Tobler to get qemu working on
FreeBSD/ppc hosts. There is one other patch to ppc.ld that's needed because of FreeBSD's older binutils that probably should stay FreeBSD-specific, here is the link to it in FreeBSD ports:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/qemu-devel/files/patch-ppc.ld
1. Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
2. Add FreeBSD/ppc host ucontext definitions.
3. Add FreeBSD/ppc host TCG_TARGET_CALL_{ALIGN_ARGS,STACK_OFFSET} definitions.
PATCH 1/3 Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
Submitted by: Andreas Tobler <[email protected]>
cache-utils.c +17 -0
@@ -57,6 +57,23 @@ }#endif +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include <stdio.h> +#include <sys/types.h> +#include <sys/sysctl.h> + +static void ppc_init_cacheline_sizes (void ) +{ +size_t len =4 ; +unsigned cacheline; + +sysctlbyname ("machdep.cacheline_size" , &cacheline, &len,NULL ,0 ); + + qemu_cache_conf.dcache_bsize = cacheline; + qemu_cache_conf.icache_bsize = cacheline; +} +#endif +#ifdef __linux__void qemu_cache_utils_init (char **envp) {
Re: [Qemu-devel] [PATCH 1/3] Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
Quoted 11 lines · Juergen Lock
Submitted by: Andreas Tobler <[email protected]>
Signed-off-by Juergen Lock <[email protected]>cache-utils.c +1
-0@@ -57,6 +57,23 @@ }#endif +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
cache-utils.c line 70
Quoted 10 lines
cache-utils.c +10
-0+#include <stdio.h> +#include <sys/types.h> +#include <sys/sysctl.h> + +static void ppc_init_cacheline_sizes (void ) +{ +size_t len =4 ; +unsigned cacheline; + +sysctlbyname ("machdep.cacheline_size" , &cacheline, &len,NULL ,0 );
Error handling missing.
Quoted 11 lines
cache-utils.c +6
-0+ + qemu_cache_conf.dcache_bsize = cacheline; + qemu_cache_conf.icache_bsize = cacheline; +} +#endif + #ifdef __linux__void qemu_cache_utils_init (char **envp) {
Signature · 1 line
mailto:[email protected]
Re: [Qemu-devel] [PATCH 1/3] Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
Quoted 12 lines · malc
Quoted 10 lines · Juergen Lock
Submitted by: Andreas Tobler <[email protected]>
Signed-off-by Juergen Lock <[email protected]>cache-utils.c +0
-0@@ -57,6 +57,23 @@ }#endif
Quoted 13 lines
cache-utils.c line 70
Quoted 11 lines
cache-utils.c +11
-0+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include <stdio.h> +#include <sys/types.h> +#include <sys/sysctl.h> + +static void ppc_init_cacheline_sizes (void ) +{ +size_t len =4 ; +unsigned cacheline; + +sysctlbyname ("machdep.cacheline_size" , &cacheline, &len,NULL ,0 );Error handling missing.
Mmh I suspect thats a sysctl that simply can't fail but of course checking still doesn't hurt:
Submitted by: Andreas Tobler <[email protected]>
cache-utils.c +21 -0
@@ -57,6 +57,27 @@ static void ppc_init_cacheline_sizes(voi }#endif +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include <stdio.h> +#include <sys/types.h> +#include <sys/sysctl.h> + +static void ppc_init_cacheline_sizes (void ) +{ +size_t len =4 ; +unsigned cacheline; + +if (sysctlbyname ("machdep.cacheline_size" , &cacheline, &len,NULL ,0 )) { +fprintf (stderr,"sysctlbyname machdep.cacheline_size failed: %s\n" , +strerror (errno)); +exit (1 ); + } + + qemu_cache_conf.dcache_bsize = cacheline; + qemu_cache_conf.icache_bsize = cacheline; +} +#endif +#ifdef __linux__void qemu_cache_utils_init (char **envp) {
Re: [Qemu-devel] [PATCH 1/3] Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
In reply to Juergen Lockcache-utils.c line 60
Quoted 11 lines · Juergen Lock
Submitted by: Andreas Tobler <[email protected]>
Signed-off-by Juergen Lock <[email protected]>cache-utils.c +1
-0@@ -57,6 +57,23 @@ }#endif +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
__FreeBSD_kernel__ is for something like Debian/kFreeBSD?
Quoted 21 lines
cache-utils.c +16
-0+#include <stdio.h> +#include <sys/types.h> +#include <sys/sysctl.h> + +static void ppc_init_cacheline_sizes (void ) +{ +size_t len =4 ; +unsigned cacheline; + +sysctlbyname ("machdep.cacheline_size" , &cacheline, &len,NULL ,0 ); + + qemu_cache_conf.dcache_bsize = cacheline; + qemu_cache_conf.icache_bsize = cacheline; +} +#endif +#ifdef __linux__void qemu_cache_utils_init (char **envp) {
Signature · 1 line
mailto:[email protected]
Re: [Qemu-devel] [PATCH 1/3] Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
Quoted 12 lines · malc
Quoted 10 lines · Juergen Lock
Submitted by: Andreas Tobler <[email protected]>
Signed-off-by Juergen Lock <[email protected]>cache-utils.c +0
-0@@ -57,6 +57,23 @@ }#endif
Quoted 3 lines
cache-utils.c line 60
Quoted 1 line
cache-utils.c +1
-0+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
__FreeBSD_kernel__is for something like Debian/kFreeBSD?
Yep, it is. Support for it was added to qemu some time ago so I figured I should do the same.
Cheers,
Juergen
Re: [Qemu-devel] [PATCH 1/3] Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
Quoted 13 lines · Juergen Lock
Quoted 12 lines · malc
Quoted 10 lines · Juergen Lock
Submitted by: Andreas Tobler <[email protected]>
Signed-off-by Juergen Lock <[email protected]>cache-utils.c +0
-0@@ -57,6 +57,23 @@ }#endif
Quoted 7 lines
Quoted 3 lines
cache-utils.c line 60
Quoted 1 line
cache-utils.c +1
-0+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
__FreeBSD_kernel__is for something like Debian/kFreeBSD?Yep, it is. Support for it was added to qemu some time ago so I figured I should do the same.
Perhaps it would be better to avoid this particular ifdefery and just go with _CALL_SYSV, can you verify that:
~$ gcc -E -dM -x c /dev/null | grep SYSV
yields
#define _CALL_SYSV 1
on FreeBSD and Debian/kFreeBSD?
Signature · 1 line
mailto:[email protected]
Re: [Qemu-devel] [PATCH 1/3] Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
Quoted 26 lines · malc
Quoted 13 lines · Juergen Lock
Quoted 12 lines · malc
Quoted 10 lines · Juergen Lock
Submitted by: Andreas Tobler <[email protected]>
Signed-off-by Juergen Lock <[email protected]>cache-utils.c +0
-0@@ -57,6 +57,23 @@ }#endif Quoted 7 lines
Quoted 3 lines
cache-utils.c line 60
Quoted 1 line
cache-utils.c +1
-0+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
__FreeBSD_kernel__is for something like Debian/kFreeBSD?Yep, it is. Support for it was added to qemu some time ago so I figured I should do the same.
Perhaps it would be better to avoid this particular ifdefery and just go with
_CALL_SYSV, can you verify that:
Quoted 7 lines
~$ gcc -E -dM -x c
/dev/null| grep SYSVyields
#define
_CALL_SYSV1on FreeBSD and Debian/kFreeBSD?
Nope, not found on FreeBSD. (Also I would kinda doubt that sysctl is standardized?)
Cheers,
Juergen
Re: [Qemu-devel] [PATCH 1/3] Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
Quoted 29 lines · Juergen Lock
Quoted 28 lines · malc
Quoted 13 lines · Juergen Lock
Quoted 12 lines · malc
Quoted 10 lines · Juergen Lock
Submitted by: Andreas Tobler <[email protected]>
Signed-off-by Juergen Lock <[email protected]>cache-utils.c +0
-0@@ -57,6 +57,23 @@ }#endif Quoted 7 lines
Quoted 3 lines
cache-utils.c line 60
Quoted 1 line
cache-utils.c +1
-0+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
__FreeBSD_kernel__is for something like Debian/kFreeBSD?Yep, it is. Support for it was added to qemu some time ago so I figured I should do the same.
Perhaps it would be better to avoid this particular ifdefery and just go with
_CALL_SYSV, can you verify that:~$ gcc -E -dM -x c
/dev/null| grep SYSV
Quoted 8 lines
Quoted 5 lines
yields
#define
_CALL_SYSV1on FreeBSD and Debian/kFreeBSD?
Nope, not found on FreeBSD. (Also I would kinda doubt that sysctl is standardized?)
_CALL_SYSV means that calling convention is SysV one, nothing to do with sysctl, and i wanted you/patch author to run it on FreeBSD/PPC...
Signature · 1 line
mailto:[email protected]
[Qemu-devel] Re: [PATCH 1/3] Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
Quoted 6 lines
Quoted 3 lines
Nope, not found on FreeBSD. (Also I would kinda doubt that sysctl is standardized?)
_CALL_SYSVmeans that calling convention is SysV one, nothing to do with sysctl, and i wanted you/patch author to run it on FreeBSD/PPC...
Yes, one of _CALL_SYSV, _CALL_AIX, _CALL_DARWIN is always defined by GCC on PPC. Don't know about other compilers.
Paolo
[Qemu-devel] Re: [PATCH 1/3] Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
Quoted 9 lines · Paolo Bonzini
Quoted 6 lines
Quoted 3 lines
Nope, not found on FreeBSD. (Also I would kinda doubt that sysctl is standardized?)
_CALL_SYSVmeans that calling convention is SysV one, nothing to do with sysctl, and i wanted you/patch author to run it on FreeBSD/PPC...Yes, one of
_CALL_SYSV,_CALL_AIX,_CALL_DARWINis always defined by GCC on PPC. Don't know about other compilers.
Aaah, now I understand, malc meant this patch:
[PATCH 3/3] Add FreeBSD/ppc host
TCG_TARGET_CALL_{ALIGN_ARGS,STACK_OFFSET} definitions.
not the ppc_init_cacheline_sizes() one, right? :)
Anyway, I'll pass the question on...
Juergen
[Qemu-devel] Re: [PATCH 1/3] Add FreeBSD/ppc host ppc_init_cacheline_sizes() implementation.
Quoted 11 lines · Juergen Lock
Quoted 9 lines · Paolo Bonzini
Quoted 6 lines
Quoted 3 lines
Nope, not found on FreeBSD. (Also I would kinda doubt that sysctl is standardized?)
_CALL_SYSVmeans that calling convention is SysV one, nothing to do with sysctl, and i wanted you/patch author to run it on FreeBSD/PPC...Yes, one of
_CALL_SYSV,_CALL_AIX,_CALL_DARWINis always defined by GCC on PPC. Don't know about other compilers.
Quoted 6 lines
Aaah, now I understand, malc meant this patch:
[PATCH 3/3] Add FreeBSD/ppc host
TCG_TARGET_CALL_{ALIGN_ARGS,STACK_OFFSET} definitions.
not theppc_init_cacheline_sizes()one, right? :)Anyway, I'll pass the question on...
Yup, confirmed, _CALL_SYSV is defined on FreeBSD/ppc.
PATCH 2/3 Add FreeBSD/ppc host ucontext definitions.
In reply to Juergen LockSubmitted by: Andreas Tobler <[email protected]>
cpu-exec.c +18 -0
@@ -933,6 +933,20 @@# define TRAP_sig (context) REG_sig(trap, context)#endif /* linux */ +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include <ucontext.h> +# define IAR_sig (context) ((context)->uc_mcontext.mc_srr0) +# define MSR_sig (context) ((context)->uc_mcontext.mc_srr1) +# define CTR_sig (context) ((context)->uc_mcontext.mc_ctr) +# define XER_sig (context) ((context)->uc_mcontext.mc_xer) +# define LR_sig (context) ((context)->uc_mcontext.mc_lr) +# define CR_sig (context) ((context)->uc_mcontext.mc_cr) +/* Exception Registers access */ +# define DAR_sig (context) ((context)->uc_mcontext.mc_dar) +# define DSISR_sig (context) ((context)->uc_mcontext.mc_dsisr) +# define TRAP_sig (context) ((context)->uc_mcontext.mc_exc) +#endif /* __FreeBSD__|| __FreeBSD_kernel__ */ +#ifdef __APPLE__# include <sys/ucontext.h> typedef struct ucontext SIGCONTEXT ;
@@ -962,7 +976,11 @@ void *puc) {siginfo_t *info = pinfo; +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +ucontext_t *uc = puc; +#else struct ucontext *uc = puc; +#endif unsigned long pc;int is_write;
PATCH 3/3 Add FreeBSD/ppc host TCG_TARGET_CALL_{ALIGN_ARGS,STACK_OFFSET} definitions.
In reply to Juergen LockSubmitted by: Andreas Tobler <[email protected]>
tcg/ppc/tcg-target.h +1 -1
@@ -69,7 +69,7 @@#define TCG_TARGET_CALL_STACK_OFFSET 24#elif defined _AIX#define TCG_TARGET_CALL_STACK_OFFSET 52 -#elif defined __linux__ +#elif defined __linux__ || defined __FreeBSD__ || defined(__FreeBSD_kernel__)#define TCG_TARGET_CALL_ALIGN_ARGS 1#define TCG_TARGET_CALL_STACK_OFFSET 8#else
[Qemu-devel] Re: [PATCH 3/3] Add FreeBSD/ppc host TCG_TARGET_CALL_{ALIGN_ARGS,STACK_OFFSET} definitions.
Quoted 7 lines · Juergen Lock
Submitted by: Andreas Tobler <[email protected]>
Signed-off-by Juergen Lock <[email protected]>
tcg/ppc/tcg-target.h line 75
Quoted 8 lines
tcg/ppc/tcg-target.h +1
-1@@ -69,7 +69,7 @@#define TCG_TARGET_CALL_STACK_OFFSET 24#elif defined _AIX#define TCG_TARGET_CALL_STACK_OFFSET 52 -#elif defined __linux__ +#elif defined __linux__ || defined __FreeBSD__ || defined(__FreeBSD_kernel__)#define TCG_TARGET_CALL_ALIGN_ARGS 1#define TCG_TARGET_CALL_STACK_OFFSET 8#else
New version using ppc _CALL_* definitions after malc's comments:
tcg/ppc/tcg-target.h +3 -3
@@ -65,11 +65,11 @@ enum {/* used for function call generation */ #define TCG_REG_CALL_STACK TCG_REG_R1#define TCG_TARGET_STACK_ALIGN 16 -#if defined __APPLE__ +#if defined _CALL_DARWIN#define TCG_TARGET_CALL_STACK_OFFSET 24 -#elif defined _AIX +#elif defined _CALL_AIX#define TCG_TARGET_CALL_STACK_OFFSET 52 -#elif defined __linux__ +#elif defined _CALL_SYSV#define TCG_TARGET_CALL_ALIGN_ARGS 1#define TCG_TARGET_CALL_STACK_OFFSET 8#else
Re: [Qemu-devel] Re: [PATCH 3/3] Add FreeBSD/ppc host TCG_TARGET_CALL_{ALIGN_ARGS, STACK_OFFSET} definitions.
Am 16.02.2010 um 22:14 schrieb Juergen Lock:
Quoted 25 lines · Juergen Lock
Quoted 15 lines
Submitted by: Andreas Tobler <[email protected]>
Signed-off-by Juergen Lock <[email protected]>tcg/ppc/tcg-target.h +1
-1@@ -69,7 +69,7 @@#define TCG_TARGET_CALL_STACK_OFFSET 24#elif defined _AIX#define TCG_TARGET_CALL_STACK_OFFSET 52 -#elif defined __linux__ +#elif defined __linux__ || defined __FreeBSD__ || defined(__FreeBSD_kernel__)#define TCG_TARGET_CALL_ALIGN_ARGS 1#define TCG_TARGET_CALL_STACK_OFFSET 8Quoted 1 line
#else
New version using ppc _CALL_* definitions after malc's comments:
Signed-off-by Juergen Lock <[email protected]>
tcg/ppc/tcg-target.h enum { · line 69
Quoted 6 lines
tcg/ppc/tcg-target.h +1
-1@@ -65,11 +65,11 @@ enum {/* used for function call generation */ #define TCG_REG_CALL_STACK TCG_REG_R1#define TCG_TARGET_STACK_ALIGN 16 -#if defined __APPLE__ +#if defined _CALL_DARWIN#define TCG_TARGET_CALL_STACK_OFFSET 24
5da79c86a3744e3a901c7986c109dd06951befd2 broke compilation on Mac OS X v10.5 ppc: Apparently _CALL_DARWIN is not defined, so it runs into the #else.
Andreas
Quoted 10 lines
tcg/ppc/tcg-target.h +2
-2-#elif defined _AIX +#elif defined _CALL_AIX#define TCG_TARGET_CALL_STACK_OFFSET 52 -#elif defined __linux__ +#elif defined _CALL_SYSV#define TCG_TARGET_CALL_ALIGN_ARGS 1#define TCG_TARGET_CALL_STACK_OFFSET 8#else
Re: [Qemu-devel] Re: [PATCH 3/3] Add FreeBSD/ppc host TCG_TARGET_CALL_{ALIGN_ARGS,STACK_OFFSET} definitions.
Quoted 25 lines · Andreas F?rber
Am 16.02.2010 um 22:14 schrieb Juergen Lock:
Quoted 22 lines · Juergen Lock
Quoted 15 lines
Submitted by: Andreas Tobler <[email protected]>
Signed-off-by Juergen Lock <[email protected]>tcg/ppc/tcg-target.h +1
-1@@ -69,7 +69,7 @@#define TCG_TARGET_CALL_STACK_OFFSET 24#elif defined _AIX#define TCG_TARGET_CALL_STACK_OFFSET 52 -#elif defined __linux__ +#elif defined __linux__ || defined __FreeBSD__ || defined(__FreeBSD_kernel__)#define TCG_TARGET_CALL_ALIGN_ARGS 1#define TCG_TARGET_CALL_STACK_OFFSET 8Quoted 1 line
#else
New version using ppc _CALL_* definitions after malc's comments:
Signed-off-by Juergen Lock <[email protected]>
Quoted 12 lines
tcg/ppc/tcg-target.h enum { · line 69
Quoted 9 lines
tcg/ppc/tcg-target.h +1
-1@@ -65,11 +65,11 @@ enum {/* used for function call generation */ #define TCG_REG_CALL_STACK TCG_REG_R1#define TCG_TARGET_STACK_ALIGN 16 -#if defined __APPLE__ +#if defined _CALL_DARWIN#define TCG_TARGET_CALL_STACK_OFFSET 24
5da79c86a3744e3a901c7986c109dd06951befd2broke compilation on Mac OS X v10.5
ppc: Apparently_CALL_DARWINis not defined, so it runs into the #else.
Which gcc version?
Quoted 13 lines
Andreas
Quoted 9 lines
tcg/ppc/tcg-target.h +2
-2-#elif defined _AIX +#elif defined _CALL_AIX#define TCG_TARGET_CALL_STACK_OFFSET 52 -#elif defined __linux__ +#elif defined _CALL_SYSV#define TCG_TARGET_CALL_ALIGN_ARGS 1#define TCG_TARGET_CALL_STACK_OFFSET 8#else
Signature · 1 line
mailto:[email protected]
Re: [Qemu-devel] Re: [PATCH 3/3] Add FreeBSD/ppc host TCG_TARGET_CALL_{ALIGN_ARGS, STACK_OFFSET} definitions.
Am 06.04.2010 um 19:14 schrieb malc:
Quoted 6 lines · Andreas F?rber
Quoted 3 lines
5da79c86a3744e3a901c7986c109dd06951befd2broke compilation on Mac OS X v10.5
ppc: Apparently_CALL_DARWINis not defined, so it runs into the #else.Which gcc version?
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Andreas
Re: [Qemu-devel] Re: [PATCH 3/3] Add FreeBSD/ppc host TCG_TARGET_CALL_{ALIGN_ARGS,STACK_OFFSET} definitions.
Quoted 11 lines · Andreas F?rber
Am 06.04.2010 um 19:14 schrieb malc:
Quoted 7 lines · Andreas F?rber
Quoted 4 lines
5da79c86a3744e3a901c7986c109dd06951befd2broke compilation on Mac OS X v10.5
ppc: Apparently_CALL_DARWINis not defined, so it runs into the #else.Which gcc version?
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
I guess your only option is to cook up a patch since i don't have development stuff on my Mac OS X (and i'm reluctant on reverting the aforementioned commit)
Signature · 1 line
mailto:[email protected]
PATCH 1/1 TCG: Fix Darwin/ppc calling convention recognition
5da79c86a3744e3a901c7986c109dd06951befd2 broke compilation on Mac OS X v10.5 ppc. Apple's GCC 4.0.1 does not define _CALL_DARWIN. Recognize __APPLE__ again as well.
---
Been using a similar patch for some time but apparently hadn't posted it yet... Together with one of Cam's KVM-related patches this fixes the build for me.
Regards,
Andreas
tcg/ppc/tcg-target.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tcg/ppc/tcg-target.h +1 -1
@@ -65,7 +65,7 @@ enum {/* used for function call generation */ #define TCG_REG_CALL_STACK TCG_REG_R1#define TCG_TARGET_STACK_ALIGN 16 -#if defined _CALL_DARWIN +#if defined _CALL_DARWIN || defined __APPLE__#define TCG_TARGET_CALL_STACK_OFFSET 24#elif defined _CALL_AIX#define TCG_TARGET_CALL_STACK_OFFSET 52
Signature · 1 line
1.7.0.4
[Qemu-devel] Re: [PATCH] TCG: Fix Darwin/ppc calling convention recognition
Quoted 3 lines · Andreas F?rber
5da79c86a3744e3a901c7986c109dd06951befd2broke compilation on Mac OS X v10.5 ppc. Apple's GCC 4.0.1 does not define_CALL_DARWIN. Recognize__APPLE__again as well.
Thanks. Applied.
Quoted 30 lines
Signed-off-by Andreas F?rber <[email protected]>Cc malc <[email protected]>Cc Paolo Bonzini <[email protected]>Cc J?rgen Lock <[email protected]>Cc Stefan Weil <[email protected]>---
Been using a similar patch for some time but apparently hadn't posted it yet... Together with one of Cam's KVM-related patches this fixes the build for me.Regards,
Andreastcg/ppc/tcg-target.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)tcg/ppc/tcg-target.h +1
-1@@ -65,7 +65,7 @@ enum {/* used for function call generation */ #define TCG_REG_CALL_STACK TCG_REG_R1#define TCG_TARGET_STACK_ALIGN 16 -#if defined _CALL_DARWIN +#if defined _CALL_DARWIN || defined __APPLE__#define TCG_TARGET_CALL_STACK_OFFSET 24#elif defined _CALL_AIX#define TCG_TARGET_CALL_STACK_OFFSET 52
Signature · 1 line
mailto:[email protected]