linker trying to "fixup" the code.
+2013-12-16 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Make grub_xen_hypercall on i386 cdecl rather than stdcall to avoid
+ linker trying to "fixup" the code.
+
2013-12-16 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/x86_64/xen/startup.S: Align stack.
popl %edi
popl %esi
popl %ebp
- retl $16
+ ret
grub_uint32_t a1, grub_uint32_t a2,
grub_uint32_t a3, grub_uint32_t a4,
grub_uint32_t a5)
-__attribute__ ((regparm (3), stdcall));
+__attribute__ ((regparm (3), cdecl));
static inline int
grub_xen_sched_op (int cmd, void *arg)