Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 arch/x86/include/arch/stack-frame.h |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/arch/x86/include/arch/stack-frame.h 
b/arch/x86/include/arch/stack-frame.h
index 1c3154b..99d2f3e 100644
--- a/arch/x86/include/arch/stack-frame.h
+++ b/arch/x86/include/arch/stack-frame.h
@@ -14,6 +14,8 @@ struct native_stack_frame {
        unsigned long args[0];
 } __attribute__((packed));
 
+#ifdef CONFIG_X86_32
+
 struct jit_stack_frame {
        void *prev; /* previous stack frame link */
        unsigned long old_ebx;
@@ -23,6 +25,21 @@ struct jit_stack_frame {
        unsigned long args[0];
 } __attribute__((packed));
 
+#else
+
+struct jit_stack_frame {
+       void *prev; /* previous stack frame link */
+       unsigned long old_r15;
+       unsigned long old_r14;
+       unsigned long old_r13;
+       unsigned long old_r12;
+       unsigned long old_rbx;
+       unsigned long return_address;
+       unsigned long args[0];
+} __attribute__((packed));
+
+#endif /* CONFIG_X86_32 */
+
 unsigned long frame_local_offset(struct vm_method *, struct expression *);
 unsigned long slot_offset(struct stack_slot *slot);
 unsigned long frame_locals_size(struct stack_frame *frame);
-- 
1.6.0.6


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to